zitadel/internal/query/projection
Livio Amstutz 56b916a2b0
feat: projections auto create their tables (#3324)
* begin init checks for projections

* first projection checks

* debug notification providers with query fixes

* more projections and first index

* more projections

* more projections

* finish projections

* fix tests (remove db name)

* create tables in setup

* fix logging / error handling

* add tenant to views

* rename tenant to instance_id

* add instance_id to all projections

* add instance_id to all queries

* correct instance_id on projections

* add instance_id to failed_events

* use separate context for instance

* implement features projection

* implement features projection

* remove unique constraint from setup when migration failed

* add error to failed setup event

* add instance_id to primary keys

* fix IAM projection

* remove old migrations folder

* fix keysFromYAML test
2022-03-23 09:02:39 +01:00
..
action_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
action.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
app_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
app.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
authn_key_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
authn_key.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
config.go feat: run on a single port (#3163) 2022-02-14 17:22:30 +01:00
custom_text_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
custom_text.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
debug_notification_provider_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
debug_notification.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
event_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
executer_test.go fix: add authnkeys projection (#2801) 2021-12-08 16:16:48 +01:00
failed_events.go feat: reset projections and remove failed events (#2770) 2021-12-16 14:44:26 +01:00
feature_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
feature.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
flow_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
flow.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
iam_member_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
iam_member.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
iam_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
iam.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
idp_login_policy_link_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
idp_login_policy_link.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
idp_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
idp_user_link_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
idp_user_link.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
idp.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
key_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
key.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
label_policy_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
label_policy.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
lockout_policy_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
lockout_policy.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
login_name_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
login_name.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
login_policy_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
login_policy.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
mail_template_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
mail_template.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
member.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
message_text_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
message_texts.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
oidc_settings_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
oidc_settings.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
org_domain_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
org_domain.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
org_iam_policy_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
org_iam_policy.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
org_member_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
org_member.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
org_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
org.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
password_age_policy_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
password_age_policy.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
password_complexity_policy_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
password_complexity_policy.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
privacy_policy_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
privacy_policy.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
project_grant_member_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
project_grant_member.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
project_grant_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
project_grant.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
project_member_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
project_member.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
project_role_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
project_role.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
project_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
project.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
projection.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
secret_generator_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
secret_generator.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
sms_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
sms.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
smtp_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
smtp.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
user_auth_method_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
user_auth_method.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
user_grant_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
user_grant.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
user_metadata_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
user_metadata.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
user_personal_access_token_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
user_personal_access_token.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
user_test.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00
user.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00