IAM: Adds the team creation endpoint in app platform (#111003)

* implement team creation for legacy store

* add generated code

* add basic integration test

* add new fields to get and list teams

* fix sql tests for teams

* register dual writer for team resource

* add generated code

* add more sql tests for team creation

* address feedback

* add integration tests
This commit is contained in:
Mihai Doarna
2025-09-18 14:43:07 +03:00
committed by GitHub
parent 975ba0bf8b
commit 9d9dca3208
35 changed files with 1441 additions and 114 deletions
@@ -0,0 +1,6 @@
INSERT INTO {{ .Ident .TeamTable }}
(uid, name, org_id, created, updated, email, is_provisioned, external_uid)
VALUES
({{ .Arg .Command.UID }}, {{ .Arg .Command.Name }}, {{ .Arg .Command.OrgID }}, {{ .Arg .Command.Created }},
{{ .Arg .Command.Updated }}, {{ .Arg .Command.Email }}, {{ .Arg .Command.IsProvisioned }},
{{ .Arg .Command.ExternalUID }})