From b7caf4fecae67d4eaa468c351b80470bfd20b785 Mon Sep 17 00:00:00 2001 From: bruce Date: Tue, 21 Mar 2023 12:31:19 +0800 Subject: [PATCH] build(deps)!: bump sdk to 3.0.0-dev.54 BREAKING CHANGE: profile resource properties can use numeric data type for mask,shift,base,scale,offset. Signed-off-by: bruce --- driver/restdriver.go | 1 + go.mod | 10 +++++----- go.sum | 20 ++++++++++---------- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/driver/restdriver.go b/driver/restdriver.go index 8faa410d..b9fd4682 100644 --- a/driver/restdriver.go +++ b/driver/restdriver.go @@ -58,6 +58,7 @@ type RestProtocolParams struct { // service. func (driver *RestDriver) Initialize(sdk interfaces.DeviceServiceSDK) error { driver.logger = sdk.LoggingClient() + driver.sdk = sdk handler := NewRestHandler(sdk) return handler.Start() } diff --git a/go.mod b/go.mod index 6249a1c9..6778f37e 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module github.com/edgexfoundry/device-rest-go go 1.20 require ( - github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.51 - github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.26 + github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.54 + github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.28 github.com/gorilla/mux v1.8.0 github.com/spf13/cast v1.5.0 github.com/stretchr/testify v1.8.2 @@ -17,11 +17,11 @@ require ( github.com/cenkalti/backoff v2.2.1+incompatible // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/eclipse/paho.mqtt.golang v1.4.2 // indirect - github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.44 // indirect + github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.47 // indirect github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.7 // indirect - github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.16 // indirect + github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.18 // indirect github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 // indirect - github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8 // indirect + github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.9 // indirect github.com/fatih/color v1.9.0 // indirect github.com/fxamacker/cbor/v2 v2.4.0 // indirect github.com/go-kit/log v0.2.1 // indirect diff --git a/go.sum b/go.sum index 276ece9c..0aa60af7 100644 --- a/go.sum +++ b/go.sum @@ -27,20 +27,20 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/eclipse/paho.mqtt.golang v1.4.2 h1:66wOzfUHSSI1zamx7jR6yMEI5EuHnT1G6rNA5PM12m4= github.com/eclipse/paho.mqtt.golang v1.4.2/go.mod h1:JGt0RsEwEX+Xa/agj90YJ9d9DH2b7upDZMK9HRbFvCA= -github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.51 h1:mPBqyZtf8T+DbdLR/ntHA9uFAYcfFKmmNUxEmd6Dq38= -github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.51/go.mod h1:zhdvWnfPu2cqVasAV1BClT9puUwS3D0JmJ6OFg7WPRQ= -github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.44 h1:bzROMV3XZzFB5uBFTeQRuqBQyHE8DJjHSl3UWoqacds= -github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.44/go.mod h1:qiG4HABtB+mnFBOby/ZUpIWcQD0TZa8jIG7p/jeVuzc= +github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.54 h1:v0agM9yGlu1036LQXzC0ImOah2zLaaUoho6ngdU2O3I= +github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.54/go.mod h1:GtXMlc0G7aXEXWhbW+7YwO9F1KA1qFRODhzfWFSWhoU= +github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.47 h1:KG2CAxu1BKwvT8vMONZC2bTUqJuwRY49XyUISAgjdfQ= +github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.47/go.mod h1:W26ejUzaSRzq/b/8oIdB8hKve4xW55XbCkfj8pvQNfE= github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.7 h1:pOH2GLDg1KB4EmAzo6IEvl4NEVFAw3ywxPUMa5Wi1Vw= github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.7/go.mod h1:ZZbOu7K0/P8B1VKhZygVujLQyhvWuPe0E2vC/k2yscw= -github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.26 h1:vTTaaM3NErQRoNQKkbQ9f9x/FMJqzZX6OAQuXvU6HN8= -github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.26/go.mod h1:QBzXOAoyLzBm5k9CshgH9CR9nWMNXxZjknBFMnGJN/A= -github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.16 h1:JdZiqZ6CAboZ3+GuWZLyXc42y8HfsH1CmsIKNPY+0PY= -github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.16/go.mod h1:3q+Ys51HwpR9/kOv6sT7+EwAANgOfFWi509sEP5iPEo= +github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.28 h1:aNHlmF2uPcwUr7VKvNVJXdxMDaI41j2laoGxZy5H95g= +github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.28/go.mod h1:SYoD+tmUP/zwWuuIySmsQSjPx6MHP+2w9FsLgm0IR7A= +github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.18 h1:8empqTOIVhKzebC3gnP9C0LGQvwXtHLJF8x8AqlTGLM= +github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.18/go.mod h1:Sf7lvKtICWRy0Tmvw+bV6L1wdXKRaTSmKmJKw4Caxe4= github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 h1:FUUfsQUKHJqSwOXEj0j/qAn+uoWzM8nV7IOapGf7D80= github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5/go.mod h1:MroNeX/i6ymRu8cyuRB4U5zdBusyUpFhUphko6pInTQ= -github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8 h1:rvoSu4fWQNAundG1eRKKCjZkzSBJQoYqCtEfzzV91CY= -github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8/go.mod h1:tjny0Y2/sLTB9qx3pjvT9PfGHpEOdfej7pjV3s1zppk= +github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.9 h1:12UHZG/Nl+dfFOaNnC87ANP/FQ3rOXe0Z6NVlYdmYgU= +github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.9/go.mod h1:tjny0Y2/sLTB9qx3pjvT9PfGHpEOdfej7pjV3s1zppk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=