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

closes #801
closes #837

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

Signed-off-by: lenny <[email protected]>
  • Loading branch information
Lenny Goodell authored May 17, 2021
1 parent 7563e5d commit d014dc0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
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/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go 1.15

require (
github.com/edgexfoundry/app-functions-sdk-go/v2 v2.0.0-dev.52
github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.83
github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.90
github.com/google/uuid v1.2.0
github.com/stretchr/testify v1.7.0
)
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
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ require (
bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690
github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9
github.com/eclipse/paho.mqtt.golang v1.3.4
github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0-dev.52
github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.83
github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0-dev.54
github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.90
github.com/edgexfoundry/go-mod-messaging/v2 v2.0.0-dev.13
github.com/edgexfoundry/go-mod-registry/v2 v2.0.0-dev.7
github.com/fxamacker/cbor/v2 v2.2.0
Expand Down

0 comments on commit d014dc0

Please sign in to comment.