This is an automated email from the ASF dual-hosted git repository.

github-actions[bot] pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit cd2ce3a35e5eb1ccb5503290c885bbbacdeb63d9
Author: jiriOndrusek-agent <[email protected]>
AuthorDate: Mon Oct 26 08:32:01 2026 +0000

    Adapt the aws2-ddb table description checks to the new result headers
    
    Since CAMEL-25925 DescribeTable and DeleteTable no longer set the
    CamelAwsDdbTableName header, which would name the table of the next
    aws2-ddb step, and DescribeTable also sets
    CamelAwsDdbProvisionedThroughput. Check that header instead of the
    table name, and drop the table name mapping it needed.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 .../apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbResource.java  | 3 ---
 .../org/apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbTest.java  | 5 ++---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git 
a/integration-test-groups/aws2/aws2-ddb/src/main/java/org/apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbResource.java
 
b/integration-test-groups/aws2/aws2-ddb/src/main/java/org/apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbResource.java
index 5edff427ef..0b0f46bfb9 100644
--- 
a/integration-test-groups/aws2/aws2-ddb/src/main/java/org/apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbResource.java
+++ 
b/integration-test-groups/aws2/aws2-ddb/src/main/java/org/apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbResource.java
@@ -279,9 +279,6 @@ public class Aws2DdbResource extends BaseAws2Resource {
                         return 
CollectionHelper.mapOf(Ddb2Constants.READ_CAPACITY, ptd.readCapacityUnits(),
                                 Ddb2Constants.WRITE_CAPACITY, 
ptd.writeCapacityUnits());
                     }
-                    if (Ddb2Constants.TABLE_NAME.equals(e.getKey()) && 
operationsTableName.equals(e.getValue())) {
-                        return Table.operations.toString();
-                    }
                     return e.getValue() == null ? "" : e.getValue().toString();
                 }));
     }
diff --git 
a/integration-test-groups/aws2/aws2-ddb/src/test/java/org/apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbTest.java
 
b/integration-test-groups/aws2/aws2-ddb/src/test/java/org/apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbTest.java
index dc066b1517..9587947f13 100644
--- 
a/integration-test-groups/aws2/aws2-ddb/src/test/java/org/apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbTest.java
+++ 
b/integration-test-groups/aws2/aws2-ddb/src/test/java/org/apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbTest.java
@@ -232,7 +232,7 @@ class Aws2DdbTest extends BaseAWs2TestSupport {
                         && map.containsKey(Ddb2Constants.TABLE_SIZE)
                         && map.containsKey(Ddb2Constants.KEY_SCHEMA)
                         && map.containsKey(Ddb2Constants.ITEM_COUNT)
-                        && Table.operations == Table.valueOf((String) 
map.get(Ddb2Constants.TABLE_NAME)));
+                        && 
map.containsKey(Ddb2Constants.PROVISIONED_THROUGHPUT));
 
         /* Update table */
         Awaitility.await().pollInterval(1, TimeUnit.SECONDS).atMost(120, 
TimeUnit.SECONDS).until(
@@ -265,13 +265,12 @@ class Aws2DdbTest extends BaseAWs2TestSupport {
 
                     return result.jsonPath().getMap("$");
                 },
-                map -> map.size() == 7
+                map -> map.size() == 6
                         && map.containsKey(Ddb2Constants.CREATION_DATE)
                         && map.containsKey(Ddb2Constants.TABLE_STATUS)
                         && map.containsKey(Ddb2Constants.TABLE_SIZE)
                         && map.containsKey(Ddb2Constants.KEY_SCHEMA)
                         && map.containsKey(Ddb2Constants.ITEM_COUNT)
-                        && Table.operations == Table.valueOf((String) 
map.get(Ddb2Constants.TABLE_NAME))
                         //previous update changed throughput capacity from 10 
to 5
                         && ((Map) 
map.get(Ddb2Constants.PROVISIONED_THROUGHPUT)).size() == 2
                         && ((Map) 
map.get(Ddb2Constants.PROVISIONED_THROUGHPUT)).get(Ddb2Constants.READ_CAPACITY).equals(5)

Reply via email to