feat: new projects (#1207)

* fix: project events

* fix: project events

* fix: project events

* fix: eventmapper

* fix: project commands

* fix: project role commands

* fix: project command side

* fix: oidc application

* fix: oidc application

* fix: reduce

* fix: reduce

* fix: project member

* fix: project grant command side

* fix: application command side

* fix: project grant member remove

* Update internal/v2/command/project.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* Update internal/v2/command/project.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* Update internal/v2/command/project_application.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* Update internal/v2/command/project_application.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* Update internal/v2/command/project_application.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* fix: oidc application string pw

* fix: project events

* fix: project grant member

* feat: change application to interface

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
Fabi
2021-01-28 06:35:26 +01:00
committed by GitHub
parent dfcb96d6a3
commit c65331df1a
58 changed files with 3746 additions and 965 deletions

View File

@@ -158,27 +158,36 @@ Errors:
NotInactive: Projekt ist nicht deaktiviert
NotFound: Project konnte nicht gefunden werden
UserIDMissing: User ID fehlt
MemberNotFound: Member konnte nicht gefunden werden
MemberInvalid: Member ist ungültig
MemberAlreadyExists: Member existiert bereits
MemberNotExisting: Member existiert nicht
Member:
Invalid: Member ist ungültig
AlreadyExists: Member existiert bereits
NotExisting: Member existiert nicht
NotFound: Member konnte nicht gefunden werden
MinimumOneRoleNeeded: Es muss mindestend eine Rolle hinzugefügt werden
RoleAlreadyExists: Rolle existiert bereits
RoleInvalid: Rolle ist ungültig
RoleNotExisting: Rolle existiert nicht
Role:
AlreadyExists: Rolle existiert bereits
Invalid: Rolle ist ungültig
NotExisting: Rolle existiert nicht
IDMissing: ID fehlt
AppNotFound: Applikation nicht gefunden
AppInvalid: Applikation ist ungültig
AppNotExisting: Applikation exisitert nicht
OIDCConfigInvalid: OIDC Konfiguration ist ungültig
AppIsNotOIDC: Applikation ist nicht vom Typ OIDC
App:
AlreadyExists: Applikation existiert bereits
NotFound: Applikation nicht gefunden
Invalid: Applikation ist ungültig
NotExisting: Applikation exisitert nicht
IsNotOIDC: Applikation ist nicht vom Typ OIDC
NotActive: Applikation ist nicht aktiv
NotInactive: Applikation ist nickt inaktiv
OIDCConfigInvalid: OIDC Konfiguration ist ungültig
OIDCAuthMethodNoneSecret: OIDC Auth Method None benötigt kein Secret
RequiredFieldsMissing: Benötigte Felder fehlen
GrantNotFound: Grant konnte nicht gefunden werden
GrantInvalid: Projekt Grant ist ungültig
GrantAlreadyExists: Projekt Grant existiert bereits
GrantNotExists: Projekt Grant existiert nicht
GrantHasNotExistingRole: Eine der Rollen existiert nicht auf dem Projekt
Grant:
AlreadyExists: Projekt Grant existiert bereits
Invalid: Projekt Grant ist ungültig
NotFound: Grant konnte nicht gefunden werden
NotExisting: Projekt Grant existiert nicht
HasNotExistingRole: Eine der Rollen existiert nicht auf dem Projekt
NotActive: Projekt Grant ist nicht aktiv
NotInactive: Projekt Grant ist nicht inaktiv
UserIDMisisng: User ID fehlt
OIDCSecretInvalid: Client Secret ist ungültig
IAM:

View File

@@ -158,27 +158,35 @@ Errors:
NotInactive: Project is not deactivated
NotFound: Porject not found
UserIDMissing: User ID missing
MemberNotFound: Project member not found
MemberInvalid: Project member is invalid
MemberAlreadyExists: Project member already exists
MemberNotExisting: Project member doesn't exist
Member:
NotFound: Project member not found
Invalid: Project member is invalid
AlreadyExists: Project member already exists
NotExisting: Project member doesn't exist
MinimumOneRoleNeeded: At least one role must be added
RoleAlreadyExists: Role already exists
RoleInvalid: Role is invalid
RoleNotExisting: Role doesn't exist
Role:
AlreadyExists: Role already exists
Invalid: Role is invalid
NotExisting: Role doesn't exist
IDMissing: ID missing
AppNotFound: Application not found
AppInvalid: Application invalid
AppNotExisting: Application doesn't exist
App:
AlreadyExists: Application already exists
Invalid: Application invalid
NotExisting: Application doesn't exist
IsNotOIDC: Application is not type oidc
NotActive:: Application is not active
NotInactive: Application is not inactive
OIDCConfigInvalid: OIDC configuration is invalid
AppIsNotOIDC: Application is not type oidc
OIDCAuthMethodNoneSecret: OIDC Auth Method None does not require a secret
RequiredFieldsMissing: Some required fields are missing
GrantNotFound: Grant not found
GrantInvalid: Project grant is invalid
GrantAlreadyExists: Project grant already exists
GrantNotExists: Project grant doesn't exist
GrantHasNotExistingRole: One role doesn't exist on project
Grant:
AlreadyExists: Project grant already exists
NotFound: Grant not found
Invalid: Project grant is invalid
NotExisting: Project grant doesn't exist
HasNotExistingRole: One role doesn't exist on project
NotActive: Project grant is not active
NotInactive: Project grant is not inactive
UserIDMisisng: User ID missing
OIDCSecretInvalid: Client Secret is invalid
IAM: