feat: asset storage (#1696)

* feat: remove assets

* feat: minio implementation

* fix: remove assets from tests

* feat: minio implementation

* feat: Env vars

* fix: sprintf

* fix: sprintf

* Update internal/eventstore/repository/repository.go

Co-authored-by: Livio Amstutz <[email protected]>

* fix: error handling

Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
Fabi
2021-05-03 10:15:50 +02:00
committed by GitHub
co-authored by Livio Amstutz
parent a5c6bf5498
commit 667cc30291
110 changed files with 306 additions and 938 deletions
-6
View File
@@ -175,7 +175,6 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
newFeaturesSetEvent(context.Background(), "org1", "Test", domain.FeaturesStateActive, time.Hour),
),
},
nil,
),
),
iamDomain: "iam-domain",
@@ -309,7 +308,6 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
newFeaturesSetEvent(context.Background(), "org1", "Test", domain.FeaturesStateActive, time.Hour),
),
},
nil,
uniqueConstraintsFromEventConstraint(org.NewRemoveOrgDomainUniqueConstraint("test1")),
),
),
@@ -454,7 +452,6 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
newFeaturesSetEvent(context.Background(), "org1", "Test", domain.FeaturesStateActive, time.Hour),
),
},
nil,
uniqueConstraintsFromEventConstraint(org.NewRemoveOrgDomainUniqueConstraint("test1")),
),
),
@@ -609,7 +606,6 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
newFeaturesSetEvent(context.Background(), "org1", "Test", domain.FeaturesStateActive, time.Hour),
),
},
nil,
uniqueConstraintsFromEventConstraint(org.NewRemoveOrgDomainUniqueConstraint("test1")),
),
),
@@ -806,7 +802,6 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
newFeaturesSetEvent(context.Background(), "org1", "Test", domain.FeaturesStateActive, time.Hour),
),
},
nil,
),
),
iamDomain: "iam-domain",
@@ -989,7 +984,6 @@ func TestCommandSide_RemoveOrgFeatures(t *testing.T) {
org.NewFeaturesRemovedEvent(context.Background(), &org.NewAggregate("org1", "org1").Aggregate),
),
},
nil,
),
),
iamDomain: "iam-domain",