fix: rename iam to instance (#3345)

* fix: rename iam command side to instance

* fix: rename iam command side to instance

* fix: rename iam command side to instance

* fix: rename iam command side to instance

* fix: rename orgiampolicy to domain policy

* fix: merge conflicts

* fix: protos

* fix: md files

* implement deprecated org iam policy again

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
Fabi
2022-03-24 17:21:34 +01:00
committed by GitHub
parent 504fe5b761
commit 9d4f296c62
274 changed files with 12073 additions and 11853 deletions

View File

@@ -13,7 +13,7 @@ import (
"github.com/caos/zitadel/internal/eventstore/v1/models"
"github.com/caos/zitadel/internal/id"
id_mock "github.com/caos/zitadel/internal/id/mock"
"github.com/caos/zitadel/internal/repository/iam"
"github.com/caos/zitadel/internal/repository/instance"
"github.com/caos/zitadel/internal/repository/member"
"github.com/caos/zitadel/internal/repository/project"
)
@@ -62,8 +62,8 @@ func TestCommandSide_AddProject(t *testing.T) {
t,
expectFilter(
eventFromEventPusher(
iam.NewGlobalOrgSetEventEvent(context.Background(),
&iam.NewAggregate().Aggregate,
instance.NewGlobalOrgSetEventEvent(context.Background(),
&instance.NewAggregate().Aggregate,
"globalorg",
),
),
@@ -114,8 +114,8 @@ func TestCommandSide_AddProject(t *testing.T) {
t,
expectFilter(
eventFromEventPusher(
iam.NewGlobalOrgSetEventEvent(context.Background(),
&iam.NewAggregate().Aggregate,
instance.NewGlobalOrgSetEventEvent(context.Background(),
&instance.NewAggregate().Aggregate,
"globalorg",
),
),
@@ -176,8 +176,8 @@ func TestCommandSide_AddProject(t *testing.T) {
t,
expectFilter(
eventFromEventPusher(
iam.NewGlobalOrgSetEventEvent(context.Background(),
&iam.NewAggregate().Aggregate,
instance.NewGlobalOrgSetEventEvent(context.Background(),
&instance.NewAggregate().Aggregate,
"globalorg",
),
),