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 14:54:00 UTC

(camel-kamelets) branch 4.8.x updated (d223e28e -> b79771f3)

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 d223e28e SQL Kamelets: Disable autowiring by default - SQLServer Sink
     new d68bcdae SQL Kamelets: Disable autowiring by default - MariaDB Source
     new 986830c4 SQL Kamelets: Disable autowiring by default - MariaDB Source
     new b79771f3 SQL Kamelets: Disable autowiring by default - MariaDB Sink

The 3 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/mariadb-sink.kamelet.yaml                                  | 6 +++++-
 kamelets/mariadb-source.kamelet.yaml                                | 6 +++++-
 .../src/main/resources/kamelets/mariadb-sink.kamelet.yaml           | 6 +++++-
 .../src/main/resources/kamelets/mariadb-source.kamelet.yaml         | 6 +++++-
 4 files changed, 20 insertions(+), 4 deletions(-)


(camel-kamelets) 02/03: SQL Kamelets: Disable autowiring by default - MariaDB 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 986830c45837064b3d0d04fa100488fe5159832a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 25 15:33:14 2024 +0100

    SQL Kamelets: Disable autowiring by default - MariaDB Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/mariadb-source.kamelet.yaml         | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/mariadb-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mariadb-source.kamelet.yaml
index 23235f41..57021435 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/mariadb-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/mariadb-source.kamelet.yaml
@@ -96,6 +96,10 @@ spec:
   - "mvn:org.apache.commons:commons-dbcp2:2.12.0"
   template:
     beans:
+      - name: local-sql-mariadb-source
+        type: "#class:org.apache.camel.component.sql.SqlComponent"
+        properties:
+          autowiredEnabled: "false"
       - name: dsBean
         type: "#class:org.apache.commons.dbcp2.BasicDataSource"
         properties:
@@ -104,7 +108,7 @@ spec:
           url: 'jdbc:mariadb://{{serverName}}:{{serverPort}}/{{databaseName}}'
           driverClassName: 'org.mariadb.jdbc.Driver'
     from:
-      uri: "sql:{{query}}"
+      uri: "{{local-sql-mariadb-source}}:{{query}}"
       parameters:
         dataSource: "#bean:{{dsBean}}"
         onConsume: "{{?consumedQuery}}"


(camel-kamelets) 03/03: SQL Kamelets: Disable autowiring by default - MariaDB 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 b79771f3f08577c02d41d30e9ad415b82b164611
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 25 15:35:26 2024 +0100

    SQL Kamelets: Disable autowiring by default - MariaDB Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/mariadb-sink.kamelet.yaml                                  | 6 +++++-
 .../src/main/resources/kamelets/mariadb-sink.kamelet.yaml           | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/kamelets/mariadb-sink.kamelet.yaml b/kamelets/mariadb-sink.kamelet.yaml
index 4d1808d0..6da2b2ae 100644
--- a/kamelets/mariadb-sink.kamelet.yaml
+++ b/kamelets/mariadb-sink.kamelet.yaml
@@ -94,6 +94,10 @@ spec:
   - "mvn:org.apache.commons:commons-dbcp2:2.12.0"
   template:
     beans:
+      - name: local-sql-mariadb-sink
+        type: "#class:org.apache.camel.component.sql.SqlComponent"
+        properties:
+          autowiredEnabled: "false"
       - name: dsBean
         type: "#class:org.apache.commons.dbcp2.BasicDataSource"
         properties:
@@ -108,6 +112,6 @@ spec:
           json: 
             library: Jackson
       - to: 
-          uri: "sql:{{query}}"
+          uri: "{{local-sql-mariadb-sink}}:{{query}}"
           parameters:
             dataSource: "#bean:{{dsBean}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/mariadb-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mariadb-sink.kamelet.yaml
index 4d1808d0..6da2b2ae 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/mariadb-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/mariadb-sink.kamelet.yaml
@@ -94,6 +94,10 @@ spec:
   - "mvn:org.apache.commons:commons-dbcp2:2.12.0"
   template:
     beans:
+      - name: local-sql-mariadb-sink
+        type: "#class:org.apache.camel.component.sql.SqlComponent"
+        properties:
+          autowiredEnabled: "false"
       - name: dsBean
         type: "#class:org.apache.commons.dbcp2.BasicDataSource"
         properties:
@@ -108,6 +112,6 @@ spec:
           json: 
             library: Jackson
       - to: 
-          uri: "sql:{{query}}"
+          uri: "{{local-sql-mariadb-sink}}:{{query}}"
           parameters:
             dataSource: "#bean:{{dsBean}}"


(camel-kamelets) 01/03: SQL Kamelets: Disable autowiring by default - MariaDB 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 d68bcdae02e3f5c5f2d4108cd84a513c4ea5e7bc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 25 15:27:05 2024 +0100

    SQL Kamelets: Disable autowiring by default - MariaDB Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/mariadb-source.kamelet.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/kamelets/mariadb-source.kamelet.yaml b/kamelets/mariadb-source.kamelet.yaml
index 23235f41..57021435 100644
--- a/kamelets/mariadb-source.kamelet.yaml
+++ b/kamelets/mariadb-source.kamelet.yaml
@@ -96,6 +96,10 @@ spec:
   - "mvn:org.apache.commons:commons-dbcp2:2.12.0"
   template:
     beans:
+      - name: local-sql-mariadb-source
+        type: "#class:org.apache.camel.component.sql.SqlComponent"
+        properties:
+          autowiredEnabled: "false"
       - name: dsBean
         type: "#class:org.apache.commons.dbcp2.BasicDataSource"
         properties:
@@ -104,7 +108,7 @@ spec:
           url: 'jdbc:mariadb://{{serverName}}:{{serverPort}}/{{databaseName}}'
           driverClassName: 'org.mariadb.jdbc.Driver'
     from:
-      uri: "sql:{{query}}"
+      uri: "{{local-sql-mariadb-source}}:{{query}}"
       parameters:
         dataSource: "#bean:{{dsBean}}"
         onConsume: "{{?consumedQuery}}"