Skip to content

Commit

Permalink
fix: update default configurations
Browse files Browse the repository at this point in the history
Signed-off-by: Iain Anderson <[email protected]>
  • Loading branch information
iain-anderson committed Nov 2, 2022
1 parent 408407d commit 3806498
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 12 deletions.
34 changes: 28 additions & 6 deletions res/ip/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,45 @@
[Writable.Device]
[Writable.Device.Discovery]
Enabled = true
[Writable.InsecureSecrets]
[Writable.InsecureSecrets.DB]
path = "redisdb"
[Writable.InsecureSecrets.DB.Secrets]
username = ""
password = ""
[Writable.InsecureSecrets.MQTT]
path = "credentials"
[Writable.InsecureSecrets.MQTT.Secrets]
username = ""
password = ""
[Writable.Telemetry]
Interval = "30s"
PublishTopicPrefix = "edgex/telemetry" # /<service-name>/<metric-name> will be added to this Publish Topic prefix
[Writable.Telemetry.Metrics] # All service's metric names must be present in this list.
# Device SDK provided Service Metrics
EventsSent = false
ReadingsSent = false
# Common Security Service Metrics
SecuritySecretsRequested = false
SecuritySecretsStored = false
SecurityConsulTokensRequested = false
SecurityConsulTokenDuration = false

[Service]
ServerBindAddr = "0.0.0.0"
ServerBindAddr = "" # blank value defaults to hostname
Port = 59980
Labels = [ "BACnet" ]
StartupMsg = "BACnet started"
ReadMaxLimit = 256
StartupMsg = "BACnet device service started"
MaxRequestSize = 0
RequestTimeout = "5s"
HealthCheckInterval = "10s"

[Clients]
[Clients.core-data]
Host = "edgex-core-data"
Host = "localhost"
Port = 59880

[Clients.core-metadata]
Host = "edgex-core-metadata"
Host = "localhost"
Port = 59881

[Device]
Expand Down
34 changes: 28 additions & 6 deletions res/mstp/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,45 @@
[Writable.Device]
[Writable.Device.Discovery]
Enabled = true
[Writable.InsecureSecrets]
[Writable.InsecureSecrets.DB]
path = "redisdb"
[Writable.InsecureSecrets.DB.Secrets]
username = ""
password = ""
[Writable.InsecureSecrets.MQTT]
path = "credentials"
[Writable.InsecureSecrets.MQTT.Secrets]
username = ""
password = ""
[Writable.Telemetry]
Interval = "30s"
PublishTopicPrefix = "edgex/telemetry" # /<service-name>/<metric-name> will be added to this Publish Topic prefix
[Writable.Telemetry.Metrics] # All service's metric names must be present in this list.
# Device SDK provided Service Metrics
EventsSent = false
ReadingsSent = false
# Common Security Service Metrics
SecuritySecretsRequested = false
SecuritySecretsStored = false
SecurityConsulTokensRequested = false
SecurityConsulTokenDuration = false

[Service]
ServerBindAddr = "0.0.0.0"
ServerBindAddr = "" # blank value defaults to hostname
Port = 59980
Labels = [ "BACnet" ]
StartupMsg = "BACnet started"
ReadMaxLimit = 256
StartupMsg = "BACnet device service started"
MaxRequestSize = 0
RequestTimeout = "5s"
HealthCheckInterval = "10s"

[Clients]
[Clients.core-data]
Host = "edgex-core-data"
Host = "localhost"
Port = 59880

[Clients.core-metadata]
Host = "edgex-core-metadata"
Host = "localhost"
Port = 59881

[Device]
Expand Down

0 comments on commit 3806498

Please sign in to comment.