diff --git a/clients/http/authinjector_test.go b/clients/http/authinjector_test.go index 4faf151b..9a332188 100644 --- a/clients/http/authinjector_test.go +++ b/clients/http/authinjector_test.go @@ -8,7 +8,7 @@ package http import ( "net/http" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" ) type emptyAuthenticationInjector struct { diff --git a/clients/http/command.go b/clients/http/command.go index 128ba559..1e590ee8 100644 --- a/clients/http/command.go +++ b/clients/http/command.go @@ -11,12 +11,12 @@ import ( "net/url" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type CommandClient struct { diff --git a/clients/http/command_test.go b/clients/http/command_test.go index 68c6ff0c..10390c76 100644 --- a/clients/http/command_test.go +++ b/clients/http/command_test.go @@ -13,9 +13,9 @@ import ( "strconv" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" "github.com/stretchr/testify/require" ) diff --git a/clients/http/common.go b/clients/http/common.go index d234c08e..a075889f 100644 --- a/clients/http/common.go +++ b/clients/http/common.go @@ -9,11 +9,11 @@ package http import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type commonClient struct { diff --git a/clients/http/common_test.go b/clients/http/common_test.go index 72820a68..ee24c398 100644 --- a/clients/http/common_test.go +++ b/clients/http/common_test.go @@ -13,8 +13,8 @@ import ( "net/http/httptest" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" "github.com/stretchr/testify/require" ) diff --git a/clients/http/device.go b/clients/http/device.go index 738aa03c..dd604e73 100644 --- a/clients/http/device.go +++ b/clients/http/device.go @@ -13,13 +13,13 @@ import ( "strconv" "strings" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type DeviceClient struct { diff --git a/clients/http/device_test.go b/clients/http/device_test.go index 94a38d13..5a724e76 100644 --- a/clients/http/device_test.go +++ b/clients/http/device_test.go @@ -13,10 +13,10 @@ import ( "path" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" "github.com/stretchr/testify/require" ) diff --git a/clients/http/deviceprofile.go b/clients/http/deviceprofile.go index 7f332e90..0863e00f 100644 --- a/clients/http/deviceprofile.go +++ b/clients/http/deviceprofile.go @@ -15,13 +15,13 @@ import ( "strings" "sync" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type DeviceProfileClient struct { diff --git a/clients/http/deviceprofile_test.go b/clients/http/deviceprofile_test.go index f9c085e1..f16ae7db 100644 --- a/clients/http/deviceprofile_test.go +++ b/clients/http/deviceprofile_test.go @@ -19,11 +19,11 @@ import ( "runtime" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - edgexErrors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + edgexErrors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" "github.com/google/uuid" "github.com/stretchr/testify/assert" diff --git a/clients/http/deviceservice.go b/clients/http/deviceservice.go index b646b21b..6d57c385 100644 --- a/clients/http/deviceservice.go +++ b/clients/http/deviceservice.go @@ -12,13 +12,13 @@ import ( "strconv" "strings" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type DeviceServiceClient struct { diff --git a/clients/http/deviceservice_test.go b/clients/http/deviceservice_test.go index c240fe00..e7684de4 100644 --- a/clients/http/deviceservice_test.go +++ b/clients/http/deviceservice_test.go @@ -12,10 +12,10 @@ import ( "path" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/clients/http/deviceservicecallback.go b/clients/http/deviceservicecallback.go index 9d2e18f5..33d3c504 100644 --- a/clients/http/deviceservicecallback.go +++ b/clients/http/deviceservicecallback.go @@ -10,12 +10,12 @@ import ( "context" "path" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type deviceServiceCallbackClient struct { diff --git a/clients/http/deviceservicecallback_test.go b/clients/http/deviceservicecallback_test.go index 66c6e8c7..506d22dc 100644 --- a/clients/http/deviceservicecallback_test.go +++ b/clients/http/deviceservicecallback_test.go @@ -12,9 +12,9 @@ import ( "path" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" "github.com/google/uuid" "github.com/stretchr/testify/assert" diff --git a/clients/http/deviceservicecommand.go b/clients/http/deviceservicecommand.go index 0d445288..b07411bc 100644 --- a/clients/http/deviceservicecommand.go +++ b/clients/http/deviceservicecommand.go @@ -11,13 +11,13 @@ import ( "encoding/json" "net/url" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" "github.com/fxamacker/cbor/v2" ) diff --git a/clients/http/deviceservicecommand_test.go b/clients/http/deviceservicecommand_test.go index 4d891506..431d11ec 100644 --- a/clients/http/deviceservicecommand_test.go +++ b/clients/http/deviceservicecommand_test.go @@ -12,11 +12,11 @@ import ( "path" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" "github.com/google/uuid" "github.com/stretchr/testify/assert" diff --git a/clients/http/event.go b/clients/http/event.go index 39a0cae2..ef6ec4ff 100644 --- a/clients/http/event.go +++ b/clients/http/event.go @@ -12,13 +12,13 @@ import ( "path" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type eventClient struct { diff --git a/clients/http/event_test.go b/clients/http/event_test.go index a126b608..0586bd00 100644 --- a/clients/http/event_test.go +++ b/clients/http/event_test.go @@ -13,11 +13,11 @@ import ( "strconv" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/clients/http/general.go b/clients/http/general.go index 1b45b57f..8580e2c4 100644 --- a/clients/http/general.go +++ b/clients/http/general.go @@ -9,11 +9,11 @@ package http import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type generalClient struct { diff --git a/clients/http/general_test.go b/clients/http/general_test.go index 3f0d0f69..73cf8e52 100644 --- a/clients/http/general_test.go +++ b/clients/http/general_test.go @@ -13,8 +13,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) func Test_generalClient_FetchConfiguration(t *testing.T) { diff --git a/clients/http/interval.go b/clients/http/interval.go index f4bc6097..2fea8b75 100644 --- a/clients/http/interval.go +++ b/clients/http/interval.go @@ -11,13 +11,13 @@ import ( "net/url" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type IntervalClient struct { diff --git a/clients/http/interval_test.go b/clients/http/interval_test.go index 732bfcdb..bc39021d 100644 --- a/clients/http/interval_test.go +++ b/clients/http/interval_test.go @@ -12,11 +12,11 @@ import ( "path" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/clients/http/intervalaction.go b/clients/http/intervalaction.go index 9a28ec4e..dbcbfc18 100644 --- a/clients/http/intervalaction.go +++ b/clients/http/intervalaction.go @@ -11,13 +11,13 @@ import ( "net/url" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type IntervalActionClient struct { diff --git a/clients/http/intervalaction_test.go b/clients/http/intervalaction_test.go index 52afe8bd..1a55feff 100644 --- a/clients/http/intervalaction_test.go +++ b/clients/http/intervalaction_test.go @@ -12,11 +12,11 @@ import ( "path" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/clients/http/kvs.go b/clients/http/kvs.go index e67cf7a8..a2c833ef 100644 --- a/clients/http/kvs.go +++ b/clients/http/kvs.go @@ -10,12 +10,12 @@ import ( "net/url" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // KVSClient is the REST client for invoking the key-value APIs(/kvs/*) from Core Keeper diff --git a/clients/http/kvs_test.go b/clients/http/kvs_test.go index 3b8ab10e..9d577a44 100644 --- a/clients/http/kvs_test.go +++ b/clients/http/kvs_test.go @@ -10,9 +10,9 @@ import ( "net/http" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" "github.com/stretchr/testify/require" ) diff --git a/clients/http/notification.go b/clients/http/notification.go index 26cac607..380972ea 100644 --- a/clients/http/notification.go +++ b/clients/http/notification.go @@ -12,13 +12,13 @@ import ( "path" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type NotificationClient struct { diff --git a/clients/http/notification_test.go b/clients/http/notification_test.go index 7f961c22..43ae105d 100644 --- a/clients/http/notification_test.go +++ b/clients/http/notification_test.go @@ -13,12 +13,12 @@ import ( "strconv" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/require" ) diff --git a/clients/http/provisionwatcher.go b/clients/http/provisionwatcher.go index 7cb585e1..e651926f 100644 --- a/clients/http/provisionwatcher.go +++ b/clients/http/provisionwatcher.go @@ -12,13 +12,13 @@ import ( "strconv" "strings" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type ProvisionWatcherClient struct { diff --git a/clients/http/provisionwatcher_test.go b/clients/http/provisionwatcher_test.go index 0cccabd1..8efa3cc3 100644 --- a/clients/http/provisionwatcher_test.go +++ b/clients/http/provisionwatcher_test.go @@ -12,10 +12,10 @@ import ( "path" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" "github.com/stretchr/testify/require" ) diff --git a/clients/http/reading.go b/clients/http/reading.go index a56d5ab3..328e45ee 100644 --- a/clients/http/reading.go +++ b/clients/http/reading.go @@ -12,12 +12,12 @@ import ( "path" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type readingClient struct { diff --git a/clients/http/reading_test.go b/clients/http/reading_test.go index e7fc90cd..3ce7166f 100644 --- a/clients/http/reading_test.go +++ b/clients/http/reading_test.go @@ -16,9 +16,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) func TestQueryAllReadings(t *testing.T) { diff --git a/clients/http/registry.go b/clients/http/registry.go index 12fbbd41..166effb0 100644 --- a/clients/http/registry.go +++ b/clients/http/registry.go @@ -10,12 +10,12 @@ import ( "net/url" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) var emptyResponse any diff --git a/clients/http/registry_test.go b/clients/http/registry_test.go index 9669a34a..06e34fcb 100644 --- a/clients/http/registry_test.go +++ b/clients/http/registry_test.go @@ -10,9 +10,9 @@ import ( "net/http" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" "github.com/stretchr/testify/require" ) diff --git a/clients/http/scheduleactionrecord.go b/clients/http/scheduleactionrecord.go index 08e10798..2a97e777 100644 --- a/clients/http/scheduleactionrecord.go +++ b/clients/http/scheduleactionrecord.go @@ -11,11 +11,11 @@ import ( "path" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type ScheduleActionRecordClient struct { diff --git a/clients/http/scheduleactionrecord_test.go b/clients/http/scheduleactionrecord_test.go index ab890ec8..0d8afa40 100644 --- a/clients/http/scheduleactionrecord_test.go +++ b/clients/http/scheduleactionrecord_test.go @@ -13,9 +13,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) func TestScheduleActionRecordClient_AllScheduleActionRecords(t *testing.T) { diff --git a/clients/http/schedulejob.go b/clients/http/schedulejob.go index 655ef84d..d6f12015 100644 --- a/clients/http/schedulejob.go +++ b/clients/http/schedulejob.go @@ -11,13 +11,13 @@ import ( "strconv" "strings" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type ScheduleJobClient struct { diff --git a/clients/http/schedulejob_test.go b/clients/http/schedulejob_test.go index 93310fc5..6c5d6f3a 100644 --- a/clients/http/schedulejob_test.go +++ b/clients/http/schedulejob_test.go @@ -13,12 +13,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) func addScheduleJobRequest() requests.AddScheduleJobRequest { diff --git a/clients/http/subscription.go b/clients/http/subscription.go index c9543aa0..daa2212c 100644 --- a/clients/http/subscription.go +++ b/clients/http/subscription.go @@ -12,13 +12,13 @@ import ( "path" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type SubscriptionClient struct { diff --git a/clients/http/subscription_test.go b/clients/http/subscription_test.go index cb2a387a..4c173e05 100644 --- a/clients/http/subscription_test.go +++ b/clients/http/subscription_test.go @@ -12,12 +12,12 @@ import ( "path" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/require" ) diff --git a/clients/http/transmission.go b/clients/http/transmission.go index 73712356..9ab8a575 100644 --- a/clients/http/transmission.go +++ b/clients/http/transmission.go @@ -12,12 +12,12 @@ import ( "path" "strconv" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type TransmissionClient struct { diff --git a/clients/http/transmission_test.go b/clients/http/transmission_test.go index 1c1c7ae8..fde990c0 100644 --- a/clients/http/transmission_test.go +++ b/clients/http/transmission_test.go @@ -13,10 +13,10 @@ import ( "strconv" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/require" ) diff --git a/clients/http/utils/common.go b/clients/http/utils/common.go index 0730496b..a7276906 100644 --- a/clients/http/utils/common.go +++ b/clients/http/utils/common.go @@ -19,9 +19,9 @@ import ( "path" "path/filepath" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" "github.com/google/uuid" ) diff --git a/clients/http/utils/common_test.go b/clients/http/utils/common_test.go index bdccb32c..748edeb3 100644 --- a/clients/http/utils/common_test.go +++ b/clients/http/utils/common_test.go @@ -11,7 +11,7 @@ import ( "os" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" ) diff --git a/clients/http/utils/request.go b/clients/http/utils/request.go index caee9df5..d96f1bd3 100644 --- a/clients/http/utils/request.go +++ b/clients/http/utils/request.go @@ -13,9 +13,9 @@ import ( "net/http" "net/url" - "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // GetRequest makes the get request and return the body diff --git a/clients/interfaces/command.go b/clients/interfaces/command.go index 9f9aac4a..7fd2828f 100644 --- a/clients/interfaces/command.go +++ b/clients/interfaces/command.go @@ -8,9 +8,9 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // CommandClient defines the interface for interactions with the command endpoints on the EdgeX Foundry core-command service. diff --git a/clients/interfaces/common.go b/clients/interfaces/common.go index 61c62f69..09135af7 100644 --- a/clients/interfaces/common.go +++ b/clients/interfaces/common.go @@ -8,8 +8,8 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type CommonClient interface { diff --git a/clients/interfaces/device.go b/clients/interfaces/device.go index ccd9f5eb..8e933d04 100644 --- a/clients/interfaces/device.go +++ b/clients/interfaces/device.go @@ -8,10 +8,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // DeviceClient defines the interface for interactions with the Device endpoint on the EdgeX Foundry core-metadata service. diff --git a/clients/interfaces/deviceprofile.go b/clients/interfaces/deviceprofile.go index 123f112d..f645b592 100644 --- a/clients/interfaces/deviceprofile.go +++ b/clients/interfaces/deviceprofile.go @@ -8,10 +8,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // DeviceProfileClient defines the interface for interactions with the DeviceProfile endpoint on the EdgeX Foundry core-metadata service. diff --git a/clients/interfaces/deviceservice.go b/clients/interfaces/deviceservice.go index 65ae287d..ea8230f3 100644 --- a/clients/interfaces/deviceservice.go +++ b/clients/interfaces/deviceservice.go @@ -3,10 +3,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // DeviceServiceClient defines the interface for interactions with the Device Service endpoint on the EdgeX Foundry core-metadata service. diff --git a/clients/interfaces/deviceservicecallback.go b/clients/interfaces/deviceservicecallback.go index d0a86453..fdd8de96 100644 --- a/clients/interfaces/deviceservicecallback.go +++ b/clients/interfaces/deviceservicecallback.go @@ -8,9 +8,9 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // DeviceServiceCallbackClient defines the interface for interactions with the callback endpoint on the EdgeX Foundry device service. diff --git a/clients/interfaces/deviceservicecommand.go b/clients/interfaces/deviceservicecommand.go index d0e1270a..c201ba2a 100644 --- a/clients/interfaces/deviceservicecommand.go +++ b/clients/interfaces/deviceservicecommand.go @@ -8,10 +8,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // DeviceServiceCommandClient defines the interface for interactions with the device command endpoints on the EdgeX Foundry device services. diff --git a/clients/interfaces/event.go b/clients/interfaces/event.go index dcd9889f..8d9c95c7 100644 --- a/clients/interfaces/event.go +++ b/clients/interfaces/event.go @@ -8,10 +8,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // EventClient defines the interface for interactions with the Event endpoint on the EdgeX Foundry core-data service. diff --git a/clients/interfaces/general.go b/clients/interfaces/general.go index 565e1fb9..c776b3a3 100644 --- a/clients/interfaces/general.go +++ b/clients/interfaces/general.go @@ -8,8 +8,8 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type GeneralClient interface { diff --git a/clients/interfaces/interval.go b/clients/interfaces/interval.go index 932f7311..9a2ffb1e 100644 --- a/clients/interfaces/interval.go +++ b/clients/interfaces/interval.go @@ -8,10 +8,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // IntervalClient defines the interface for interactions with the Interval endpoint on the EdgeX Foundry support-scheduler service. diff --git a/clients/interfaces/intervalaction.go b/clients/interfaces/intervalaction.go index f05fe3d0..d934f4bc 100644 --- a/clients/interfaces/intervalaction.go +++ b/clients/interfaces/intervalaction.go @@ -8,10 +8,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // IntervalActionClient defines the interface for interactions with the IntervalAction endpoint on the EdgeX Foundry support-scheduler service. diff --git a/clients/interfaces/kvs.go b/clients/interfaces/kvs.go index cb33ad96..141ea3dc 100644 --- a/clients/interfaces/kvs.go +++ b/clients/interfaces/kvs.go @@ -8,9 +8,9 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // KVSClient defines the interface for interactions with the kvs endpoint on the EdgeX core-keeper service. diff --git a/clients/interfaces/mocks/CommandClient.go b/clients/interfaces/mocks/CommandClient.go index a89f52f9..b0681922 100644 --- a/clients/interfaces/mocks/CommandClient.go +++ b/clients/interfaces/mocks/CommandClient.go @@ -5,13 +5,13 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // CommandClient is an autogenerated mock type for the CommandClient type diff --git a/clients/interfaces/mocks/CommonClient.go b/clients/interfaces/mocks/CommonClient.go index 51d091b8..fe5ee432 100644 --- a/clients/interfaces/mocks/CommonClient.go +++ b/clients/interfaces/mocks/CommonClient.go @@ -5,9 +5,9 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" ) diff --git a/clients/interfaces/mocks/DeviceClient.go b/clients/interfaces/mocks/DeviceClient.go index 7fb2cf10..b1467571 100644 --- a/clients/interfaces/mocks/DeviceClient.go +++ b/clients/interfaces/mocks/DeviceClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // DeviceClient is an autogenerated mock type for the DeviceClient type diff --git a/clients/interfaces/mocks/DeviceProfileClient.go b/clients/interfaces/mocks/DeviceProfileClient.go index b35cd672..52c05ed7 100644 --- a/clients/interfaces/mocks/DeviceProfileClient.go +++ b/clients/interfaces/mocks/DeviceProfileClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // DeviceProfileClient is an autogenerated mock type for the DeviceProfileClient type diff --git a/clients/interfaces/mocks/DeviceServiceCallbackClient.go b/clients/interfaces/mocks/DeviceServiceCallbackClient.go index d158c0ed..f6ea5c0b 100644 --- a/clients/interfaces/mocks/DeviceServiceCallbackClient.go +++ b/clients/interfaces/mocks/DeviceServiceCallbackClient.go @@ -5,13 +5,13 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" ) // DeviceServiceCallbackClient is an autogenerated mock type for the DeviceServiceCallbackClient type diff --git a/clients/interfaces/mocks/DeviceServiceClient.go b/clients/interfaces/mocks/DeviceServiceClient.go index 0e29554c..3bebf35b 100644 --- a/clients/interfaces/mocks/DeviceServiceClient.go +++ b/clients/interfaces/mocks/DeviceServiceClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // DeviceServiceClient is an autogenerated mock type for the DeviceServiceClient type diff --git a/clients/interfaces/mocks/DeviceServiceCommandClient.go b/clients/interfaces/mocks/DeviceServiceCommandClient.go index 2d4744d6..1e031232 100644 --- a/clients/interfaces/mocks/DeviceServiceCommandClient.go +++ b/clients/interfaces/mocks/DeviceServiceCommandClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // DeviceServiceCommandClient is an autogenerated mock type for the DeviceServiceCommandClient type diff --git a/clients/interfaces/mocks/EventClient.go b/clients/interfaces/mocks/EventClient.go index b8a77e4a..5fd59a82 100644 --- a/clients/interfaces/mocks/EventClient.go +++ b/clients/interfaces/mocks/EventClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // EventClient is an autogenerated mock type for the EventClient type diff --git a/clients/interfaces/mocks/GeneralClient.go b/clients/interfaces/mocks/GeneralClient.go index 00a7ed12..59e4f838 100644 --- a/clients/interfaces/mocks/GeneralClient.go +++ b/clients/interfaces/mocks/GeneralClient.go @@ -5,9 +5,9 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" ) diff --git a/clients/interfaces/mocks/IntervalActionClient.go b/clients/interfaces/mocks/IntervalActionClient.go index 379f7f28..bc45b897 100644 --- a/clients/interfaces/mocks/IntervalActionClient.go +++ b/clients/interfaces/mocks/IntervalActionClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // IntervalActionClient is an autogenerated mock type for the IntervalActionClient type diff --git a/clients/interfaces/mocks/IntervalClient.go b/clients/interfaces/mocks/IntervalClient.go index 23dba1e8..b53ffc4e 100644 --- a/clients/interfaces/mocks/IntervalClient.go +++ b/clients/interfaces/mocks/IntervalClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // IntervalClient is an autogenerated mock type for the IntervalClient type diff --git a/clients/interfaces/mocks/KVSClient.go b/clients/interfaces/mocks/KVSClient.go index de3e249c..56e3f4d5 100644 --- a/clients/interfaces/mocks/KVSClient.go +++ b/clients/interfaces/mocks/KVSClient.go @@ -5,13 +5,13 @@ package mocks import ( context "context" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // KVSClient is an autogenerated mock type for the KVSClient type diff --git a/clients/interfaces/mocks/NotificationClient.go b/clients/interfaces/mocks/NotificationClient.go index a2aa99fc..b96a84bb 100644 --- a/clients/interfaces/mocks/NotificationClient.go +++ b/clients/interfaces/mocks/NotificationClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // NotificationClient is an autogenerated mock type for the NotificationClient type diff --git a/clients/interfaces/mocks/ProvisionWatcherClient.go b/clients/interfaces/mocks/ProvisionWatcherClient.go index a624f51d..041d2190 100644 --- a/clients/interfaces/mocks/ProvisionWatcherClient.go +++ b/clients/interfaces/mocks/ProvisionWatcherClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // ProvisionWatcherClient is an autogenerated mock type for the ProvisionWatcherClient type diff --git a/clients/interfaces/mocks/ReadingClient.go b/clients/interfaces/mocks/ReadingClient.go index 78d5168b..fbbef3a2 100644 --- a/clients/interfaces/mocks/ReadingClient.go +++ b/clients/interfaces/mocks/ReadingClient.go @@ -5,13 +5,13 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // ReadingClient is an autogenerated mock type for the ReadingClient type diff --git a/clients/interfaces/mocks/ScheduleActionRecordClient.go b/clients/interfaces/mocks/ScheduleActionRecordClient.go index 8a39e392..55fd678c 100644 --- a/clients/interfaces/mocks/ScheduleActionRecordClient.go +++ b/clients/interfaces/mocks/ScheduleActionRecordClient.go @@ -5,11 +5,11 @@ package mocks import ( context "context" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // ScheduleActionRecordClient is an autogenerated mock type for the ScheduleActionRecordClient type diff --git a/clients/interfaces/mocks/ScheduleJobClient.go b/clients/interfaces/mocks/ScheduleJobClient.go index 1d161733..25ee26d7 100644 --- a/clients/interfaces/mocks/ScheduleJobClient.go +++ b/clients/interfaces/mocks/ScheduleJobClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // ScheduleJobClient is an autogenerated mock type for the ScheduleJobClient type diff --git a/clients/interfaces/mocks/SubscriptionClient.go b/clients/interfaces/mocks/SubscriptionClient.go index 55ba2a25..3b63170f 100644 --- a/clients/interfaces/mocks/SubscriptionClient.go +++ b/clients/interfaces/mocks/SubscriptionClient.go @@ -5,15 +5,15 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - requests "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" + requests "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // SubscriptionClient is an autogenerated mock type for the SubscriptionClient type diff --git a/clients/interfaces/mocks/TransmissionClient.go b/clients/interfaces/mocks/TransmissionClient.go index 49e76a0a..61bf2699 100644 --- a/clients/interfaces/mocks/TransmissionClient.go +++ b/clients/interfaces/mocks/TransmissionClient.go @@ -5,13 +5,13 @@ package mocks import ( context "context" - common "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + common "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" - responses "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" + responses "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" ) // TransmissionClient is an autogenerated mock type for the TransmissionClient type diff --git a/clients/interfaces/notification.go b/clients/interfaces/notification.go index 65f36a56..1d3383f6 100644 --- a/clients/interfaces/notification.go +++ b/clients/interfaces/notification.go @@ -8,10 +8,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // NotificationClient defines the interface for interactions with the Notification endpoint on the EdgeX Foundry support-notifications service. diff --git a/clients/interfaces/provisionwatcher.go b/clients/interfaces/provisionwatcher.go index fb7e5859..00a91a66 100644 --- a/clients/interfaces/provisionwatcher.go +++ b/clients/interfaces/provisionwatcher.go @@ -8,10 +8,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // ProvisionWatcherClient defines the interface for interactions with the ProvisionWatcher endpoint on the EdgeX Foundry core-metadata service. diff --git a/clients/interfaces/reading.go b/clients/interfaces/reading.go index 45abc1c3..09812b48 100644 --- a/clients/interfaces/reading.go +++ b/clients/interfaces/reading.go @@ -8,9 +8,9 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // ReadingClient defines the interface for interactions with the Reading endpoint on the EdgeX Foundry core-data service. diff --git a/clients/interfaces/registry.go b/clients/interfaces/registry.go index 026b36db..5a9e394c 100644 --- a/clients/interfaces/registry.go +++ b/clients/interfaces/registry.go @@ -8,9 +8,9 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // RegistryClient defines the interface for interactions with the registry endpoint on the EdgeX core-keeper service. diff --git a/clients/interfaces/scheduleactionrecord.go b/clients/interfaces/scheduleactionrecord.go index 21f9bddd..24fc076b 100644 --- a/clients/interfaces/scheduleactionrecord.go +++ b/clients/interfaces/scheduleactionrecord.go @@ -8,8 +8,8 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // ScheduleActionRecordClient defines the interface for interactions with the ScheduleActionRecord endpoint on the EdgeX Foundry support-cron-scheduler service. diff --git a/clients/interfaces/schedulejob.go b/clients/interfaces/schedulejob.go index 417f63d1..948eb5fb 100644 --- a/clients/interfaces/schedulejob.go +++ b/clients/interfaces/schedulejob.go @@ -8,10 +8,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // ScheduleJobClient defines the interface for interactions with the ScheduleJob endpoint on the EdgeX Foundry support-cron-scheduler service. diff --git a/clients/interfaces/subscription.go b/clients/interfaces/subscription.go index f1d7c0e9..7959ce8d 100644 --- a/clients/interfaces/subscription.go +++ b/clients/interfaces/subscription.go @@ -8,10 +8,10 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // SubscriptionClient defines the interface for interactions with the Subscription endpoint on the EdgeX Foundry support-notifications service. diff --git a/clients/interfaces/transmission.go b/clients/interfaces/transmission.go index 48be29db..db506143 100644 --- a/clients/interfaces/transmission.go +++ b/clients/interfaces/transmission.go @@ -8,9 +8,9 @@ package interfaces import ( "context" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // TransmissionClient defines the interface for interactions with the Transmission endpoint on the EdgeX Foundry support-notifications service. diff --git a/clients/logger/README.md b/clients/logger/README.md index d959ba2c..9cdb957a 100644 --- a/clients/logger/README.md +++ b/clients/logger/README.md @@ -4,7 +4,7 @@ This package contains the logging client written in the Go programming language. ### How To Use ### To use the logging client package you first need to import the library into your project: ``` -import "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logging" +import "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logging" ``` To send a log message to STDOUT, you first need to create a LoggingClient with desired Log Level and then you can send log messages (indicating the log level of the message using one of the various log function calls). ``` diff --git a/clients/logger/logger.go b/clients/logger/logger.go index d3742a1a..78bcd7bb 100644 --- a/clients/logger/logger.go +++ b/clients/logger/logger.go @@ -25,8 +25,8 @@ import ( stdLog "log" "os" - "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" "github.com/go-kit/log" ) diff --git a/clients/logger/logger_test.go b/clients/logger/logger_test.go index 0207c490..482c7daa 100644 --- a/clients/logger/logger_test.go +++ b/clients/logger/logger_test.go @@ -9,7 +9,7 @@ package logger import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" ) diff --git a/clients/logger/mock-logger.go b/clients/logger/mock-logger.go index 3e562de1..67703d26 100644 --- a/clients/logger/mock-logger.go +++ b/clients/logger/mock-logger.go @@ -14,7 +14,7 @@ package logger -import "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" +import "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" // MockLogger is a type that can be used for mocking the LoggingClient interface during unit tests type MockLogger struct { diff --git a/clients/logger/mocks/LoggingClient.go b/clients/logger/mocks/LoggingClient.go index a3201e35..55889f8d 100644 --- a/clients/logger/mocks/LoggingClient.go +++ b/clients/logger/mocks/LoggingClient.go @@ -3,7 +3,7 @@ package mocks import ( - errors "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + errors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" mock "github.com/stretchr/testify/mock" ) diff --git a/common/constants.go b/common/constants.go index fbc4b7e7..f57ed42b 100644 --- a/common/constants.go +++ b/common/constants.go @@ -358,7 +358,7 @@ const ( ) const ( - ConfigStemAll = "edgex/v3" // Version never changes during minor releases so v3 is more appropriate than 3.0 + ConfigStemAll = "edgex/v4" // Version never changes during minor releases so v3 is more appropriate than 3.0 ConfigStemApp = ConfigStemAll ConfigStemCore = ConfigStemAll ConfigStemDevice = ConfigStemAll diff --git a/common/utils.go b/common/utils.go index 3e22e4aa..a3a27529 100644 --- a/common/utils.go +++ b/common/utils.go @@ -10,7 +10,7 @@ import ( "net/url" "strings" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) var valueTypes = []string{ diff --git a/common/validator.go b/common/validator.go index 81a5b403..287f9ee4 100644 --- a/common/validator.go +++ b/common/validator.go @@ -17,7 +17,7 @@ import ( "github.com/go-playground/validator/v10" "github.com/google/uuid" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) var val *validator.Validate diff --git a/dtos/address.go b/dtos/address.go index c7d5af17..ceaab6a1 100644 --- a/dtos/address.go +++ b/dtos/address.go @@ -6,9 +6,9 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type Address struct { diff --git a/dtos/address_test.go b/dtos/address_test.go index c467b5dd..5b17d997 100644 --- a/dtos/address_test.go +++ b/dtos/address_test.go @@ -11,8 +11,8 @@ import ( "net/http" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/autoevent.go b/dtos/autoevent.go index ba89d4b5..f3d38e9f 100644 --- a/dtos/autoevent.go +++ b/dtos/autoevent.go @@ -6,7 +6,7 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type AutoEvent struct { diff --git a/dtos/common/base.go b/dtos/common/base.go index b6a7e043..5c2435d3 100644 --- a/dtos/common/base.go +++ b/dtos/common/base.go @@ -8,7 +8,7 @@ package common import ( "github.com/google/uuid" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" ) // BaseRequest defines the base content for request DTOs (data transfer objects). diff --git a/dtos/common/base_test.go b/dtos/common/base_test.go index 1d13333d..bb179d53 100644 --- a/dtos/common/base_test.go +++ b/dtos/common/base_test.go @@ -11,7 +11,7 @@ import ( "fmt" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/common/config_test.go b/dtos/common/config_test.go index d2253203..2758c6f2 100644 --- a/dtos/common/config_test.go +++ b/dtos/common/config_test.go @@ -15,7 +15,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" ) func TestNewConfigResponse(t *testing.T) { diff --git a/dtos/common/ping_test.go b/dtos/common/ping_test.go index 5f9464e2..05f5e7f5 100644 --- a/dtos/common/ping_test.go +++ b/dtos/common/ping_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" ) func TestNewPingResponse(t *testing.T) { diff --git a/dtos/common/secret.go b/dtos/common/secret.go index 68308f7d..a33cbf50 100644 --- a/dtos/common/secret.go +++ b/dtos/common/secret.go @@ -19,8 +19,8 @@ package common import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // SecretDataKeyValue is a key/value pair to be stored in the Secret Store as part of the Secret Data diff --git a/dtos/common/secret_test.go b/dtos/common/secret_test.go index 4c568d24..0036a9fc 100644 --- a/dtos/common/secret_test.go +++ b/dtos/common/secret_test.go @@ -23,7 +23,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) const ( diff --git a/dtos/common/version_test.go b/dtos/common/version_test.go index a5877dcf..3346faee 100644 --- a/dtos/common/version_test.go +++ b/dtos/common/version_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" ) func TestNewVersionResponse(t *testing.T) { diff --git a/dtos/device.go b/dtos/device.go index 935dbe6b..12428f9f 100644 --- a/dtos/device.go +++ b/dtos/device.go @@ -6,7 +6,7 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type Device struct { diff --git a/dtos/device_test.go b/dtos/device_test.go index 2b62995c..d77ae056 100644 --- a/dtos/device_test.go +++ b/dtos/device_test.go @@ -8,7 +8,7 @@ package dtos import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" ) diff --git a/dtos/devicecommand.go b/dtos/devicecommand.go index 69eb7799..7435f442 100644 --- a/dtos/devicecommand.go +++ b/dtos/devicecommand.go @@ -5,7 +5,7 @@ package dtos -import "github.com/edgexfoundry/go-mod-core-contracts/v3/models" +import "github.com/edgexfoundry/go-mod-core-contracts/v4/models" type DeviceCommand struct { Name string `json:"name" yaml:"name" validate:"required,edgex-dto-none-empty-string"` diff --git a/dtos/deviceprofile.go b/dtos/deviceprofile.go index 04384322..a92a93d5 100644 --- a/dtos/deviceprofile.go +++ b/dtos/deviceprofile.go @@ -10,9 +10,9 @@ import ( "fmt" "strings" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - edgexErrors "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/common" + edgexErrors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type DeviceProfile struct { diff --git a/dtos/deviceprofile_test.go b/dtos/deviceprofile_test.go index 609e800d..1468b8d0 100644 --- a/dtos/deviceprofile_test.go +++ b/dtos/deviceprofile_test.go @@ -10,8 +10,8 @@ import ( "gopkg.in/yaml.v3" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/deviceresource.go b/dtos/deviceresource.go index 79374a09..2b9d58ea 100644 --- a/dtos/deviceresource.go +++ b/dtos/deviceresource.go @@ -5,7 +5,7 @@ package dtos -import "github.com/edgexfoundry/go-mod-core-contracts/v3/models" +import "github.com/edgexfoundry/go-mod-core-contracts/v4/models" type DeviceResource struct { Description string `json:"description" yaml:"description"` diff --git a/dtos/deviceservice.go b/dtos/deviceservice.go index 8cfe7191..c9cdcae1 100644 --- a/dtos/deviceservice.go +++ b/dtos/deviceservice.go @@ -6,7 +6,7 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type DeviceService struct { diff --git a/dtos/deviceservice_test.go b/dtos/deviceservice_test.go index 16c91386..f061989d 100644 --- a/dtos/deviceservice_test.go +++ b/dtos/deviceservice_test.go @@ -8,7 +8,7 @@ package dtos import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" ) diff --git a/dtos/discovereddevice.go b/dtos/discovereddevice.go index a56157cf..7f3349b6 100644 --- a/dtos/discovereddevice.go +++ b/dtos/discovereddevice.go @@ -5,7 +5,7 @@ package dtos -import "github.com/edgexfoundry/go-mod-core-contracts/v3/models" +import "github.com/edgexfoundry/go-mod-core-contracts/v4/models" type DiscoveredDevice struct { ProfileName string `json:"profileName" yaml:"profileName" validate:"len=0|edgex-dto-none-empty-string"` diff --git a/dtos/event.go b/dtos/event.go index 94600e94..eacc85c1 100644 --- a/dtos/event.go +++ b/dtos/event.go @@ -9,8 +9,8 @@ import ( "encoding/xml" "time" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/google/uuid" ) diff --git a/dtos/event_test.go b/dtos/event_test.go index e881892d..9a27de35 100644 --- a/dtos/event_test.go +++ b/dtos/event_test.go @@ -13,9 +13,9 @@ import ( "github.com/fxamacker/cbor/v2" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" ) diff --git a/dtos/interval.go b/dtos/interval.go index 6fad5409..96c0c10e 100644 --- a/dtos/interval.go +++ b/dtos/interval.go @@ -6,7 +6,7 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type Interval struct { diff --git a/dtos/intervalaction.go b/dtos/intervalaction.go index d8530fc6..fa9da13d 100644 --- a/dtos/intervalaction.go +++ b/dtos/intervalaction.go @@ -6,7 +6,7 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type IntervalAction struct { diff --git a/dtos/metric.go b/dtos/metric.go index 6c04f530..9e8e54a7 100644 --- a/dtos/metric.go +++ b/dtos/metric.go @@ -20,7 +20,7 @@ import ( "strings" "time" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // Metric defines the metric data for a specific named metric diff --git a/dtos/metric_test.go b/dtos/metric_test.go index ff1e46ce..3c9f3cd1 100644 --- a/dtos/metric_test.go +++ b/dtos/metric_test.go @@ -22,7 +22,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" ) func TestNewMetric(t *testing.T) { diff --git a/dtos/notification.go b/dtos/notification.go index 5272d06d..4f19f67d 100644 --- a/dtos/notification.go +++ b/dtos/notification.go @@ -6,7 +6,7 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/google/uuid" ) diff --git a/dtos/notification_test.go b/dtos/notification_test.go index 74fa4c6a..642a4563 100644 --- a/dtos/notification_test.go +++ b/dtos/notification_test.go @@ -3,7 +3,7 @@ package dtos import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" ) diff --git a/dtos/protocolproperties.go b/dtos/protocolproperties.go index 8076122a..6f3c3759 100644 --- a/dtos/protocolproperties.go +++ b/dtos/protocolproperties.go @@ -5,7 +5,7 @@ package dtos -import "github.com/edgexfoundry/go-mod-core-contracts/v3/models" +import "github.com/edgexfoundry/go-mod-core-contracts/v4/models" // ProtocolProperties contains the device connection information in key/value pair type ProtocolProperties map[string]any diff --git a/dtos/provisionwatcher.go b/dtos/provisionwatcher.go index 13822f8f..0fb93a1d 100644 --- a/dtos/provisionwatcher.go +++ b/dtos/provisionwatcher.go @@ -6,7 +6,7 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type ProvisionWatcher struct { diff --git a/dtos/provisionwatcher_test.go b/dtos/provisionwatcher_test.go index c8648213..098ee18b 100644 --- a/dtos/provisionwatcher_test.go +++ b/dtos/provisionwatcher_test.go @@ -8,7 +8,7 @@ package dtos import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" ) diff --git a/dtos/reading.go b/dtos/reading.go index 19c95f61..25361a29 100644 --- a/dtos/reading.go +++ b/dtos/reading.go @@ -16,9 +16,9 @@ import ( "github.com/fxamacker/cbor/v2" "github.com/google/uuid" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - edgexErrors "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/common" + edgexErrors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type BaseReading struct { diff --git a/dtos/reading_test.go b/dtos/reading_test.go index 3cf61f3a..4e2f5305 100644 --- a/dtos/reading_test.go +++ b/dtos/reading_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" ) diff --git a/dtos/registration.go b/dtos/registration.go index cc1f0b91..4f81d7be 100644 --- a/dtos/registration.go +++ b/dtos/registration.go @@ -6,9 +6,9 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type Registration struct { diff --git a/dtos/registration_test.go b/dtos/registration_test.go index e9e8f117..8e28005d 100644 --- a/dtos/registration_test.go +++ b/dtos/registration_test.go @@ -8,7 +8,7 @@ package dtos import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" ) diff --git a/dtos/requests/device.go b/dtos/requests/device.go index 9023e5fc..7feb65c6 100644 --- a/dtos/requests/device.go +++ b/dtos/requests/device.go @@ -8,11 +8,11 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // AddDeviceRequest defines the Request Content for POST Device DTO. diff --git a/dtos/requests/device_test.go b/dtos/requests/device_test.go index 0a7cf4e1..e89c8abf 100644 --- a/dtos/requests/device_test.go +++ b/dtos/requests/device_test.go @@ -10,10 +10,10 @@ import ( "fmt" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/requests/devicecommand.go b/dtos/requests/devicecommand.go index bfb0d31b..118b82b9 100644 --- a/dtos/requests/devicecommand.go +++ b/dtos/requests/devicecommand.go @@ -8,11 +8,11 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // AddDeviceCommandRequest defines the Request Content for POST DeviceCommand DTO. diff --git a/dtos/requests/devicecommand_test.go b/dtos/requests/devicecommand_test.go index a0d898bd..f9353d19 100644 --- a/dtos/requests/devicecommand_test.go +++ b/dtos/requests/devicecommand_test.go @@ -9,10 +9,10 @@ import ( "encoding/json" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/requests/deviceprofile.go b/dtos/requests/deviceprofile.go index eeeb7395..d63d248c 100644 --- a/dtos/requests/deviceprofile.go +++ b/dtos/requests/deviceprofile.go @@ -10,11 +10,11 @@ import ( "errors" "strings" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - edgexErrors "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + edgexErrors "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // DeviceProfileRequest defines the Request Content for POST DeviceProfile DTO. diff --git a/dtos/requests/deviceprofile_test.go b/dtos/requests/deviceprofile_test.go index 5080327b..ca0b4bbc 100644 --- a/dtos/requests/deviceprofile_test.go +++ b/dtos/requests/deviceprofile_test.go @@ -10,10 +10,10 @@ import ( "fmt" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/requests/deviceprofilebasicinfo.go b/dtos/requests/deviceprofilebasicinfo.go index 7e3e2feb..d270df18 100644 --- a/dtos/requests/deviceprofilebasicinfo.go +++ b/dtos/requests/deviceprofilebasicinfo.go @@ -8,11 +8,11 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // DeviceProfileBasicInfoRequest defines the Request Content for PATCH UpdateDeviceProfileBasicInfo DTO. diff --git a/dtos/requests/deviceprofilebasicinfo_test.go b/dtos/requests/deviceprofilebasicinfo_test.go index 9da12745..c99936c4 100644 --- a/dtos/requests/deviceprofilebasicinfo_test.go +++ b/dtos/requests/deviceprofilebasicinfo_test.go @@ -11,10 +11,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) var testBasicInfoRequest = DeviceProfileBasicInfoRequest{ diff --git a/dtos/requests/deviceresource.go b/dtos/requests/deviceresource.go index ef52becd..2e4d9f65 100644 --- a/dtos/requests/deviceresource.go +++ b/dtos/requests/deviceresource.go @@ -8,11 +8,11 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // AddDeviceResourceRequest defines the Request Content for POST DeviceResource DTO. diff --git a/dtos/requests/deviceresource_test.go b/dtos/requests/deviceresource_test.go index d65dbd06..089a1554 100644 --- a/dtos/requests/deviceresource_test.go +++ b/dtos/requests/deviceresource_test.go @@ -9,10 +9,10 @@ import ( "encoding/json" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/requests/deviceservice.go b/dtos/requests/deviceservice.go index 37b27aa2..418de2e2 100644 --- a/dtos/requests/deviceservice.go +++ b/dtos/requests/deviceservice.go @@ -8,11 +8,11 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // AddDeviceServiceRequest defines the Request Content for POST DeviceService DTO. diff --git a/dtos/requests/deviceservice_test.go b/dtos/requests/deviceservice_test.go index 12d775c3..a98258cc 100644 --- a/dtos/requests/deviceservice_test.go +++ b/dtos/requests/deviceservice_test.go @@ -10,10 +10,10 @@ import ( "fmt" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/requests/event.go b/dtos/requests/event.go index 8711b785..b158266c 100644 --- a/dtos/requests/event.go +++ b/dtos/requests/event.go @@ -9,11 +9,11 @@ import ( "encoding/json" "os" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/fxamacker/cbor/v2" ) diff --git a/dtos/requests/event_test.go b/dtos/requests/event_test.go index a40d5cb1..98f58101 100644 --- a/dtos/requests/event_test.go +++ b/dtos/requests/event_test.go @@ -11,9 +11,9 @@ import ( "strconv" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/fxamacker/cbor/v2" "github.com/stretchr/testify/assert" diff --git a/dtos/requests/interval.go b/dtos/requests/interval.go index daa5fc00..ef9070ee 100644 --- a/dtos/requests/interval.go +++ b/dtos/requests/interval.go @@ -8,11 +8,11 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // AddIntervalRequest defines the Request Content for POST Interval DTO. diff --git a/dtos/requests/interval_test.go b/dtos/requests/interval_test.go index 66b5b740..107ac96b 100644 --- a/dtos/requests/interval_test.go +++ b/dtos/requests/interval_test.go @@ -9,9 +9,9 @@ import ( "encoding/json" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/requests/intervalaction.go b/dtos/requests/intervalaction.go index 9803e170..571b9bac 100644 --- a/dtos/requests/intervalaction.go +++ b/dtos/requests/intervalaction.go @@ -8,11 +8,11 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // AddIntervalActionRequest defines the Request Content for POST Interval DTO. diff --git a/dtos/requests/intervalaction_test.go b/dtos/requests/intervalaction_test.go index e5e976f2..006ec9e4 100644 --- a/dtos/requests/intervalaction_test.go +++ b/dtos/requests/intervalaction_test.go @@ -9,10 +9,10 @@ import ( "encoding/json" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/requests/kvs.go b/dtos/requests/kvs.go index e117d82c..63ea73f7 100644 --- a/dtos/requests/kvs.go +++ b/dtos/requests/kvs.go @@ -8,9 +8,9 @@ package requests import ( "encoding/json" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // UpdateKeysRequest defines the Request Content for PUT Key DTO. diff --git a/dtos/requests/kvs_test.go b/dtos/requests/kvs_test.go index 8521932b..0984278a 100644 --- a/dtos/requests/kvs_test.go +++ b/dtos/requests/kvs_test.go @@ -9,8 +9,8 @@ import ( "encoding/json" "testing" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/requests/notification.go b/dtos/requests/notification.go index 4dd37edc..7cae7c9a 100644 --- a/dtos/requests/notification.go +++ b/dtos/requests/notification.go @@ -8,11 +8,11 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // AddNotificationRequest defines the Request Content for POST Notification DTO. diff --git a/dtos/requests/notification_test.go b/dtos/requests/notification_test.go index 1f19896d..54c2b6d4 100644 --- a/dtos/requests/notification_test.go +++ b/dtos/requests/notification_test.go @@ -9,8 +9,8 @@ import ( "encoding/json" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/requests/operation.go b/dtos/requests/operation.go index a906031c..59c86a88 100644 --- a/dtos/requests/operation.go +++ b/dtos/requests/operation.go @@ -8,9 +8,9 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // OperationRequest defines the Request Content for SMA POST Operation. diff --git a/dtos/requests/operation_test.go b/dtos/requests/operation_test.go index ca472817..3d562dd4 100644 --- a/dtos/requests/operation_test.go +++ b/dtos/requests/operation_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) var testOperationRequest = OperationRequest{ diff --git a/dtos/requests/profilescan.go b/dtos/requests/profilescan.go index df4a2293..bc03ff25 100644 --- a/dtos/requests/profilescan.go +++ b/dtos/requests/profilescan.go @@ -8,9 +8,9 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // ProfileScanRequest is the struct for requesting a profile for a specified device. diff --git a/dtos/requests/profilescan_test.go b/dtos/requests/profilescan_test.go index 257d07b5..dfbc1cf0 100644 --- a/dtos/requests/profilescan_test.go +++ b/dtos/requests/profilescan_test.go @@ -8,7 +8,7 @@ package requests import ( "testing" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" "github.com/stretchr/testify/assert" ) diff --git a/dtos/requests/provisionwatcher.go b/dtos/requests/provisionwatcher.go index facf6eec..9cff411f 100644 --- a/dtos/requests/provisionwatcher.go +++ b/dtos/requests/provisionwatcher.go @@ -8,11 +8,11 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // AddProvisionWatcherRequest defines the Request Content for POST ProvisionWatcher DTO. diff --git a/dtos/requests/provisionwatcher_test.go b/dtos/requests/provisionwatcher_test.go index 84cf59fc..e14d1163 100644 --- a/dtos/requests/provisionwatcher_test.go +++ b/dtos/requests/provisionwatcher_test.go @@ -13,9 +13,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) var testProvisionWatcherName = "TestWatcher" diff --git a/dtos/requests/registration.go b/dtos/requests/registration.go index 98eff479..2ac29af9 100644 --- a/dtos/requests/registration.go +++ b/dtos/requests/registration.go @@ -8,10 +8,10 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // AddRegistrationRequest defines the Request Content for POST Registration DTO. diff --git a/dtos/requests/registration_test.go b/dtos/requests/registration_test.go index e25dc746..48f1b8f9 100644 --- a/dtos/requests/registration_test.go +++ b/dtos/requests/registration_test.go @@ -8,8 +8,8 @@ package requests import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" "github.com/stretchr/testify/assert" ) diff --git a/dtos/requests/schedulejob.go b/dtos/requests/schedulejob.go index 29b5ae71..ace3fb98 100644 --- a/dtos/requests/schedulejob.go +++ b/dtos/requests/schedulejob.go @@ -7,12 +7,12 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // AddScheduleJobRequest defines the Request Content for POST ScheduleJob DTO. diff --git a/dtos/requests/schedulejob_test.go b/dtos/requests/schedulejob_test.go index 039faa85..0605dc51 100644 --- a/dtos/requests/schedulejob_test.go +++ b/dtos/requests/schedulejob_test.go @@ -13,9 +13,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) var ( diff --git a/dtos/requests/subscription.go b/dtos/requests/subscription.go index a2812486..93750e15 100644 --- a/dtos/requests/subscription.go +++ b/dtos/requests/subscription.go @@ -8,11 +8,11 @@ package requests import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) var supportedChannelTypes = []string{common.EMAIL, common.REST} diff --git a/dtos/requests/subscription_test.go b/dtos/requests/subscription_test.go index 34a04b62..9e4e712e 100644 --- a/dtos/requests/subscription_test.go +++ b/dtos/requests/subscription_test.go @@ -9,8 +9,8 @@ import ( "encoding/json" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/dtos/resourceoperation.go b/dtos/resourceoperation.go index 58df35ff..f6d98a6a 100644 --- a/dtos/resourceoperation.go +++ b/dtos/resourceoperation.go @@ -5,7 +5,7 @@ package dtos -import "github.com/edgexfoundry/go-mod-core-contracts/v3/models" +import "github.com/edgexfoundry/go-mod-core-contracts/v4/models" type ResourceOperation struct { DeviceResource string `json:"deviceResource" yaml:"deviceResource" validate:"required"` // The replacement of Object field diff --git a/dtos/resourceproperties.go b/dtos/resourceproperties.go index 13f50603..9bfcf4db 100644 --- a/dtos/resourceproperties.go +++ b/dtos/resourceproperties.go @@ -6,7 +6,7 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type ResourceProperties struct { diff --git a/dtos/responses/corecommand.go b/dtos/responses/corecommand.go index 3c27eeaf..10f111f0 100644 --- a/dtos/responses/corecommand.go +++ b/dtos/responses/corecommand.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // DeviceCoreCommandResponse defines the Response Content for GET DeviceCoreCommand DTO. diff --git a/dtos/responses/corecommand_test.go b/dtos/responses/corecommand_test.go index d3525c51..7ddc5d34 100644 --- a/dtos/responses/corecommand_test.go +++ b/dtos/responses/corecommand_test.go @@ -9,8 +9,8 @@ import ( "net/http" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/device.go b/dtos/responses/device.go index 10b6c467..811e31d1 100644 --- a/dtos/responses/device.go +++ b/dtos/responses/device.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // DeviceResponse defines the Response Content for GET Device DTOs. diff --git a/dtos/responses/device_test.go b/dtos/responses/device_test.go index 1274f50f..f3201da6 100644 --- a/dtos/responses/device_test.go +++ b/dtos/responses/device_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/deviceprofile.go b/dtos/responses/deviceprofile.go index 979d9d14..54ad1922 100644 --- a/dtos/responses/deviceprofile.go +++ b/dtos/responses/deviceprofile.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // DeviceProfileResponse defines the Response Content for GET DeviceProfile DTOs. diff --git a/dtos/responses/deviceprofile_test.go b/dtos/responses/deviceprofile_test.go index 5ea2a5f5..ee24ccfb 100644 --- a/dtos/responses/deviceprofile_test.go +++ b/dtos/responses/deviceprofile_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/deviceresource.go b/dtos/responses/deviceresource.go index 5bdc50d2..1f406f22 100644 --- a/dtos/responses/deviceresource.go +++ b/dtos/responses/deviceresource.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // DeviceResourceResponse defines the Response Content for GET DeviceResource DTOs. diff --git a/dtos/responses/deviceresource_test.go b/dtos/responses/deviceresource_test.go index e215ad83..4132f8ec 100644 --- a/dtos/responses/deviceresource_test.go +++ b/dtos/responses/deviceresource_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/deviceservice.go b/dtos/responses/deviceservice.go index 5c69d55a..f88261e9 100644 --- a/dtos/responses/deviceservice.go +++ b/dtos/responses/deviceservice.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // DeviceServiceResponse defines the Response Content for GET DeviceService DTOs. diff --git a/dtos/responses/deviceservice_test.go b/dtos/responses/deviceservice_test.go index 95d680f7..d8c5db4f 100644 --- a/dtos/responses/deviceservice_test.go +++ b/dtos/responses/deviceservice_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/event.go b/dtos/responses/event.go index 235e0fc4..f1767ce8 100644 --- a/dtos/responses/event.go +++ b/dtos/responses/event.go @@ -11,10 +11,10 @@ import ( "github.com/fxamacker/cbor/v2" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + dtoCommon "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // EventResponse defines the Response Content for GET event DTOs. diff --git a/dtos/responses/event_test.go b/dtos/responses/event_test.go index 3435f7be..836e3aa7 100644 --- a/dtos/responses/event_test.go +++ b/dtos/responses/event_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" ) func TestNewEventResponse(t *testing.T) { diff --git a/dtos/responses/interval.go b/dtos/responses/interval.go index 9fc4dcef..023a811c 100644 --- a/dtos/responses/interval.go +++ b/dtos/responses/interval.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // IntervalResponse defines the Response Content for GET Interval DTOs. diff --git a/dtos/responses/interval_test.go b/dtos/responses/interval_test.go index 42255ddf..7f80cd9b 100644 --- a/dtos/responses/interval_test.go +++ b/dtos/responses/interval_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/intervalaction.go b/dtos/responses/intervalaction.go index f47acd94..c9d60106 100644 --- a/dtos/responses/intervalaction.go +++ b/dtos/responses/intervalaction.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // IntervalActionResponse defines the Response Content for GET IntervalAction DTOs. diff --git a/dtos/responses/intervalaction_test.go b/dtos/responses/intervalaction_test.go index 72493c35..a4a6121a 100644 --- a/dtos/responses/intervalaction_test.go +++ b/dtos/responses/intervalaction_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/kvs.go b/dtos/responses/kvs.go index f878e4d4..02d0843f 100644 --- a/dtos/responses/kvs.go +++ b/dtos/responses/kvs.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) // MultiKVResponse defines the Response Content for GET Keys of core-keeper (GET /kvs/key/{key} API). diff --git a/dtos/responses/kvs_test.go b/dtos/responses/kvs_test.go index b783172d..2f0f9057 100644 --- a/dtos/responses/kvs_test.go +++ b/dtos/responses/kvs_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/notification.go b/dtos/responses/notification.go index 54b912f6..d4982433 100644 --- a/dtos/responses/notification.go +++ b/dtos/responses/notification.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // NotificationResponse defines the Response Content for GET Notification DTO. diff --git a/dtos/responses/notification_test.go b/dtos/responses/notification_test.go index 71791c1e..2bf2ded6 100644 --- a/dtos/responses/notification_test.go +++ b/dtos/responses/notification_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/provisionwatcher.go b/dtos/responses/provisionwatcher.go index e07cc28f..a813c6b7 100644 --- a/dtos/responses/provisionwatcher.go +++ b/dtos/responses/provisionwatcher.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // ProvisionWatcherResponse defines the Response Content for GET ProvisionWatcher DTOs. diff --git a/dtos/responses/provisionwatcher_test.go b/dtos/responses/provisionwatcher_test.go index 50dc6b2f..7381a5aa 100644 --- a/dtos/responses/provisionwatcher_test.go +++ b/dtos/responses/provisionwatcher_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/reading.go b/dtos/responses/reading.go index fc7b9ca6..c2125288 100644 --- a/dtos/responses/reading.go +++ b/dtos/responses/reading.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // ReadingResponse defines the Response Content for GET reading DTO. diff --git a/dtos/responses/reading_test.go b/dtos/responses/reading_test.go index 4a7d80bd..c2c8f55e 100644 --- a/dtos/responses/reading_test.go +++ b/dtos/responses/reading_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" ) func TestNewReadingResponse(t *testing.T) { diff --git a/dtos/responses/registration.go b/dtos/responses/registration.go index 6003abf7..6d42dca7 100644 --- a/dtos/responses/registration.go +++ b/dtos/responses/registration.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) type RegistrationResponse struct { diff --git a/dtos/responses/registration_test.go b/dtos/responses/registration_test.go index c7be0f67..9d05de17 100644 --- a/dtos/responses/registration_test.go +++ b/dtos/responses/registration_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/scheduleactionrecord.go b/dtos/responses/scheduleactionrecord.go index 319a64af..fd34107c 100644 --- a/dtos/responses/scheduleactionrecord.go +++ b/dtos/responses/scheduleactionrecord.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // ScheduleActionRecordResponse defines the Response Content for GET ScheduleActionRecord DTO. diff --git a/dtos/responses/scheduleactionrecord_test.go b/dtos/responses/scheduleactionrecord_test.go index e6ca6df9..db3bc992 100644 --- a/dtos/responses/scheduleactionrecord_test.go +++ b/dtos/responses/scheduleactionrecord_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" ) func TestNewScheduleActionRecordResponse(t *testing.T) { diff --git a/dtos/responses/schedulejob.go b/dtos/responses/schedulejob.go index 15c744d5..a3036736 100644 --- a/dtos/responses/schedulejob.go +++ b/dtos/responses/schedulejob.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // ScheduleJobResponse defines the Response Content for GET ScheduleJob DTO. diff --git a/dtos/responses/schedulejob_test.go b/dtos/responses/schedulejob_test.go index 3f1431fb..8a19c925 100644 --- a/dtos/responses/schedulejob_test.go +++ b/dtos/responses/schedulejob_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" ) func TestNewScheduleJobResponse(t *testing.T) { diff --git a/dtos/responses/subscription.go b/dtos/responses/subscription.go index 9a0d997f..46697cbc 100644 --- a/dtos/responses/subscription.go +++ b/dtos/responses/subscription.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // SubscriptionResponse defines the Subscription Content for GET Subscription DTOs. diff --git a/dtos/responses/subscription_test.go b/dtos/responses/subscription_test.go index 528dccc0..c4bfc836 100644 --- a/dtos/responses/subscription_test.go +++ b/dtos/responses/subscription_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/transmission.go b/dtos/responses/transmission.go index 36e9c0f7..3df8d777 100644 --- a/dtos/responses/transmission.go +++ b/dtos/responses/transmission.go @@ -6,8 +6,8 @@ package responses import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // TransmissionResponse defines the Response Content for GET Transmission DTO. diff --git a/dtos/responses/transmission_test.go b/dtos/responses/transmission_test.go index 5041ff58..808e5f63 100644 --- a/dtos/responses/transmission_test.go +++ b/dtos/responses/transmission_test.go @@ -8,7 +8,7 @@ package responses import ( "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos" "github.com/stretchr/testify/assert" ) diff --git a/dtos/responses/uom.go b/dtos/responses/uom.go index ec7bd0ec..bfa55151 100644 --- a/dtos/responses/uom.go +++ b/dtos/responses/uom.go @@ -5,7 +5,7 @@ package responses -import "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" +import "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" type UnitsOfMeasureResponse struct { common.BaseResponse `json:",inline"` diff --git a/dtos/scheduleactionrecord.go b/dtos/scheduleactionrecord.go index fb69f295..5bfe3ef8 100644 --- a/dtos/scheduleactionrecord.go +++ b/dtos/scheduleactionrecord.go @@ -6,9 +6,9 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type ScheduleActionRecord struct { diff --git a/dtos/scheduleactionrecord_test.go b/dtos/scheduleactionrecord_test.go index db1ba90e..e8f3548c 100644 --- a/dtos/scheduleactionrecord_test.go +++ b/dtos/scheduleactionrecord_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) var ( diff --git a/dtos/schedulejob.go b/dtos/schedulejob.go index 83fbd483..d2dac212 100644 --- a/dtos/schedulejob.go +++ b/dtos/schedulejob.go @@ -10,9 +10,9 @@ import ( "encoding/json" "fmt" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "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/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type ScheduleJob struct { diff --git a/dtos/schedulejob_test.go b/dtos/schedulejob_test.go index 65e23e35..b3a6ed4c 100644 --- a/dtos/schedulejob_test.go +++ b/dtos/schedulejob_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) const ( diff --git a/dtos/subscription.go b/dtos/subscription.go index 218cad86..fed70e41 100644 --- a/dtos/subscription.go +++ b/dtos/subscription.go @@ -6,7 +6,7 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type Subscription struct { diff --git a/dtos/systemevent.go b/dtos/systemevent.go index 040d06df..49ea238e 100644 --- a/dtos/systemevent.go +++ b/dtos/systemevent.go @@ -20,7 +20,7 @@ import ( "fmt" "time" - "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common" ) // SystemEvent defines the data for a system event diff --git a/dtos/systemevent_test.go b/dtos/systemevent_test.go index 3c167745..2ab7ad47 100644 --- a/dtos/systemevent_test.go +++ b/dtos/systemevent_test.go @@ -22,7 +22,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" ) var expectedApiVersion = common.ApiVersion diff --git a/dtos/transmission.go b/dtos/transmission.go index e230b622..618dd99d 100644 --- a/dtos/transmission.go +++ b/dtos/transmission.go @@ -6,7 +6,7 @@ package dtos import ( - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type Transmission struct { diff --git a/dtos/transmissionrecord.go b/dtos/transmissionrecord.go index e5a71e25..c6e15c0d 100644 --- a/dtos/transmissionrecord.go +++ b/dtos/transmissionrecord.go @@ -8,7 +8,7 @@ package dtos import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/models" + "github.com/edgexfoundry/go-mod-core-contracts/v4/models" ) type TransmissionRecord struct { diff --git a/go.mod b/go.mod index 5e796d54..0a338f8d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/edgexfoundry/go-mod-core-contracts/v3 +module github.com/edgexfoundry/go-mod-core-contracts/v4 go 1.23 diff --git a/models/address.go b/models/address.go index 83950adf..8218f935 100644 --- a/models/address.go +++ b/models/address.go @@ -8,8 +8,8 @@ package models import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type Address interface { diff --git a/models/intervalaction.go b/models/intervalaction.go index 8fe1c48a..2af74282 100644 --- a/models/intervalaction.go +++ b/models/intervalaction.go @@ -8,7 +8,7 @@ package models import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // AuthMethod controls the authentication method to be applied to outbound http requests for interval actions diff --git a/models/intervalaction_test.go b/models/intervalaction_test.go index a6db6e00..d3ff562e 100644 --- a/models/intervalaction_test.go +++ b/models/intervalaction_test.go @@ -9,7 +9,7 @@ import ( "encoding/json" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/models/log_entry.go b/models/log_entry.go index 81b92a0d..0df00d10 100644 --- a/models/log_entry.go +++ b/models/log_entry.go @@ -17,7 +17,7 @@ package models import ( "encoding/json" "fmt" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) // These constants identify the log levels in order of increasing severity. diff --git a/models/scheduleactionrecord.go b/models/scheduleactionrecord.go index 9a12dc85..cfc0caf1 100644 --- a/models/scheduleactionrecord.go +++ b/models/scheduleactionrecord.go @@ -8,7 +8,7 @@ package models import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type ScheduleActionRecord struct { diff --git a/models/schedulejob.go b/models/schedulejob.go index 07b8d911..80ad2d8e 100644 --- a/models/schedulejob.go +++ b/models/schedulejob.go @@ -9,8 +9,8 @@ import ( "encoding/json" "github.com/google/uuid" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type ScheduleJob struct { diff --git a/models/schedulejob_test.go b/models/schedulejob_test.go index 443ba0a6..68bac54a 100644 --- a/models/schedulejob_test.go +++ b/models/schedulejob_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" ) var intervalScheduleDef = IntervalScheduleDef{ diff --git a/models/subscription.go b/models/subscription.go index 2b9f2789..6a14f77f 100644 --- a/models/subscription.go +++ b/models/subscription.go @@ -8,7 +8,7 @@ package models import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type Subscription struct { diff --git a/models/subscription_test.go b/models/subscription_test.go index 3bd07afa..08747c10 100644 --- a/models/subscription_test.go +++ b/models/subscription_test.go @@ -9,7 +9,7 @@ import ( "encoding/json" "testing" - "github.com/edgexfoundry/go-mod-core-contracts/v3/common" + "github.com/edgexfoundry/go-mod-core-contracts/v4/common" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/models/transmission.go b/models/transmission.go index 77952613..9c86d861 100644 --- a/models/transmission.go +++ b/models/transmission.go @@ -8,7 +8,7 @@ package models import ( "encoding/json" - "github.com/edgexfoundry/go-mod-core-contracts/v3/errors" + "github.com/edgexfoundry/go-mod-core-contracts/v4/errors" ) type Transmission struct {