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 (#253)

closes #252
closes #235

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

Signed-off-by: lenny <[email protected]>
  • Loading branch information
Lenny Goodell authored May 18, 2021
1 parent adb0691 commit 794145f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ WORKDIR /app

COPY go.mod .
RUN go mod download
RUN go mod tidy

COPY . .

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/edgexfoundry/app-service-configurable

go 1.16

require github.com/edgexfoundry/app-functions-sdk-go/v2 v2.0.0-dev.58
require github.com/edgexfoundry/app-functions-sdk-go/v2 v2.0.0-dev.60
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 794145f

Please sign in to comment.