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 edgexfoundry#801
closes edgexfoundry#837

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 7563e5d commit 33664fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ test-template:
make -C ./app-service-template test

test-sdk:
go mod tidy
$(GO) test ./... -coverprofile=coverage.out ./...
$(GO) vet ./...
gofmt -l .
Expand Down
2 changes: 1 addition & 1 deletion app-service-template/res/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ RetryWaitPeriod = "1s"
AuthType = 'X-Vault-Token'

[Clients]
[Clients.edgex-core-data]
[Clients.core-data]
Protocol = 'http'
Host = 'localhost'
Port = 48080
Expand Down
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ require (
github.com/gorilla/mux v1.8.0
github.com/stretchr/testify v1.7.0
)

replace (
github.com/edgexfoundry/go-mod-bootstrap/v2 => ../MODS/go-mod-bootstrap
github.com/edgexfoundry/go-mod-core-contracts/v2 => ../MODS/go-mod-core-contracts
)

0 comments on commit 33664fc

Please sign in to comment.