From d28f18974b432dd84889a493008cb9cbb2d03910 Mon Sep 17 00:00:00 2001 From: lenny Date: Tue, 6 Apr 2021 14:26:32 -0700 Subject: [PATCH] refactor: Switch to 2.0 Consul path closes #768 BREAKING CHANGE: Consul configuration now under the `/2.0/` path Signed-off-by: lenny --- go.mod | 3 ++- internal/constants.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index b7df95519..254111139 100644 --- a/go.mod +++ b/go.mod @@ -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 @@ -16,3 +16,4 @@ require ( github.com/gorilla/mux v1.8.0 github.com/stretchr/testify v1.7.0 ) + diff --git a/internal/constants.go b/internal/constants.go index 08b1ed9a3..3a057afc6 100644 --- a/internal/constants.go +++ b/internal/constants.go @@ -21,7 +21,7 @@ import ( ) const ( - ConfigRegistryStem = "edgex/appservices/1.0/" + ConfigRegistryStem = "edgex/appservices/" CorrelationHeaderKey = "X-Correlation-ID" ApiTriggerRoute = contracts.ApiBase + "/trigger"