You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2024/11/25 16:31:05 UTC

(camel-kamelets) branch 4.8.x updated (c045b80f -> 83c67656)

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

acosentino pushed a change to branch 4.8.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


    from c045b80f SQL Kamelets: Disable autowiring by default - Snowflake Sink
     new 2910eba1 Cassandra Kamelets: Disable autowiring by default - CQL Source
     new 83c67656 Cassandra Kamelets: Disable autowiring by default - CQL Sink

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 kamelets/cassandra-sink.kamelet.yaml                               | 7 ++++++-
 kamelets/cassandra-source.kamelet.yaml                             | 7 ++++++-
 .../src/main/resources/kamelets/cassandra-sink.kamelet.yaml        | 7 ++++++-
 .../src/main/resources/kamelets/cassandra-source.kamelet.yaml      | 7 ++++++-
 4 files changed, 24 insertions(+), 4 deletions(-)


(camel-kamelets) 02/02: Cassandra Kamelets: Disable autowiring by default - CQL Sink

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 4.8.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 83c67656840255534964c9b12044405c242ec739
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 25 17:26:46 2024 +0100

    Cassandra Kamelets: Disable autowiring by default - CQL Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/cassandra-sink.kamelet.yaml                               | 7 ++++++-
 .../src/main/resources/kamelets/cassandra-sink.kamelet.yaml        | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/kamelets/cassandra-sink.kamelet.yaml b/kamelets/cassandra-sink.kamelet.yaml
index f7340efd..0cc6f29b 100644
--- a/kamelets/cassandra-sink.kamelet.yaml
+++ b/kamelets/cassandra-sink.kamelet.yaml
@@ -103,6 +103,11 @@ spec:
   - "camel:cassandraql"
   - "camel:core"
   template:
+    beans:
+      - name: local-sql-cassandraql-sink
+        type: "#class:org.apache.camel.component.cassandra.CassandraComponent"
+        properties:
+          autowiredEnabled: "false"
     from:
       uri: "kamelet:source"
       steps:
@@ -116,7 +121,7 @@ spec:
                       library: Jackson
                       useList: true
       - to: 
-          uri: "cql://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
+          uri: "{{local-sql-cassandraql-sink}}://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
           parameters:
             username: "{{?username}}"
             password: "{{?password}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/cassandra-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/cassandra-sink.kamelet.yaml
index f7340efd..0cc6f29b 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/cassandra-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/cassandra-sink.kamelet.yaml
@@ -103,6 +103,11 @@ spec:
   - "camel:cassandraql"
   - "camel:core"
   template:
+    beans:
+      - name: local-sql-cassandraql-sink
+        type: "#class:org.apache.camel.component.cassandra.CassandraComponent"
+        properties:
+          autowiredEnabled: "false"
     from:
       uri: "kamelet:source"
       steps:
@@ -116,7 +121,7 @@ spec:
                       library: Jackson
                       useList: true
       - to: 
-          uri: "cql://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
+          uri: "{{local-sql-cassandraql-sink}}://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
           parameters:
             username: "{{?username}}"
             password: "{{?password}}"


(camel-kamelets) 01/02: Cassandra Kamelets: Disable autowiring by default - CQL Source

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 4.8.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 2910eba1e4c54c81ebdbb262c4fd0bdb08ef47ed
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 25 17:23:18 2024 +0100

    Cassandra Kamelets: Disable autowiring by default - CQL Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/cassandra-source.kamelet.yaml                             | 7 ++++++-
 .../src/main/resources/kamelets/cassandra-source.kamelet.yaml      | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/kamelets/cassandra-source.kamelet.yaml b/kamelets/cassandra-source.kamelet.yaml
index fa9b1876..a28c8f86 100644
--- a/kamelets/cassandra-source.kamelet.yaml
+++ b/kamelets/cassandra-source.kamelet.yaml
@@ -96,8 +96,13 @@ spec:
   - "camel:kamelet"
   - "camel:cassandraql"
   template:
+    beans:
+      - name: local-sql-cassandraql-source
+        type: "#class:org.apache.camel.component.cassandra.CassandraComponent"
+        properties:
+          autowiredEnabled: "false"
     from:
-      uri: "cql://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
+      uri: "{{local-sql-cassandraql-source}}://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
       parameters:
         username: "{{?username}}"
         password: "{{?password}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/cassandra-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/cassandra-source.kamelet.yaml
index fa9b1876..a28c8f86 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/cassandra-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/cassandra-source.kamelet.yaml
@@ -96,8 +96,13 @@ spec:
   - "camel:kamelet"
   - "camel:cassandraql"
   template:
+    beans:
+      - name: local-sql-cassandraql-source
+        type: "#class:org.apache.camel.component.cassandra.CassandraComponent"
+        properties:
+          autowiredEnabled: "false"
     from:
-      uri: "cql://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
+      uri: "{{local-sql-cassandraql-source}}://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
       parameters:
         username: "{{?username}}"
         password: "{{?password}}"