Skip to content

Commit

Permalink
Merge pull request #784 from jinlinGuan/v4-module
Browse files Browse the repository at this point in the history
refactor!: update module to v4
  • Loading branch information
cloudxxx8 authored Oct 24, 2024
2 parents 0084363 + 6033f3b commit cb863e3
Show file tree
Hide file tree
Showing 77 changed files with 356 additions and 383 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "github.com/edgexfoundry/go-mod-core-contracts/v3"
- dependency-name: "github.com/edgexfoundry/go-mod-messaging/v3"
- dependency-name: "github.com/edgexfoundry/go-mod-core-contracts/v4"
- dependency-name: "github.com/edgexfoundry/go-mod-messaging/v4"
26 changes: 13 additions & 13 deletions bootstrap/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ import (
"sync"
"syscall"

"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils"
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/config"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/container"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/environment"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/flags"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/registration"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/secret"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/startup"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/utils"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"

"github.com/edgexfoundry/go-mod-registry/v3/registry"
"github.com/edgexfoundry/go-mod-registry/v4/registry"

"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v3/models"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v4/models"
)

// Deferred defines the signature of a function returned by RunAndReturnWaitGroup that should be executed via defer.
Expand Down
30 changes: 15 additions & 15 deletions bootstrap/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,28 @@ import (
"sync"
"time"

"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils"
"github.com/edgexfoundry/go-mod-core-contracts/v3/common"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/file"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/utils"
"github.com/edgexfoundry/go-mod-core-contracts/v4/common"
"github.com/mitchellh/copystructure"
"gopkg.in/yaml.v3"

"github.com/edgexfoundry/go-mod-bootstrap/v3/config"
"github.com/edgexfoundry/go-mod-bootstrap/v4/config"

"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup"
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/container"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/environment"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/flags"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/startup"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"

"github.com/edgexfoundry/go-mod-configuration/v3/configuration"
"github.com/edgexfoundry/go-mod-configuration/v3/pkg/types"
"github.com/edgexfoundry/go-mod-configuration/v4/configuration"
"github.com/edgexfoundry/go-mod-configuration/v4/pkg/types"

clientinterfaces "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
clientinterfaces "github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger"

"github.com/edgexfoundry/go-mod-messaging/v3/messaging"
"github.com/edgexfoundry/go-mod-messaging/v4/messaging"
)

