change module name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
user "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
|
||||
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
|
||||
"github.com/owncloud/ocis/v2/protogen/gen/ocis/messages/policies/v0"
|
||||
"github.com/opencloud-eu/opencloud/protogen/gen/ocis/messages/policies/v0"
|
||||
"google.golang.org/protobuf/encoding/protojson"
|
||||
)
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ package engine_test
|
||||
import (
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
. "github.com/onsi/gomega"
|
||||
pMessage "github.com/owncloud/ocis/v2/protogen/gen/ocis/messages/policies/v0"
|
||||
"github.com/owncloud/ocis/v2/services/policies/pkg/engine"
|
||||
pMessage "github.com/opencloud-eu/opencloud/protogen/gen/ocis/messages/policies/v0"
|
||||
"github.com/opencloud-eu/opencloud/services/policies/pkg/engine"
|
||||
)
|
||||
|
||||
var _ = Describe("Engine", func() {
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
"github.com/open-policy-agent/opa/rego"
|
||||
"github.com/open-policy-agent/opa/topdown/print"
|
||||
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/log"
|
||||
"github.com/owncloud/ocis/v2/services/policies/pkg/config"
|
||||
"github.com/owncloud/ocis/v2/services/policies/pkg/engine"
|
||||
"github.com/opencloud-eu/opencloud/ocis-pkg/log"
|
||||
"github.com/opencloud-eu/opencloud/services/policies/pkg/config"
|
||||
"github.com/opencloud-eu/opencloud/services/policies/pkg/engine"
|
||||
)
|
||||
|
||||
// OPA wraps open policy agent makes it possible to ask if an action is granted.
|
||||
|
||||
@@ -3,7 +3,7 @@ package opa
|
||||
import (
|
||||
"github.com/open-policy-agent/opa/topdown/print"
|
||||
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/log"
|
||||
"github.com/opencloud-eu/opencloud/ocis-pkg/log"
|
||||
)
|
||||
|
||||
type logPrinter struct {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
. "github.com/onsi/gomega"
|
||||
"github.com/open-policy-agent/opa/rego"
|
||||
|
||||
"github.com/owncloud/ocis/v2/services/policies/pkg/engine/opa"
|
||||
"github.com/opencloud-eu/opencloud/services/policies/pkg/engine/opa"
|
||||
)
|
||||
|
||||
var _ = Describe("opa ocis mimetype functions", func() {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
. "github.com/onsi/gomega"
|
||||
"github.com/open-policy-agent/opa/rego"
|
||||
|
||||
"github.com/owncloud/ocis/v2/services/policies/pkg/engine/opa"
|
||||
"github.com/opencloud-eu/opencloud/services/policies/pkg/engine/opa"
|
||||
)
|
||||
|
||||
var _ = Describe("opa ocis resource functions", func() {
|
||||
|
||||
Reference in New Issue
Block a user