You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2026/09/10 06:21:57 UTC

(camel-quarkus) 02/02: Restore aws-bedrock & aws2-athena extensions in integration-tests-aws2 module

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

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 0a9d2e73f58548a58967c19c918925cd843e7c88
Author: James Netherton <ja...@gmail.com>
AuthorDate: Wed Sep 9 07:16:36 2026 +0100

    Restore aws-bedrock & aws2-athena extensions in integration-tests-aws2 module
    
    These were temporarily commented out during the Quarkus 3.38.0 upgrade
    to work around quarkusio/quarkus#55623, a native image build failure
    with ClassNotFoundException: io.netty.internal.tcnative.SSL.
    
    Fixes #8912.
    
    Co-Authored-By: Claude Opus 5 (1M context) <no...@anthropic.com>
---
 integration-tests/aws2/pom.xml                     | 31 +++++++++++++++++++---
 .../camel/quarkus/component/aws2/CamelRoute.java   | 14 +++++-----
 2 files changed, 34 insertions(+), 11 deletions(-)

diff --git a/integration-tests/aws2/pom.xml b/integration-tests/aws2/pom.xml
index 2c7d2c9e96..8df67bc829 100644
--- a/integration-tests/aws2/pom.xml
+++ b/integration-tests/aws2/pom.xml
@@ -31,15 +31,14 @@
     <description>The camel integration tests</description>
 
     <dependencies>
-        <!-- TODO: Restore these - https://github.com/apache/camel-quarkus/issues/8912
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-aws-bedrock</artifactId>
-        </dependency <dependency>
+        </dependency>
+        <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-aws2-athena</artifactId>
         </dependency>
-        -->
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-aws2-eventbridge</artifactId>
@@ -103,6 +102,32 @@
             </activation>
             <dependencies>
                 <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
+                <dependency>
+                    <groupId>org.apache.camel.quarkus</groupId>
+                    <artifactId>camel-quarkus-aws-bedrock-deployment</artifactId>
+                    <version>${project.version}</version>
+                    <type>pom</type>
+                    <scope>test</scope>
+                    <exclusions>
+                        <exclusion>
+                            <groupId>*</groupId>
+                            <artifactId>*</artifactId>
+                        </exclusion>
+                    </exclusions>
+                </dependency>
+                <dependency>
+                    <groupId>org.apache.camel.quarkus</groupId>
+                    <artifactId>camel-quarkus-aws2-athena-deployment</artifactId>
+                    <version>${project.version}</version>
+                    <type>pom</type>
+                    <scope>test</scope>
+                    <exclusions>
+                        <exclusion>
+                            <groupId>*</groupId>
+                            <artifactId>*</artifactId>
+                        </exclusion>
+                    </exclusions>
+                </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
                     <artifactId>camel-quarkus-aws2-eventbridge-deployment</artifactId>
diff --git a/integration-tests/aws2/src/main/java/org/apache/camel/quarkus/component/aws2/CamelRoute.java b/integration-tests/aws2/src/main/java/org/apache/camel/quarkus/component/aws2/CamelRoute.java
index 6da0883f60..dd54e58ddf 100644
--- a/integration-tests/aws2/src/main/java/org/apache/camel/quarkus/component/aws2/CamelRoute.java
+++ b/integration-tests/aws2/src/main/java/org/apache/camel/quarkus/component/aws2/CamelRoute.java
@@ -24,19 +24,17 @@ public class CamelRoute extends RouteBuilder {
 
     @Override
     public void configure() {
-        // TODO: Restore these - https://github.com/apache/camel-quarkus/issues/8912
-        //        from("timer:quarkus-athena?repeatCount=1")
-        //                .to("aws2-athena://cluster?operation=listQueryExecutions")
-        //                .to("log:sf?showAll=true");
+        from("timer:quarkus-athena?repeatCount=1")
+                .to("aws2-athena://cluster?operation=listQueryExecutions")
+                .to("log:sf?showAll=true");
 
         from("timer:quarkus-eventbridge?repeatCount=1")
                 .to("aws2-eventbridge://default?operation=listRules")
                 .to("log:sf?showAll=true");
 
-        // TODO: Restore these - https://github.com/apache/camel-quarkus/issues/8912
-        //        from("timer:quarkus-bedrock?repeatCount=1")
-        //                .to("aws-bedrock://myaccount?operation=invokeTextModel")
-        //                .to("log:sf?showAll=true");
+        from("timer:quarkus-bedrock?repeatCount=1")
+                .to("aws-bedrock://myaccount?operation=invokeTextModel")
+                .to("log:sf?showAll=true");
 
         from("timer:quarkus-translate?repeatCount=1")
                 .setHeader(Translate2Constants.SOURCE_LANGUAGE, constant(Translate2LanguageEnum.ITALIAN))