zitadel/internal/eventstore
Elio Bischof 62bd606593
feat: enable handling projections for inactive instances (#5523)
* fix: don't ignore failed events in handlers

* question

* fix retries

* don't instance ids query

* statements can be nil

* make unit tests pass

* add comments

* spool only active instances

* feat(config): handle inactive instances

* customizable HandleInactiveInstances

* test: handling with and w/o inactive instances

* docs: describe projection options

* enable global handling of inactive instances

* accept NowFunc, not Clock interface

* add comment about stringer usage

* remove enum stringer implementations

* fix enum format types

* Update internal/eventstore/repository/mock/repository.mock.impl.go

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

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-27 12:34:01 +00:00
..
handler feat: enable handling projections for inactive instances (#5523) 2023-03-27 12:34:01 +00:00
repository feat: enable handling projections for inactive instances (#5523) 2023-03-27 12:34:01 +00:00
v1 perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
aggregate.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
asset.go fix(eventstore): sub queries (#1805) 2021-07-06 13:55:57 +02:00
config.go perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
event_base.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
event.go feat(cli): setup (#3267) 2022-03-28 10:05:09 +02:00
eventstore_test.go feat(admin-api): list events (#4989) 2023-01-16 11:30:03 +00:00
eventstore.go fix(adminAPI): localize event type (#5059) 2023-01-19 15:50:05 +00:00
example_test.go feat(admin-api): list events (#4989) 2023-01-16 11:30:03 +00:00
local_crdb_test.go perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
read_model.go perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
search_query_test.go fix: improve performance (#4300) 2022-09-02 14:05:13 +00:00
search_query.go perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
subscription.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
unique_constraint.go fix: instance remove (#4602) 2022-10-26 13:06:48 +00:00
version.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
write_model.go feat: projections auto create their tables (#3324) 2022-03-23 09:02:39 +01:00