Skip to content

Commit

Permalink
refactor: Update for new service key names and overrides for hyphen t…
Browse files Browse the repository at this point in the history
…o underscore

closes #252
closes #235

BREAKING CHANGE: Service key names used in configuration have changed.

Signed-off-by: lenny <[email protected]>
  • Loading branch information
lenny committed May 13, 2021
1 parent adb0691 commit 9e3e658
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ module github.com/edgexfoundry/app-service-configurable
go 1.16

require github.com/edgexfoundry/app-functions-sdk-go/v2 v2.0.0-dev.58

replace (
github.com/edgexfoundry/app-functions-sdk-go/v2 => ../app-functions-sdk-go
github.com/edgexfoundry/go-mod-bootstrap/v2 => ../MODS/go-mod-bootstrap
github.com/edgexfoundry/go-mod-core-contracts/v2 => ../MODS/go-mod-core-contracts
)
2 changes: 1 addition & 1 deletion res/functional-tests/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Port = 8500
Type = "consul"

[Clients]
[Clients.edgex-core-data]
[Clients.core-data]
Protocol = "http"
Host = "localhost"
Port = 48080
Expand Down
2 changes: 1 addition & 1 deletion res/http-export/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ RetryWaitPeriod = "1s"
AuthType = 'X-Vault-Token'

[Clients]
[Clients.edgex-core-data]
[Clients.core-data]
Protocol = "http"
Host = "localhost"
Port = 48080
Expand Down
2 changes: 1 addition & 1 deletion res/mqtt-export/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ RetryWaitPeriod = "1s"
AuthType = 'X-Vault-Token'

[Clients]
[Clients.edgex-core-data]
[Clients.core-data]
Protocol = "http"
Host = "localhost"
Port = 48080
Expand Down
2 changes: 1 addition & 1 deletion res/push-to-core/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Port = 8500
Type = "consul"

[Clients]
[Clients.edgex-core-data]
[Clients.core-data]
Protocol = "http"
Host = "localhost"
Port = 48080
Expand Down
2 changes: 1 addition & 1 deletion res/rules-engine/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RetryWaitPeriod = "1s"
AuthType = 'X-Vault-Token'

[Clients]
[Clients.edgex-core-data]
[Clients.core-data]
Protocol = "http"
Host = "localhost"
Port = 48080
Expand Down
2 changes: 1 addition & 1 deletion res/sample/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ RetryWaitPeriod = "1s"
AuthType = 'X-Vault-Token'

[Clients]
[Clients.edgex-core-data]
[Clients.core-data]
Protocol = "http"
Host = "localhost"
Port = 48080
Expand Down

0 comments on commit 9e3e658

Please sign in to comment.