From 387ed44989744e0a41e03b5b5f2b74c38724c1ae Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Thu, 26 Mar 2026 18:58:32 +0100 Subject: [PATCH] fix: add missing attributes parameter to test record constructors Co-Authored-By: Claude Sonnet 4.6 --- .../server/app/search/OpenSearchIndexIT.java | 6 ++++-- .../server/app/storage/PostgresExecutionStoreIT.java | 12 ++++++------ .../server/app/storage/PostgresStatsStoreIT.java | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/cameleer3-server-app/src/test/java/com/cameleer3/server/app/search/OpenSearchIndexIT.java b/cameleer3-server-app/src/test/java/com/cameleer3/server/app/search/OpenSearchIndexIT.java index cdb0bff4..b7ad3140 100644 --- a/cameleer3-server-app/src/test/java/com/cameleer3/server/app/search/OpenSearchIndexIT.java +++ b/cameleer3-server-app/src/test/java/com/cameleer3/server/app/search/OpenSearchIndexIT.java @@ -35,7 +35,8 @@ class OpenSearchIndexIT extends AbstractPostgresIT { now, now.plusMillis(100), 100L, "OrderNotFoundException: order-12345 not found", null, List.of(new ProcessorDoc("proc-1", "log", "COMPLETED", - null, null, "request body with customer-99", null, null, null))); + null, null, "request body with customer-99", null, null, null, null)), + null); searchIndex.index(doc); refreshOpenSearchIndices(); @@ -60,7 +61,8 @@ class OpenSearchIndexIT extends AbstractPostgresIT { "COMPLETED", null, null, now, now.plusMillis(50), 50L, null, null, List.of(new ProcessorDoc("proc-1", "bean", "COMPLETED", - null, null, "UniquePayloadIdentifier12345", null, null, null))); + null, null, "UniquePayloadIdentifier12345", null, null, null, null)), + null); searchIndex.index(doc); refreshOpenSearchIndices(); diff --git a/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresExecutionStoreIT.java b/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresExecutionStoreIT.java index 96080caa..909e3dca 100644 --- a/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresExecutionStoreIT.java +++ b/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresExecutionStoreIT.java @@ -26,7 +26,7 @@ class PostgresExecutionStoreIT extends AbstractPostgresIT { "COMPLETED", "corr-1", "exchange-1", now, now.plusMillis(100), 100L, null, null, null, - "REGULAR", null, null, null, null); + "REGULAR", null, null, null, null, null); executionStore.upsert(record); Optional found = executionStore.findById("exec-1"); @@ -43,11 +43,11 @@ class PostgresExecutionStoreIT extends AbstractPostgresIT { ExecutionRecord first = new ExecutionRecord( "exec-dup", "route-a", "agent-1", "app-1", "RUNNING", null, null, now, null, null, null, null, null, - null, null, null, null, null); + null, null, null, null, null, null); ExecutionRecord second = new ExecutionRecord( "exec-dup", "route-a", "agent-1", "app-1", "COMPLETED", null, null, now, now.plusMillis(200), 200L, null, null, null, - "COMPLETE", null, null, null, null); + "COMPLETE", null, null, null, null, null); executionStore.upsert(first); executionStore.upsert(second); @@ -64,18 +64,18 @@ class PostgresExecutionStoreIT extends AbstractPostgresIT { ExecutionRecord exec = new ExecutionRecord( "exec-proc", "route-a", "agent-1", "app-1", "COMPLETED", null, null, now, now.plusMillis(50), 50L, null, null, null, - "COMPLETE", null, null, null, null); + "COMPLETE", null, null, null, null, null); executionStore.upsert(exec); List processors = List.of( new ProcessorRecord("exec-proc", "proc-1", "log", null, "app-1", "route-a", 0, null, "COMPLETED", now, now.plusMillis(10), 10L, null, null, - "input body", "output body", null, null), + "input body", "output body", null, null, null), new ProcessorRecord("exec-proc", "proc-2", "to", null, "app-1", "route-a", 1, "proc-1", "COMPLETED", now.plusMillis(10), now.plusMillis(30), 20L, null, null, - null, null, null, null) + null, null, null, null, null) ); executionStore.upsertProcessors("exec-proc", now, "app-1", "route-a", processors); diff --git a/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresStatsStoreIT.java b/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresStatsStoreIT.java index b1fb842f..a7885bb8 100644 --- a/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresStatsStoreIT.java +++ b/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresStatsStoreIT.java @@ -60,6 +60,6 @@ class PostgresStatsStoreIT extends AbstractPostgresIT { id, routeId, "agent-1", applicationName, status, null, null, startTime, startTime.plusMillis(durationMs), durationMs, status.equals("FAILED") ? "error" : null, null, null, - null, null, null, null, null)); + null, null, null, null, null, null)); } }