zitadel/internal/query
Livio Spring 29441ce4b6
feat: save last occurrence of failed events and fix instance filtering (#4710)
* fix: filter failed events and current sequence correctly

* fix failed events sorting column

* feat: save last occurrence of failed event

* fix failedEvents query and update sql statements

* change sql statement to only create index

* fix linting

* fix linting

* Update internal/query/failed_events.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

* update job name on test-docs to match the one from test-code

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2022-11-18 13:49:38 +01:00
..
projection fix: improve performance by reducing full table scans (#4684) 2022-11-10 11:59:33 +01:00
action_flow_test.go feat(actions): add token customization flow and extend functionally with modules (#4337) 2022-10-06 14:23:59 +02:00
action_flow.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
action_test.go feat(actions): add token customization flow and extend functionally with modules (#4337) 2022-10-06 14:23:59 +02:00
action.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
app_test.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
app.go fix: improve performance by reducing full table scans (#4684) 2022-11-10 11:59:33 +01:00
authn_key_test.go fix(import): add import for app and machine keys (#4536) 2022-10-18 15:07:30 +00:00
authn_key.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
certificate_test.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
certificate.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
changes.go fix: project grants (#4031) 2022-07-27 07:55:44 +00:00
current_sequence_test.go feat: reset projections and remove failed events (#2770) 2021-12-16 14:44:26 +01:00
current_sequence.go feat: save last occurrence of failed events and fix instance filtering (#4710) 2022-11-18 13:49:38 +01:00
custom_text_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
custom_text.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
domain_policy_test.go fix(query): realtime data on defined requests (#3726) 2022-06-14 07:51:00 +02:00
domain_policy.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
failed_events_test.go feat: save last occurrence of failed events and fix instance filtering (#4710) 2022-11-18 13:49:38 +01:00
failed_events.go feat: save last occurrence of failed events and fix instance filtering (#4710) 2022-11-18 13:49:38 +01:00
iam_member_test.go fix: remove userid unique constraint and fix user list query (#4632) 2022-11-07 10:33:22 +01:00
iam_member.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
idp_login_policy_link_test.go fix: provider type column in idp_login_policy_links projection (#4325) 2022-09-06 06:39:03 +00:00
idp_login_policy_link.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
idp_test.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
idp_user_link_test.go feat(database): support for postgres (#3998) 2022-08-31 07:52:43 +00:00
idp_user_link.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
idp.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
instance_domain_test.go feat: Instance domains (#3444) 2022-04-14 12:19:18 +00:00
instance_domain.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
instance_test.go fix: remove userid unique constraint and fix user list query (#4632) 2022-11-07 10:33:22 +01:00
instance.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
key_test.go feat(saml): implementation of saml for ZITADEL v2 (#3618) 2022-09-12 18:18:08 +02:00
key.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
label_policy.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
languages.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
lockout_policy_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
lockout_policy.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
login_name.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
login_policy_test.go fix: delete limit of login policy query for idp links list (#4654) 2022-11-14 15:15:29 +00:00
login_policy.go fix: delete limit of login policy query for idp links list (#4654) 2022-11-14 15:15:29 +00:00
mail_template.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
member_roles.go fix(query): realtime data on defined requests (#3726) 2022-06-14 07:51:00 +02:00
member.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
message_text_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
message_text.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
notification_provider_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
notification_provider.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
oidc_settings_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
oidc_settings.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
org_domain_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_domain.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
org_member_test.go fix: remove userid unique constraint and fix user list query (#4632) 2022-11-07 10:33:22 +01:00
org_member.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
org_metadata_test.go feat(org): add org metadata functionality (#4234) 2022-09-20 14:32:09 +00:00
org_metadata.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
org_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
password_age_policy_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
password_age_policy.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
password_complexity_policy_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
password_complexity_policy.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
prepare_test.go fix(query): keys (#2755) 2022-01-12 13:22:04 +01:00
privacy_policy_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
privacy_policy.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
project_grant_member_test.go fix: remove userid unique constraint and fix user list query (#4632) 2022-11-07 10:33:22 +01:00
project_grant_member.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
project_grant_test.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
project_grant.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
project_member_test.go fix: remove userid unique constraint and fix user list query (#4632) 2022-11-07 10:33:22 +01:00
project_member.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
project_role_test.go fix(query): realtime data on defined requests (#3726) 2022-06-14 07:51:00 +02:00
project_role.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
project_test.go feat(database): support for postgres (#3998) 2022-08-31 07:52:43 +00:00
project.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
query.go fix: improve startup times by initializing projection tables during setup (#4642) 2022-11-04 09:21:58 +00:00
search_query_test.go fix(user): add search query for login name (#4173) 2022-10-31 13:03:23 +00:00
search_query.go fix: remove userid unique constraint and fix user list query (#4632) 2022-11-07 10:33:22 +01:00
secret_generator_test.go feat(database): support for postgres (#3998) 2022-08-31 07:52:43 +00:00
secret_generators.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
sms_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
sms.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
smtp_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
smtp.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
user_auth_method_test.go fix: WebAuthN (registration / login) and list on users (#4290) 2022-09-01 09:10:07 +02:00
user_auth_method.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
user_grant_test.go fix: remove userid unique constraint and fix user list query (#4632) 2022-11-07 10:33:22 +01:00
user_grant.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
user_membership_test.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
user_membership.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
user_metadata_test.go feat(database): support for postgres (#3998) 2022-08-31 07:52:43 +00:00
user_metadata.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
user_otp.go feat: V2 alpha import and export of organizations (#3798) 2022-07-28 13:42:35 +00:00
user_password.go feat: V2 alpha import and export of organizations (#3798) 2022-07-28 13:42:35 +00:00
user_personal_access_token_test.go feat(database): support for postgres (#3998) 2022-08-31 07:52:43 +00:00
user_personal_access_token.go fix: join on instanceIDs in queries (#4612) 2022-10-27 06:08:36 +00:00
user_test.go fix: remove userid unique constraint and fix user list query (#4632) 2022-11-07 10:33:22 +01:00
user.go fix: remove userid unique constraint and fix user list query (#4632) 2022-11-07 10:33:22 +01:00
zitadel_permission.go fix: project grants (#4031) 2022-07-27 07:55:44 +00:00