zitadel/internal/api/grpc/resources
Tim Möhlmann 3aba942162
feat: add debug events API (#8533)
# Which Problems Are Solved

Add a debug API which allows pushing a set of events to be reduced in a
dedicated projection.
The events can carry a sleep duration which simulates a slow query
during projection handling.

# How the Problems Are Solved

- `CreateDebugEvents` allows pushing multiple events which simulate the
lifecycle of a resource. Each event has a `projectionSleep` field, which
issues a `pg_sleep()` statement query in the projection handler :
  - Add
  - Change
  - Remove
- `ListDebugEventsStates` list the current state of the projection,
optionally with a Trigger
- `GetDebugEventsStateByID` get the current state of the aggregate ID in
the projection, optionally with a Trigger


# Additional Changes

- none

# Additional Context

-  Allows reproduction of https://github.com/zitadel/zitadel/issues/8517
2024-09-11 08:24:00 +00:00
..
action/v3alpha chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
debug_events/debug_events feat: add debug events API (#8533) 2024-09-11 08:24:00 +00:00
object/v3alpha feat(v3alpha): read actions (#8357) 2024-08-12 22:32:01 +02:00
user/v3alpha chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
userschema/v3alpha chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
webkey/v3 fix(tests): check eventual web key state (#8587) 2024-09-10 11:15:25 +00:00