diff --git a/bootstrap/container/clients.go b/bootstrap/container/clients.go index fb8d6f87..ccd54a93 100644 --- a/bootstrap/container/clients.go +++ b/bootstrap/container/clients.go @@ -131,22 +131,9 @@ func ProvisionWatcherClientFrom(get di.Get) interfaces.ProvisionWatcherClient { return get(ProvisionWatcherClientName).(interfaces.ProvisionWatcherClient) } -// DeviceServiceCallbackClientName contains the name of the DeviceServiceCallbackClient instance in the DIC. -var DeviceServiceCallbackClientName = di.TypeInstanceToName((*interfaces.DeviceServiceCallbackClient)(nil)) - // DeviceServiceCommandClientName contains the name of the DeviceServiceCommandClient instance in the DIC. var DeviceServiceCommandClientName = di.TypeInstanceToName((*interfaces.DeviceServiceCommandClient)(nil)) -// DeviceServiceCallbackClientFrom helper function queries the DIC and returns the DeviceServiceCallbackClient instance. -func DeviceServiceCallbackClientFrom(get di.Get) interfaces.DeviceServiceCallbackClient { - client, ok := get(DeviceServiceCallbackClientName).(interfaces.DeviceServiceCallbackClient) - if !ok { - return nil - } - - return client -} - // DeviceServiceCommandClientFrom helper function queries the DIC and returns the DeviceServiceCommandClient instance. func DeviceServiceCommandClientFrom(get di.Get) interfaces.DeviceServiceCommandClient { client, ok := get(DeviceServiceCommandClientName).(interfaces.DeviceServiceCommandClient) diff --git a/go.mod b/go.mod index 4ab0409e..ac18862c 100644 --- a/go.mod +++ b/go.mod @@ -5,10 +5,10 @@ go 1.23 require ( github.com/eclipse/paho.mqtt.golang v1.5.0 github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.10 - github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.15 + github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.16 github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.10 - github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.2 - github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.4 + github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.3 + github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.5 github.com/google/uuid v1.6.0 github.com/hashicorp/go-multierror v1.1.1 github.com/labstack/echo/v4 v4.13.3 diff --git a/go.sum b/go.sum index b8abee31..3a676608 100644 --- a/go.sum +++ b/go.sum @@ -70,14 +70,14 @@ github.com/eclipse/paho.mqtt.golang v1.5.0 h1:EH+bUVJNgttidWFkLLVKaQPGmkTUfQQqjO github.com/eclipse/paho.mqtt.golang v1.5.0/go.mod h1:du/2qNQVqJf/Sqs4MEL77kR8QTqANF7XU7Fk0aOTAgk= github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.10 h1:DMv5LZDxcqUeb1dREMd/vK+reXmZYlpafgtm8XhYdHQ= github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.10/go.mod h1:ltUpMcOpJSzmabBtZox5qg1AK2wEikvZJyIBXtJ7mUQ= -github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.15 h1:4FbSL5rsNXVonrYz4K5v1oCNmi64LvcEx8xCgr6mXOo= -github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.15/go.mod h1:M5JXcRrmnIVNAmqeDNVXd0PSOGdq96fgrEmzivx02c8= +github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.16 h1:Kb0W7HAFoXdWGN7aYJcLOEgGUTo2v2/BJicGGlOLLng= +github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.16/go.mod h1:M5JXcRrmnIVNAmqeDNVXd0PSOGdq96fgrEmzivx02c8= github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.10 h1:xvDQDIJtmj/ZCmKzbAzg3h1F2ZdWz1MPoJSNfYZANGc= github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.10/go.mod h1:ibaiw7r3RgLYDuuFfWT1kh//bjP+onDOOQsnSsdD4E8= -github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.2 h1:iHu8JPpmrEOrIZdv0iYW69FlMmkyal/FpbXtC3pHt2c= -github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.2/go.mod h1:0qsKMZkTP3jE0GisaNcMjn6euhAIVEFPy4WXbjgzgD0= -github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.4 h1:3YPeukLHkgDEG7dCWYosTNuqOoQHrVFVt65/LlG4LlQ= -github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.4/go.mod h1:6P6KEOfPuzy8lXBkYCWTg7ZCHCJXL3ijYnkJQMEGvvc= +github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.3 h1:6tw6JqEJDOqo2lEgxjZ+scvsub5R20WGpInCuoxS6zE= +github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.3/go.mod h1:QpZW5bWxsk0Leh1nvgojBZrpHA/B6dSw6LgT0zxh9hg= +github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.5 h1:PnbvMnedIlbqXsnUp2+i18BJ9e6CJ7GzwNA9vjPU3Jk= +github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.5/go.mod h1:zAIZIOlTbX7KUZlNF1ylx8pKV16ld/7hmyjpFLiDSKo= github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=