feat: query side for executions and targets for actions v2 (#7524)

* feat: add projections and query side to executions and targets

* feat: add list and get endpoints for targets

* feat: add integration tests for query endpoints target and execution

* fix: linting

* fix: linting

* fix: review changes, renames and corrections

* fix: review changes, renames and corrections

* fix: review changes, renames and corrections

* fix: review changes, renames and corrections

* fix: review changes, renames and corrections

* fix: review changes, renames and corrections

* fix: remove position from list details
This commit is contained in:
Stefan Benz
2024-03-14 10:56:23 +01:00
committed by GitHub
parent 5d2cfc06d5
commit fb3c6f791b
30 changed files with 3266 additions and 326 deletions

View File

@@ -99,7 +99,7 @@ func TestActionProjection_reduces(t *testing.T) {
args: args{
event: getEvent(
testEvent(
action.ChangedEventType,
action.DeactivatedEventType,
action.AggregateType,
[]byte(`{}`),
),
@@ -131,7 +131,7 @@ func TestActionProjection_reduces(t *testing.T) {
args: args{
event: getEvent(
testEvent(
action.ChangedEventType,
action.ReactivatedEventType,
action.AggregateType,
[]byte(`{}`),
),
@@ -163,7 +163,7 @@ func TestActionProjection_reduces(t *testing.T) {
args: args{
event: getEvent(
testEvent(
action.ChangedEventType,
action.RemovedEventType,
action.AggregateType,
[]byte(`{}`),
),