upgrade to go micro v4.1.0

This commit is contained in:
Willy Kloucek
2021-10-14 15:56:19 +02:00
parent ce136b4940
commit 6d5a3733ff
45 changed files with 109 additions and 100 deletions
+1 -1
View File
@@ -7,12 +7,12 @@ import (
"net/http/httptest"
"testing"
"github.com/asim/go-micro/v3/client"
userv1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
revactx "github.com/cs3org/reva/pkg/ctx"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/ocis-pkg/oidc"
"github.com/owncloud/ocis/proxy/pkg/config"
"go-micro.dev/v4/client"
)
func TestLoadSelector(t *testing.T) {
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"crypto/tls"
"os"
"github.com/asim/go-micro/v3"
pkgcrypto "github.com/owncloud/ocis/ocis-pkg/crypto"
svc "github.com/owncloud/ocis/ocis-pkg/service/http"
"go-micro.dev/v4"
)
// Server initializes the http service and server.
+1 -1
View File
@@ -4,7 +4,6 @@ import (
"context"
"testing"
"github.com/asim/go-micro/v3/client"
userv1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
"github.com/cs3org/reva/pkg/token/manager/jwt"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
@@ -13,6 +12,7 @@ import (
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
"github.com/rs/zerolog"
"github.com/stretchr/testify/assert"
"go-micro.dev/v4/client"
)
var mockAccResp = []*accounts.Account{