const (
Expand Down
34 changes: 17 additions & 17 deletions bootstrap/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ import (

"github.com/stretchr/testify/mock"

"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup"
"github.com/edgexfoundry/go-mod-bootstrap/v3/config"
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-configuration/v3/configuration"
"github.com/edgexfoundry/go-mod-configuration/v3/configuration/mocks"
"github.com/edgexfoundry/go-mod-configuration/v3/pkg/types"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v3/common"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/container"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/environment"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/flags"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/startup"
"github.com/edgexfoundry/go-mod-bootstrap/v4/config"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
"github.com/edgexfoundry/go-mod-configuration/v4/configuration"
"github.com/edgexfoundry/go-mod-configuration/v4/configuration/mocks"
"github.com/edgexfoundry/go-mod-configuration/v4/pkg/types"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v4/common"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -215,7 +215,7 @@ func TestLoadCommonConfig(t *testing.T) {
providerClientMock.On("IsAlive").Return(tc.isAlive)
serviceConfigMock := ConfigurationMockStruct{}
if tc.isAlive {
providerClientMock.On("GetConfigurationValueByFullPath", "edgex/v3/core-common-config-bootstrapper/IsCommonConfigReady").Return(tc.isCommonConfigReady, tc.commonConfigReadyErr)
providerClientMock.On("GetConfigurationValueByFullPath", common.ConfigStemAll+"/core-common-config-bootstrapper/IsCommonConfigReady").Return(tc.isCommonConfigReady, tc.commonConfigReadyErr)
}
ccReady, err := strconv.ParseBool(string(tc.isCommonConfigReady))
if err == nil && ccReady {
Expand All @@ -227,14 +227,14 @@ func TestLoadCommonConfig(t *testing.T) {
switch tc.serviceType {
case config.ServiceTypeApp:
configKeys = []string{
"edgex/v3/core-common-config-bootstrapper/app-services/Writable/StoreAndForward/Enabled",
"edgex/v3/core-common-config-bootstrapper/app-services/Writable/StoreAndForward/RetryInterval",
"edgex/v3/core-common-config-bootstrapper/app-services/Writable/StoreAndForward/MaxRetryCount",
common.ConfigStemAll + "/core-common-config-bootstrapper/app-services/Writable/StoreAndForward/Enabled",
common.ConfigStemAll + "/core-common-config-bootstrapper/app-services/Writable/StoreAndForward/RetryInterval",
common.ConfigStemAll + "/core-common-config-bootstrapper/app-services/Writable/StoreAndForward/MaxRetryCount",
}
case config.ServiceTypeDevice:
configKeys = []string{
"edgex/v3/core-common-config-bootstrapper/device-services/Writable/Telemetry/Metrics/EventsSent",
"edgex/v3/core-common-config-bootstrapper/device-services/Writable/Telemetry/Metrics/ReadingsSent",
common.ConfigStemAll + "/core-common-config-bootstrapper/device-services/Writable/Telemetry/Metrics/EventsSent",
common.ConfigStemAll + "/core-common-config-bootstrapper/device-services/Writable/Telemetry/Metrics/ReadingsSent",
}
}

Expand Down
2 changes: 1 addition & 1 deletion bootstrap/config/configmock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package config

import (
"github.com/edgexfoundry/go-mod-bootstrap/v3/config"
"github.com/edgexfoundry/go-mod-bootstrap/v4/config"
)

type WritableInfo struct {
Expand Down
6 changes: 3 additions & 3 deletions bootstrap/config/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
package config

import (
"github.com/edgexfoundry/go-mod-configuration/v3/pkg/types"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces"
"github.com/edgexfoundry/go-mod-configuration/v4/pkg/types"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces"

"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/environment"
)

// ProviderInfo encapsulates the usage of the Configuration Provider information
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/config/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/environment"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/container/cancel.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package container
import (
"context"

"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
)

// CancelFuncName contains the name of the context.CancelFunc in the DIC.
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/container/clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
package container

import (
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces"

"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
)

// EventClientName contains the name of the EventClient's implementation in the DIC.
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/container/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
package container

import (
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces"
)

// CommonClientName contains the name of the CommonClient instance in the DIC.
Expand Down
6 changes: 3 additions & 3 deletions bootstrap/container/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
package container

import (
"github.com/edgexfoundry/go-mod-configuration/v3/configuration"
"github.com/edgexfoundry/go-mod-configuration/v4/configuration"

"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
)

// ConfigurationInterfaceName contains the name of the interfaces.Configuration implementation in the DIC.
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/container/dev_remote_mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package container

import (
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
)

type DevRemoteMode struct {
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/container/externalmqtt.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package container
import (
mqtt "github.com/eclipse/paho.mqtt.golang"

"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
)

// ExternalMQTTMessagingClientName contains the name of the external messaging client instance in the DIC.
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/container/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package container

import (
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger"

"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
)

// LoggingClientInterfaceName contains the name of the logger.LoggingClient implementation in the DIC.
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/container/messaging.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
package container

import (
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-messaging/v3/messaging"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
"github.com/edgexfoundry/go-mod-messaging/v4/messaging"
)

// MessagingClientName contains the name of the messaging client instance in the DIC.
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/container/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
package container

import (
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
)

// MetricsManagerInterfaceName contains the name of the metrics.Manager implementation in the DIC.
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/container/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package container

import (
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"

"github.com/edgexfoundry/go-mod-registry/v3/registry"
"github.com/edgexfoundry/go-mod-registry/v4/registry"
)

// RegistryClientInterfaceName contains the name of the registry.Client implementation in the DIC.
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/container/runtime_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package container

import (
"github.com/edgexfoundry/go-mod-secrets/v3/pkg/token/runtimetokenprovider"
"github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/runtimetokenprovider"

"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
)

// RuntimeTokenProviderInterfaceName contains the name of the runtimetokenprovider.RuntimeTokenProvider implementation in the DIC.
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/container/secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
package container

import (
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
)

// SecretProviderName contains the name of the interfaces.SecretProvider implementation in the DIC.
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/container/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package container

import (
"github.com/edgexfoundry/go-mod-secrets/v3/pkg/token/authtokenloader"
"github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/authtokenloader"

"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
)

//// FileIoPerformerInterfaceName contains the name of the fileioperformer.FileIoPerformer implementation in the DIC.
Expand Down
18 changes: 9 additions & 9 deletions bootstrap/controller/commonapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ import (
"net/http"
"strings"

"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils"
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v3/common"
commonDTO "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common"
"github.com/edgexfoundry/go-mod-core-contracts/v3/errors"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/container"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/handlers"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/interfaces"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/utils"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v4/common"
commonDTO "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common"
"github.com/edgexfoundry/go-mod-core-contracts/v4/errors"

"github.com/labstack/echo/v4"
"github.com/mitchellh/mapstructure"
Expand Down
14 changes: 7 additions & 7 deletions bootstrap/controller/commonapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container"
"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks"
bootstrapConfig "github.com/edgexfoundry/go-mod-bootstrap/v3/config"
"github.com/edgexfoundry/go-mod-bootstrap/v3/di"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v3/common"
commonDTO "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/container"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/interfaces/mocks"
bootstrapConfig "github.com/edgexfoundry/go-mod-bootstrap/v4/config"
"github.com/edgexfoundry/go-mod-bootstrap/v4/di"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v4/common"
commonDTO "github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common"
)

var validAddSecretRequest = commonDTO.NewSecretRequest(
Expand Down
8 changes: 4 additions & 4 deletions bootstrap/environment/variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import (
"strings"
"time"

"github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v3/models"
"github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/utils"
"github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v4/models"

"github.com/edgexfoundry/go-mod-configuration/v3/pkg/types"
"github.com/edgexfoundry/go-mod-configuration/v4/pkg/types"
)

const (
Expand Down
Loading

0 comments on commit cb863e3

Please sign in to comment.