From be154b5e649841d04fe3be920da1454c8b66b4a1 Mon Sep 17 00:00:00 2001 From: Christoph Deppisch Date: Tue, 7 Jul 2026 20:14:16 +0200 Subject: [PATCH 1/3] fix: Avro/Protobuf run dependencies in JBang properties - JBang 139+ fails to read multiple Maven GAV dependencies from jbang.properties - Move jbang.properties to individual tests and use LATEST version placeholder as a workaround --- .../avro}/jbang.properties | 3 +-- .../test/resources/protobuf/jbang.properties | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) rename tests/camel-kamelets-itest/src/test/{resources-filtered => resources/avro}/jbang.properties (87%) create mode 100644 tests/camel-kamelets-itest/src/test/resources/protobuf/jbang.properties diff --git a/tests/camel-kamelets-itest/src/test/resources-filtered/jbang.properties b/tests/camel-kamelets-itest/src/test/resources/avro/jbang.properties similarity index 87% rename from tests/camel-kamelets-itest/src/test/resources-filtered/jbang.properties rename to tests/camel-kamelets-itest/src/test/resources/avro/jbang.properties index caab22cef..7fd199d5d 100644 --- a/tests/camel-kamelets-itest/src/test/resources-filtered/jbang.properties +++ b/tests/camel-kamelets-itest/src/test/resources/avro/jbang.properties @@ -16,5 +16,4 @@ # # Declare required additional dependencies -run.deps=org.apache.camel:camel-jackson-avro:${camel.version},\ -org.apache.camel:camel-jackson-protobuf:${camel.version} +run.deps=org.apache.camel:camel-jackson-avro:LATEST diff --git a/tests/camel-kamelets-itest/src/test/resources/protobuf/jbang.properties b/tests/camel-kamelets-itest/src/test/resources/protobuf/jbang.properties new file mode 100644 index 000000000..4e7d7e462 --- /dev/null +++ b/tests/camel-kamelets-itest/src/test/resources/protobuf/jbang.properties @@ -0,0 +1,19 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# Declare required additional dependencies +run.deps=org.apache.camel:camel-jackson-protobuf:LATEST From 5424a2dfb3cc24688a785436105f6aaab5d22358 Mon Sep 17 00:00:00 2001 From: Christoph Deppisch Date: Wed, 8 Jul 2026 13:43:18 +0200 Subject: [PATCH 2/3] fix: Fix Kafka timestamp router properties - Action Kamelet was missing timestamp header name property --- .../src/test/resources/kafka/kafka-router-pipe.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-router-pipe.yaml b/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-router-pipe.yaml index bea0dd70d..dbc4f17c9 100644 --- a/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-router-pipe.yaml +++ b/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-router-pipe.yaml @@ -35,6 +35,7 @@ spec: properties: topicFormat: $[topic]_$[timestamp] timestampFormat: YYYY-MM-dd + timestampHeaderName: kafka.TIMESTAMP topicHeaderName: kafka.TOPIC - ref: kind: Kamelet From 9bf391a3d85699a6be192df3cba59da80af2bfa4 Mon Sep 17 00:00:00 2001 From: Christoph Deppisch Date: Wed, 8 Jul 2026 13:44:34 +0200 Subject: [PATCH 3/3] chore: Use individual AWS test factories for each sub-folder - Gives users the opportunity to run only a subfolder of the AWS test suite (e.g. via Java IDE) --- .../src/test/java/AwsIT.java | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/tests/camel-kamelets-itest/src/test/java/AwsIT.java b/tests/camel-kamelets-itest/src/test/java/AwsIT.java index 5490ca0dd..ee67f5826 100644 --- a/tests/camel-kamelets-itest/src/test/java/AwsIT.java +++ b/tests/camel-kamelets-itest/src/test/java/AwsIT.java @@ -60,8 +60,28 @@ public SequenceAfterTest afterAws() { } @CitrusTestFactory - public Stream aws() { - return CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws"); + public Stream awsS3() { + return CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.s3"); + } + + @CitrusTestFactory + public Stream awsSqs() { + return CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.sqs"); + } + + @CitrusTestFactory + public Stream awsDdb() { + return CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.ddb"); + } + + @CitrusTestFactory + public Stream awsKinesis() { + return CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.kinesis"); + } + + @CitrusTestFactory + public Stream awsEventBridge() { + return CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.eventbridge"); } }