From 92a08d8491833cca218a98a35a97a97aac1912b3 Mon Sep 17 00:00:00 2001 From: ianmuchyri Date: Fri, 11 Aug 2023 15:33:44 +0300 Subject: [PATCH 1/2] Update bootstrapSDK constants Signed-off-by: ianmuchyri --- pkg/sdk/go/bootstrap.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/sdk/go/bootstrap.go b/pkg/sdk/go/bootstrap.go index 29ad278407..e9ab573684 100644 --- a/pkg/sdk/go/bootstrap.go +++ b/pkg/sdk/go/bootstrap.go @@ -14,11 +14,11 @@ import ( ) const ( - configsEndpoint = "configs" - bootstrapEndpoint = "bootstrap" - whitelistEndpoint = "state" - bootstrapCertsEndpoint = "configs/certs" - bootstrapConnEndpoint = "configs/connections" + configsEndpoint = "/things/configs" + bootstrapEndpoint = "/things/bootstrap" + whitelistEndpoint = "/things/state" + bootstrapCertsEndpoint = "/things/configs/certs" + bootstrapConnEndpoint = "/things/configs/connections" secureEndpoint = "secure" ) From 28958e9f35fa92bc5a1c31bf6f3ebec74b0b73ab Mon Sep 17 00:00:00 2001 From: ianmuchyri Date: Fri, 11 Aug 2023 15:46:55 +0300 Subject: [PATCH 2/2] Remove first slash Signed-off-by: ianmuchyri --- pkg/sdk/go/bootstrap.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/sdk/go/bootstrap.go b/pkg/sdk/go/bootstrap.go index e9ab573684..26a461a740 100644 --- a/pkg/sdk/go/bootstrap.go +++ b/pkg/sdk/go/bootstrap.go @@ -14,11 +14,11 @@ import ( ) const ( - configsEndpoint = "/things/configs" - bootstrapEndpoint = "/things/bootstrap" - whitelistEndpoint = "/things/state" - bootstrapCertsEndpoint = "/things/configs/certs" - bootstrapConnEndpoint = "/things/configs/connections" + configsEndpoint = "things/configs" + bootstrapEndpoint = "things/bootstrap" + whitelistEndpoint = "things/state" + bootstrapCertsEndpoint = "things/configs/certs" + bootstrapConnEndpoint = "things/configs/connections" secureEndpoint = "secure" )