Skip to content

Commit 9222ac1

Browse files
authored
chore: moved to platform-mesh/golang-commons (#21)
* moved to the latest platform-mesh/golang-commons On-behalf-of: @SAP [email protected] Signed-off-by: Artem Shcherbatiuk <[email protected]>
1 parent 1681b4d commit 9222ac1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+101
-98
lines changed

cmd/gateway.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
"net/http"
88
"time"
99

10-
openmfpcontext "github.com/openmfp/golang-commons/context"
11-
"github.com/openmfp/golang-commons/logger"
12-
"github.com/openmfp/golang-commons/sentry"
13-
"github.com/openmfp/golang-commons/traces"
10+
openmfpcontext "github.com/platform-mesh/golang-commons/context"
11+
"github.com/platform-mesh/golang-commons/logger"
12+
"github.com/platform-mesh/golang-commons/sentry"
13+
"github.com/platform-mesh/golang-commons/traces"
1414
"github.com/prometheus/client_golang/prometheus/promhttp"
1515
"github.com/spf13/cobra"
1616
ctrl "sigs.k8s.io/controller-runtime"

cmd/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"github.com/spf13/cobra"
55
"github.com/spf13/viper"
66

7-
openmfpconfig "github.com/openmfp/golang-commons/config"
8-
"github.com/openmfp/golang-commons/logger"
7+
openmfpconfig "github.com/platform-mesh/golang-commons/config"
8+
"github.com/platform-mesh/golang-commons/logger"
99
"github.com/platform-mesh/kubernetes-graphql-gateway/common/config"
1010
)
1111

common/auth/metadata_injector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"k8s.io/client-go/tools/clientcmd/api"
1616
"sigs.k8s.io/controller-runtime/pkg/client"
1717

18-
"github.com/openmfp/golang-commons/logger"
18+
"github.com/platform-mesh/golang-commons/logger"
1919
gatewayv1alpha1 "github.com/platform-mesh/kubernetes-graphql-gateway/common/apis/v1alpha1"
2020
)
2121

common/auth/metadata_injector_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"encoding/base64"
1313

14-
"github.com/openmfp/golang-commons/logger/testlogger"
14+
"github.com/platform-mesh/golang-commons/logger/testlogger"
1515
gatewayv1alpha1 "github.com/platform-mesh/kubernetes-graphql-gateway/common/apis/v1alpha1"
1616
corev1 "k8s.io/api/core/v1"
1717
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

common/watcher/watcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"time"
1010

1111
"github.com/fsnotify/fsnotify"
12-
"github.com/openmfp/golang-commons/logger"
12+
"github.com/platform-mesh/golang-commons/logger"
1313
)
1414

1515
// FileEventHandler handles file system events

common/watcher/watcher_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"time"
1010

1111
"github.com/fsnotify/fsnotify"
12-
"github.com/openmfp/golang-commons/logger/testlogger"
12+
"github.com/platform-mesh/golang-commons/logger/testlogger"
1313
"github.com/platform-mesh/kubernetes-graphql-gateway/common"
1414
"github.com/stretchr/testify/assert"
1515
"github.com/stretchr/testify/require"

gateway/manager/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"fmt"
66
"net/http"
77

8-
"github.com/openmfp/golang-commons/logger"
98
"github.com/pkg/errors"
9+
"github.com/platform-mesh/golang-commons/logger"
1010
"k8s.io/client-go/rest"
1111

1212
appConfig "github.com/platform-mesh/kubernetes-graphql-gateway/common/config"

gateway/manager/manager_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"errors"
55
"testing"
66

7-
"github.com/openmfp/golang-commons/logger/testlogger"
7+
"github.com/platform-mesh/golang-commons/logger/testlogger"
88
"github.com/platform-mesh/kubernetes-graphql-gateway/gateway/manager/mocks"
99
"github.com/stretchr/testify/assert"
1010
)

gateway/manager/roundtripper/roundtripper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66

77
"github.com/golang-jwt/jwt/v5"
8-
"github.com/openmfp/golang-commons/logger"
8+
"github.com/platform-mesh/golang-commons/logger"
99
"k8s.io/client-go/transport"
1010

1111
"github.com/platform-mesh/kubernetes-graphql-gateway/common/config"

gateway/manager/roundtripper/roundtripper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"testing"
88

99
"github.com/golang-jwt/jwt/v5"
10-
"github.com/openmfp/golang-commons/logger/testlogger"
10+
"github.com/platform-mesh/golang-commons/logger/testlogger"
1111
"github.com/stretchr/testify/assert"
1212
"github.com/stretchr/testify/mock"
1313
"github.com/stretchr/testify/require"

0 commit comments

Comments
 (0)