diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e4de5d9..d6fc385 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,13 +6,13 @@ updates: schedule: interval: 'weekly' ignore: - - dependency-name: 'github.com/edgexfoundry/go-mod-core-contracts/v3' + - dependency-name: 'github.com/edgexfoundry/go-mod-core-contracts/v4' # Included when device-sdk-go is updated - - dependency-name: 'github.com/edgexfoundry/go-mod-messaging/v3' + - dependency-name: 'github.com/edgexfoundry/go-mod-messaging/v4' # Included when device-sdk-go is updated - - dependency-name: 'github.com/edgexfoundry/go-mod-registry/v3' + - dependency-name: 'github.com/edgexfoundry/go-mod-registry/v4' # Included when device-sdk-go is updated - - dependency-name: 'github.com/edgexfoundry/go-mod-secrets/v3' + - dependency-name: 'github.com/edgexfoundry/go-mod-secrets/v4' # Included when device-sdk-go is updated - - dependency-name: 'github.com/edgexfoundry/go-mod-bootstrap/v3' + - dependency-name: 'github.com/edgexfoundry/go-mod-bootstrap/v4' # Included when device-sdk-go is updated diff --git a/Attribution.txt b/Attribution.txt index 06b8606..5d743e3 100644 --- a/Attribution.txt +++ b/Attribution.txt @@ -16,26 +16,26 @@ https://github.com/davecgh/go-spew/blob/master/LICENSE github.com/eclipse/paho.mqtt.golang (EPL 2.0) https://github.com/eclipse/paho.mqtt.golang https://github.com/eclipse/paho.mqtt.golang/blob/master/LICENSE -github.com/edgexfoundry/device-sdk-go/v3 (Apache 2.0) https://github.com/edgexfoundry/device-sdk-go/v3 -https://github.com/edgexfoundry/device-sdk-go/v3/blob/master/LICENSE +github.com/edgexfoundry/device-sdk-go/v4 (Apache 2.0) https://github.com/edgexfoundry/device-sdk-go +https://github.com/edgexfoundry/device-sdk-go/blob/main/LICENSE -github.com/edgexfoundry/go-mod-bootstrap/v3 (Apache 2.0) https://github.com/edgexfoundry/go-mod-bootstrap/v3 -https://github.com/edgexfoundry/go-mod-bootstrap/v3/blob/master/LICENSE +github.com/edgexfoundry/go-mod-bootstrap/v4 (Apache 2.0) https://github.com/edgexfoundry/go-mod-bootstrap +https://github.com/edgexfoundry/go-mod-bootstrap/blob/main/LICENSE -github.com/edgexfoundry/go-mod-configuration/v3 (Apache 2.0) https://github.com/edgexfoundry/go-mod-configuration/v3 -https://github.com/edgexfoundry/go-mod-configuration/v3/blob/master/LICENSE +github.com/edgexfoundry/go-mod-configuration/v4 (Apache 2.0) https://github.com/edgexfoundry/go-mod-configuration +https://github.com/edgexfoundry/go-mod-configuration/blob/main/LICENSE -github.com/edgexfoundry/go-mod-core-contracts/v3 (Apache 2.0) https://github.com/edgexfoundry/go-mod-core-contracts/v3 -https://github.com/edgexfoundry/go-mod-core-contracts/v3/blob/master/LICENSE +github.com/edgexfoundry/go-mod-core-contracts/v4 (Apache 2.0) https://github.com/edgexfoundry/go-mod-core-contracts +https://github.com/edgexfoundry/go-mod-core-contracts/blob/main/LICENSE -github.com/edgexfoundry/go-mod-messaging/v3 (Apache 2.0) https://github.com/edgexfoundry/go-mod-messaging/v3 -https://github.com/edgexfoundry/go-mod-messaging/v3/blob/master/LICENSE +github.com/edgexfoundry/go-mod-messaging/v4 (Apache 2.0) https://github.com/edgexfoundry/go-mod-messaging +https://github.com/edgexfoundry/go-mod-messaging/blob/main/LICENSE -github.com/edgexfoundry/go-mod-registry/v3 (Apache 2.0) https://github.com/edgexfoundry/go-mod-registry/v3 -https://github.com/edgexfoundry/go-mod-registry/v3/blob/master/LICENSE +github.com/edgexfoundry/go-mod-registry/v4 (Apache 2.0) https://github.com/edgexfoundry/go-mod-registry +https://github.com/edgexfoundry/go-mod-registry/blob/main/LICENSE -github.com/edgexfoundry/go-mod-secrets/v3 (Apache 2.0) https://github.com/edgexfoundry/go-mod-secrets/v3 -https://github.com/edgexfoundry/go-mod-secrets/v3/blob/master/LICENSE +github.com/edgexfoundry/go-mod-secrets/v4 (Apache 2.0) https://github.com/edgexfoundry/go-mod-secrets +https://github.com/edgexfoundry/go-mod-secrets/blob/main/LICENSE github.com/fatih/color (MIT) https://github.com/fatih/color https://github.com/fatih/color/blob/master/LICENSE.md diff --git a/Dockerfile b/Dockerfile index b179b00..e6efc36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,4 +35,4 @@ COPY LICENSE / COPY --from=builder /device-opcua/Attribution.txt /Attribution.txt ENTRYPOINT ["/device-opcua"] -CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] +CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] diff --git a/Makefile b/Makefile index 20e6617..475eb80 100644 --- a/Makefile +++ b/Makefile @@ -13,12 +13,12 @@ MICROSERVICES=cmd/device-opcua .PHONY: $(MICROSERVICES) VERSION=$(shell cat ./VERSION 2>/dev/null || echo 0.0.0) -SDKVERSION=$(shell cat ./go.mod | grep 'github.com/edgexfoundry/device-sdk-go/v3 v' | sed 's/require//g' | awk '{print $$2}') +SDKVERSION=$(shell cat ./go.mod | grep 'github.com/edgexfoundry/device-sdk-go/v4 v' | sed 's/require//g' | awk '{print $$2}') DOCKER_TAG=$(VERSION)-dev GOFLAGS=-ldflags "-X github.com/edgexfoundry/device-opc-ua.Version=$(VERSION) \ - -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=$(SDKVERSION)" \ + -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=$(SDKVERSION)" \ -trimpath -mod=readonly GOTESTFLAGS?=-race diff --git a/cmd/main.go b/cmd/main.go index b55dfcb..4f22ecb 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -12,7 +12,7 @@ package main import ( device_opcua "github.com/edgexfoundry/device-opc-ua" "github.com/edgexfoundry/device-opc-ua/internal/driver" - "github.com/edgexfoundry/device-sdk-go/v3/pkg/startup" + "github.com/edgexfoundry/device-sdk-go/v4/pkg/startup" ) const ( diff --git a/go.mod b/go.mod index f5dac0f..06997a9 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module github.com/edgexfoundry/device-opc-ua go 1.23 require ( - github.com/edgexfoundry/device-sdk-go/v3 v3.2.0-dev.47 - github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.53 + github.com/edgexfoundry/device-sdk-go/v4 v4.0.0-dev.1 + github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.2 github.com/gopcua/opcua v0.5.3 github.com/spf13/cast v1.7.0 github.com/stretchr/testify v1.9.0 @@ -20,11 +20,11 @@ require ( github.com/cenkalti/backoff/v4 v4.3.0 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/eclipse/paho.mqtt.golang v1.5.0 // indirect - github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.66 // indirect - github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.19 // indirect - github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.40 // indirect - github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.18 // indirect - github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.18 // indirect + github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.1 // indirect + github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.1 // indirect + github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.2 // indirect + github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.1 // indirect + github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.1 // indirect github.com/fatih/color v1.16.0 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa // indirect diff --git a/go.sum b/go.sum index f6de053..d26144a 100644 --- a/go.sum +++ b/go.sum @@ -86,20 +86,20 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/eclipse/paho.mqtt.golang v1.5.0 h1:EH+bUVJNgttidWFkLLVKaQPGmkTUfQQqjOsyvMGvD6o= github.com/eclipse/paho.mqtt.golang v1.5.0/go.mod h1:du/2qNQVqJf/Sqs4MEL77kR8QTqANF7XU7Fk0aOTAgk= -github.com/edgexfoundry/device-sdk-go/v3 v3.2.0-dev.47 h1:9SF70/V3ds4ozN3xaL2QSMZsSbV2glO0wDelwybv5Ro= -github.com/edgexfoundry/device-sdk-go/v3 v3.2.0-dev.47/go.mod h1:Z+bXQh9icjVrEwht1f8wj0W7mkk89qUvHDzrfvFINvs= -github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.66 h1:kmBEAhNi4ftrJMXM3IvEbwrRCOWUDuUOKTVAOgHnoPw= -github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.66/go.mod h1:3IXVpc5Qez5nwFJ8IkMyJMba8Iavj620E0XB42BQzfQ= -github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.19 h1:274NZdVBkJBuQP6yT3tVrb7psTFuIPogX/DLQqv7OCQ= -github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.19/go.mod h1:BG6hCDxXizpgMdNEljwNfLWSsd4Op7GAHd3Pis1dVv8= -github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.53 h1:aHnYwqpg0LcnMrgNQlkRQjzHAS/IML/9GI368OmNCz4= -github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.53/go.mod h1:MLk37/79M26+bZr3IptNZuYmQBEVbXwzDp1VHQkFhIk= -github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.40 h1:YyB21HEapV5pENG01vFlpjPI6UkmKpJuaWFfgGFVUsY= -github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.40/go.mod h1:8NpZ6/eAsiyZHgn/s3DRIpcOjUrve+ZONIgvcDvA3Yg= -github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.18 h1:AzILZ/xcEmSYVhIwSF4zkWpXyFoBA733E/j8ttzlNnI= -github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.18/go.mod h1:TBgZZMF8FAJwxUl3AJgHQaT0S5pwKJKKDP3d638ttrc= -github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.18 h1:UHyNs7pAdFqURAVL/BWd5riiZczVRdyb7r76dUGxqUU= -github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.18/go.mod h1:2q9qMnQD4MCAZHgXyB8ltpwuct554HOiPrbRydyXyWQ= +github.com/edgexfoundry/device-sdk-go/v4 v4.0.0-dev.1 h1:p9njuoGUwnl4X+F1xlO+jDhrkVaYPKH7UsTVKr9+1xI= +github.com/edgexfoundry/device-sdk-go/v4 v4.0.0-dev.1/go.mod h1:6ChpQagcoYqlaE8b1IiFdI2YZIsMhRIDbHC6yZtVmeM= +github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.1 h1:9uiZON4CDOVAZNNawtncvfX4Abgz31r8QcOVEWvlUD4= +github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.1/go.mod h1:OJdeMt2HyzMZZyKy89ICwGu4Ui7ddWd+dQXGMJTAmYk= +github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.1 h1:eWcDmVFwkFSmlrD745lZQ6xs+ZKJ9u6TqNUnXuWJ5AY= +github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.1/go.mod h1:AHvE7RQJabfMVHXCDDDKhg3hzJNQtUqbyB9yJxv2Qbk= +github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.2 h1:BEJKSvyW+dMTW/yzEKWjs0tGUZnMkFPYX4eypyoG0IY= +github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.2/go.mod h1:I3EG+Tg/gcVSUJ+IJDuvVKFISnRu8oQtMXqltE1rzT8= +github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.2 h1:2zRS7LTEoucQmAkZ33b/Erw13ne1LoxexPhhHGa065Q= +github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.2/go.mod h1:eAmCHilZWXL0skB9Frnm2kZTeY81sF6xKOmePoWKTNE= +github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.1 h1:/CrP00ozrLjMR0R9OTSJlQi5zJ7/9IKnfG0zS2ZN+8U= +github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.1/go.mod h1:YgkZ1ThNEEXPzC2iu3/53QcrDQ3tlQHlflnjb3Jseo8= +github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.1 h1:lw9GNOujQhqnPMJko6n9BGU9Pu3P9RPUQYCT5GpoSw0= +github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.1/go.mod h1:p6RbhVfJ/SNBLYlz8P/v6kOJmj5Zz1In5/T3TSXylO4= 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= diff --git a/internal/driver/config.go b/internal/driver/config.go index db28624..c7d4376 100644 --- a/internal/driver/config.go +++ b/internal/driver/config.go @@ -12,8 +12,8 @@ package driver import ( "fmt" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // ServiceConfig configuration struct diff --git a/internal/driver/config_test.go b/internal/driver/config_test.go index 44fba76..55f410f 100644 --- a/internal/driver/config_test.go +++ b/internal/driver/config_test.go @@ -10,7 +10,7 @@ package driver import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) func TestOPCUAServerConfig_Validate(t *testing.T) { diff --git a/internal/driver/driver.go b/internal/driver/driver.go index a9eaff4..4cb9859 100644 --- a/internal/driver/driver.go +++ b/internal/driver/driver.go @@ -15,11 +15,11 @@ import ( "sync" "time" - "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces" - sdkModel "github.com/edgexfoundry/device-sdk-go/v3/pkg/models" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces" + sdkModel "github.com/edgexfoundry/device-sdk-go/v4/pkg/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/gopcua/opcua" "github.com/gopcua/opcua/ua" ) diff --git a/internal/driver/driver_test.go b/internal/driver/driver_test.go index cefad66..d4868ec 100644 --- a/internal/driver/driver_test.go +++ b/internal/driver/driver_test.go @@ -11,8 +11,8 @@ import ( "context" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) func TestDriver_updateWritableConfig(t *testing.T) { diff --git a/internal/driver/readhandler.go b/internal/driver/readhandler.go index 7876552..737b7bd 100644 --- a/internal/driver/readhandler.go +++ b/internal/driver/readhandler.go @@ -13,8 +13,8 @@ import ( "context" "fmt" - sdkModel "github.com/edgexfoundry/device-sdk-go/v3/pkg/models" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + sdkModel "github.com/edgexfoundry/device-sdk-go/v4/pkg/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/gopcua/opcua" "github.com/gopcua/opcua/ua" ) diff --git a/internal/driver/readhandler_test.go b/internal/driver/readhandler_test.go index c54b3d9..3d0a7e7 100644 --- a/internal/driver/readhandler_test.go +++ b/internal/driver/readhandler_test.go @@ -13,10 +13,10 @@ import ( "testing" "github.com/edgexfoundry/device-opc-ua/internal/test" - sdkModel "github.com/edgexfoundry/device-sdk-go/v3/pkg/models" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + sdkModel "github.com/edgexfoundry/device-sdk-go/v4/pkg/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/gopcua/opcua" "github.com/gopcua/opcua/ua" ) diff --git a/internal/driver/readingchecker.go b/internal/driver/readingchecker.go index b11c747..8369e42 100644 --- a/internal/driver/readingchecker.go +++ b/internal/driver/readingchecker.go @@ -12,8 +12,8 @@ import ( "math" "time" - sdkModel "github.com/edgexfoundry/device-sdk-go/v3/pkg/models" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + sdkModel "github.com/edgexfoundry/device-sdk-go/v4/pkg/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" "github.com/spf13/cast" ) diff --git a/internal/driver/readingchecker_test.go b/internal/driver/readingchecker_test.go index ffde692..76c66dc 100644 --- a/internal/driver/readingchecker_test.go +++ b/internal/driver/readingchecker_test.go @@ -12,8 +12,8 @@ import ( "strings" "testing" - "github.com/edgexfoundry/device-sdk-go/v3/pkg/models" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/device-sdk-go/v4/pkg/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/driver/subscriptionlistener.go b/internal/driver/subscriptionlistener.go index 61638b8..89eaa16 100644 --- a/internal/driver/subscriptionlistener.go +++ b/internal/driver/subscriptionlistener.go @@ -15,8 +15,8 @@ import ( "strings" "time" - sdkModels "github.com/edgexfoundry/device-sdk-go/v3/pkg/models" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + sdkModels "github.com/edgexfoundry/device-sdk-go/v4/pkg/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/gopcua/opcua" "github.com/gopcua/opcua/ua" ) diff --git a/internal/driver/subscriptionlistener_test.go b/internal/driver/subscriptionlistener_test.go index e752433..488819c 100644 --- a/internal/driver/subscriptionlistener_test.go +++ b/internal/driver/subscriptionlistener_test.go @@ -10,7 +10,7 @@ package driver import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/gopcua/opcua" "github.com/gopcua/opcua/ua" ) diff --git a/internal/driver/writehandler.go b/internal/driver/writehandler.go index c8489b1..fd14dbb 100644 --- a/internal/driver/writehandler.go +++ b/internal/driver/writehandler.go @@ -13,9 +13,9 @@ import ( "context" "fmt" - sdkModel "github.com/edgexfoundry/device-sdk-go/v3/pkg/models" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + sdkModel "github.com/edgexfoundry/device-sdk-go/v4/pkg/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/gopcua/opcua" "github.com/gopcua/opcua/ua" ) diff --git a/internal/driver/writehandler_test.go b/internal/driver/writehandler_test.go index ed259e1..c6ee86b 100644 --- a/internal/driver/writehandler_test.go +++ b/internal/driver/writehandler_test.go @@ -12,10 +12,10 @@ import ( "testing" "github.com/edgexfoundry/device-opc-ua/internal/test" - sdkModel "github.com/edgexfoundry/device-sdk-go/v3/pkg/models" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + sdkModel "github.com/edgexfoundry/device-sdk-go/v4/pkg/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/gopcua/opcua" )