fix: update config to commands (and queries) (#1342)

* fix: adaot config to commands (and queries)

* remove dependency on vv2 in v1

* add queries user to operator

* set password for queries on tests

* set password for queries on tests

* fix config
This commit is contained in:
Livio Amstutz
2021-02-24 11:17:39 +01:00
committed by GitHub
parent 438daebdb9
commit 8dcbbc87ca
101 changed files with 1122 additions and 1078 deletions

View File

@@ -11,7 +11,7 @@ import (
)
type ApplicationRepo struct {
Commands *command.CommandSide
Commands *command.Commands
View *view.View
}

View File

@@ -30,7 +30,7 @@ import (
)
type AuthRequestRepo struct {
Command *command.CommandSide
Command *command.Commands
AuthRequests cache.AuthRequestCache
View *view.View

View File

@@ -10,7 +10,7 @@ import (
type IAMRepository struct {
IAMID string
IAMV2QuerySide *query.QuerySide
IAMV2QuerySide *query.Queries
}
func (repo *IAMRepository) GetIAM(ctx context.Context) (*model.IAM, error) {

View File

@@ -20,7 +20,7 @@ import (
)
type KeyRepository struct {
Commands *command.CommandSide
Commands *command.Commands
Eventstore *eventstore.Eventstore
View *view.View
SigningKeyRotationCheck time.Duration