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:27:43 UTC

(camel-kamelets) branch 2278-cassandra-4.8.x created (now 926e0d68)

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

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


      at 926e0d68 Cassandra Kamelets: Disable autowiring by default - CQL Sink

This branch includes the following new commits:

     new ba762595 Cassandra Kamelets: Disable autowiring by default - CQL Source
     new 926e0d68 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.



(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 2278-cassandra-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit ba7625950be1033a0cd6d2cb756bef9088d4a5a8
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}}"


(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 2278-cassandra-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 926e0d6884ed8c060afbbfaea30eba32f0c5b6cc
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}}"