diff --git a/README.md b/README.md index 63df616..b8d81e1 100644 --- a/README.md +++ b/README.md @@ -182,8 +182,7 @@ Currently, telecommunications giants and startups, publishing new software daily
leandro@leandro-laptop:~$ go run oktopus/backend/services/mochi/cmd/main.go -redis "127.0.0.1:6379"+
+leandro@leandro-laptop:~$ go run oktopus/backend/services/controller/cmd/oktopus/main.go -u root -P root -mongo "mongodb://127.0.0.1:27017"+
+leandro@leandro-laptop:~$ cd oktopus/backend/services/socketio && npm i && npm start+
+leandro@leandro-laptop:~$ cd oktopus/frontend && npm i && npm run dev+
+"CertificateNumberOfEntries": "0", +"Controller.1.Alias": "", +"Controller.1.AssignedRole": "", +"Controller.1.BootParameterNumberOfEntries": "0", +"Controller.1.ControllerCode": "", +"Controller.1.Enable": "true", +"Controller.1.EndpointID": "oktopusController", +"Controller.1.InheritedRole": "Device.LocalAgent.ControllerTrust.Role.1", +"Controller.1.MTP.1.Alias": "", +"Controller.1.MTP.1.Enable": "true", +"Controller.1.MTP.1.MQTT.Reference": "Device.MQTT.Client.1", +"Controller.1.MTP.1.MQTT.Topic": "oktopus/v1/controller", +"Controller.1.MTP.1.Protocol": "MQTT", +"Controller.1.MTPNumberOfEntries": "1", +"Controller.1.PeriodicNotifInterval": "15", +"Controller.1.PeriodicNotifTime": "0001-01-01T00:00:00Z", +"Controller.1.ProvisioningCode": "", +"Controller.1.USPNotifRetryIntervalMultiplier": "2000", +"Controller.1.USPNotifRetryMinimumWaitInterval": "5", +"ControllerNumberOfEntries": "1", +"ControllerTrust.ChallengeNumberOfEntries": "0", +"ControllerTrust.CredentialNumberOfEntries": "0", +"ControllerTrust.Role.1.Alias": "cpe-1", +"ControllerTrust.Role.1.Enable": "true", +"ControllerTrust.Role.1.Name": "Full Access", +"ControllerTrust.Role.1.Permission.1.Alias": "cpe-1", +"ControllerTrust.Role.1.Permission.1.CommandEvent": "r-xn", +"ControllerTrust.Role.1.Permission.1.Enable": "true", +"ControllerTrust.Role.1.Permission.1.InstantiatedObj": "rw-n", +"ControllerTrust.Role.1.Permission.1.Obj": "rw-n", +"ControllerTrust.Role.1.Permission.1.Order": "0", +"ControllerTrust.Role.1.Permission.1.Param": "rw-n", +"ControllerTrust.Role.1.Permission.1.Targets": "Device.", +"ControllerTrust.Role.1.PermissionNumberOfEntries": "1", +"ControllerTrust.RoleNumberOfEntries": "2", +"EndpointID": "os::4851CF-000000000002", +"MTP.1.Alias": "", +"MTP.1.Enable": "false", +"MTP.1.MQTT.PublishQoS": "0", +"MTP.1.MQTT.Reference": "Device.MQTT.Client.1", +"MTP.1.MQTT.ResponseTopicConfigured": "oktopus/v1/controller", +"MTP.1.MQTT.ResponseTopicDiscovered": "oktopus/v1/agent/os::4851CF-000000000002", +"MTP.1.Protocol": "MQTT", +"MTP.1.Status": "Down", +"MTPNumberOfEntries": "1", +"RequestNumberOfEntries": "0", +"SoftwareVersion": "5.0.0", +"SubscriptionNumberOfEntries": "0", +"SupportedFingerprintAlgorithms": "SHA-1, SHA-224, SHA-256, SHA-384, SHA-512", +"SupportedProtocols": "STOMP, CoAP, MQTT, WebSocket", +"UpTime": "42" ++
+"Alias": "cpe-1", +"BrokerAddress": "10.100.250.4", +"BrokerPort": "1883", +"CleanSession": "false", +"CleanStart": "false", +"ClientID": "", +"ConnectRetryIntervalMultiplier": "2000", +"ConnectRetryMaxInterval": "30720", +"ConnectRetryTime": "5", +"Enable": "true", +"KeepAliveTime": "30", +"Name": "", +"Password": "", +"ProtocolVersion": "5.0", +"RequestProblemInfo": "false", +"RequestResponseInfo": "false", +"ResponseInformation": "oktopus/v1/agent/os::4851CF-000000000002", +"Status": "Connected", +"Subscription.1.Alias": "cpe-1", +"Subscription.1.Enable": "false", +"Subscription.1.QoS": "1", +"Subscription.1.Topic": "oktopus/v1/agent", +"SubscriptionNumberOfEntries": "1", +"TransportProtocol": "TCP/IP", +"Username": "test"+ -------------------------------------------------------------------------------------------------------------------------------------------------------- diff --git a/README.pt-br.md b/README.pt-br.md index df0bf97..bda4b97 100644 --- a/README.pt-br.md +++ b/README.pt-br.md @@ -182,7 +182,7 @@ Atualmente, gigantes das telecomunicações e startups, publicam software novo d
leandro@leandro-laptop:~$ cd oktopus/devops -leandro@leandro-laptop:~/oktopus/devops$ docker compose up +leandro@leandro-laptop:~/oktopus/devops$ docker run ++
leandro@leandro-laptop:~$ vá executar oktopus/backend/services/mochi/cmd/main.go -redis "127.0.0.1:6379"+
+leandro@leandro-laptop:~$ execute oktopus/backend/services/controller/cmd/oktopus/main.go -u root -P root -mongo "mongodb://127.0.0.1:27017"+
+leandro@leandro-laptop:~$ cd oktopus/backend/services/socketio && npm i && npm start+
+leandro@leandro-laptop:~$ cd oktopus/frontend && npm i && npm run dev+
+"CertificateNumberOfEntries": "0", +"Controller.1.Alias": "", +"Controller.1.AssignedRole": "", +"Controller.1.BootParameterNumberOfEntries": "0", +"Controller.1.ControllerCode": "", +"Controller.1.Enable": "true", +"Controller.1.EndpointID": "oktopusController", +"Controller.1.InheritedRole": "Device.LocalAgent.ControllerTrust.Role.1", +"Controller.1.MTP.1.Alias": "", +"Controller.1.MTP.1.Enable": "true", +"Controller.1.MTP.1.MQTT.Reference": "Device.MQTT.Client.1", +"Controller.1.MTP.1.MQTT.Topic": "oktopus/v1/controller", +"Controller.1.MTP.1.Protocol": "MQTT", +"Controller.1.MTPNumberOfEntries": "1", +"Controller.1.PeriodicNotifInterval": "15", +"Controller.1.PeriodicNotifTime": "0001-01-01T00:00:00Z", +"Controller.1.ProvisioningCode": "", +"Controller.1.USPNotifRetryIntervalMultiplier": "2000", +"Controller.1.USPNotifRetryMinimumWaitInterval": "5", +"ControllerNumberOfEntries": "1", +"ControllerTrust.ChallengeNumberOfEntries": "0", +"ControllerTrust.CredentialNumberOfEntries": "0", +"ControllerTrust.Role.1.Alias": "cpe-1", +"ControllerTrust.Role.1.Enable": "true", +"ControllerTrust.Role.1.Name": "Full Access", +"ControllerTrust.Role.1.Permission.1.Alias": "cpe-1", +"ControllerTrust.Role.1.Permission.1.CommandEvent": "r-xn", +"ControllerTrust.Role.1.Permission.1.Enable": "true", +"ControllerTrust.Role.1.Permission.1.InstantiatedObj": "rw-n", +"ControllerTrust.Role.1.Permission.1.Obj": "rw-n", +"ControllerTrust.Role.1.Permission.1.Order": "0", +"ControllerTrust.Role.1.Permission.1.Param": "rw-n", +"ControllerTrust.Role.1.Permission.1.Targets": "Device.", +"ControllerTrust.Role.1.PermissionNumberOfEntries": "1", +"ControllerTrust.RoleNumberOfEntries": "2", +"EndpointID": "os::4851CF-000000000002", +"MTP.1.Alias": "", +"MTP.1.Enable": "false", +"MTP.1.MQTT.PublishQoS": "0", +"MTP.1.MQTT.Reference": "Device.MQTT.Client.1", +"MTP.1.MQTT.ResponseTopicConfigured": "oktopus/v1/controller", +"MTP.1.MQTT.ResponseTopicDiscovered": "oktopus/v1/agent/os::4851CF-000000000002", +"MTP.1.Protocol": "MQTT", +"MTP.1.Status": "Down", +"MTPNumberOfEntries": "1", +"RequestNumberOfEntries": "0", +"SoftwareVersion": "5.0.0", +"SubscriptionNumberOfEntries": "0", +"SupportedFingerprintAlgorithms": "SHA-1, SHA-224, SHA-256, SHA-384, SHA-512", +"SupportedProtocols": "STOMP, CoAP, MQTT, WebSocket", +"UpTime": "42"
+"Alias": "cpe-1", +"BrokerAddress": "10.100.250.4", +"BrokerPort": "1883", +"CleanSession": "false", +"CleanStart": "false", +"ClientID": "", +"ConnectRetryIntervalMultiplier": "2000", +"ConnectRetryMaxInterval": "30720", +"ConnectRetryTime": "5", +"Enable": "true", +"KeepAliveTime": "30", +"Name": "", +"Password": "", +"ProtocolVersion": "5.0", +"RequestProblemInfo": "false", +"RequestResponseInfo": "false", +"ResponseInformation": "oktopus/v1/agent/os::4851CF-000000000002", +"Status": "Connected", +"Subscription.1.Alias": "cpe-1", +"Subscription.1.Enable": "false", +"Subscription.1.QoS": "1", +"Subscription.1.Topic": "oktopus/v1/agent", +"SubscriptionNumberOfEntries": "1", +"TransportProtocol": "TCP/IP", +"Username": "test"+ --------------------------------------------------------------------------------------------------------------------------------------------------------