Skip to content

Commit

Permalink
refactor: Switch to 2.0 Consul path (#782)
Browse files Browse the repository at this point in the history
closes #768

BREAKING CHANGE: Consul configuration now under the `/2.0/` path

Signed-off-by: lenny <[email protected]>
  • Loading branch information
lenny-goodell authored Apr 6, 2021
1 parent a3b28f5 commit da3d051
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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.2
github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0-dev.28
github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0-dev.29
github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.62
github.com/edgexfoundry/go-mod-messaging/v2 v2.0.0-dev.7
github.com/edgexfoundry/go-mod-registry/v2 v2.0.0-dev.4
Expand All @@ -16,3 +16,4 @@ require (
github.com/gorilla/mux v1.8.0
github.com/stretchr/testify v1.7.0
)

2 changes: 1 addition & 1 deletion internal/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
)

const (
ConfigRegistryStem = "edgex/appservices/1.0/"
ConfigRegistryStem = "edgex/appservices/"
CorrelationHeaderKey = "X-Correlation-ID"

ApiTriggerRoute = contracts.ApiBase + "/trigger"
Expand Down

0 comments on commit da3d051

Please sign in to comment.