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:01:23 UTC
(camel-kamelets) branch main updated (795f2a18 -> edee5048)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
from 795f2a18 SQL Kamelets: Disable autowiring by default - AWS Redshift Sink
new 253ad725 SQL Kamelets: Disable autowiring by default - Snowflake Source
new edee5048 SQL Kamelets: Disable autowiring by default - Snowflake 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/snowflake-sink.kamelet.yaml | 6 +++++-
kamelets/snowflake-source.kamelet.yaml | 6 +++++-
.../src/main/resources/kamelets/snowflake-sink.kamelet.yaml | 6 +++++-
.../src/main/resources/kamelets/snowflake-source.kamelet.yaml | 6 +++++-
4 files changed, 20 insertions(+), 4 deletions(-)
(camel-kamelets) 01/02: SQL Kamelets: Disable autowiring by default - Snowflake Source
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 253ad725fac2570bc5e0d8d4964b48eda4eef55d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 25 16:31:45 2024 +0100
SQL Kamelets: Disable autowiring by default - Snowflake Source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/snowflake-source.kamelet.yaml | 6 +++++-
.../src/main/resources/kamelets/snowflake-source.kamelet.yaml | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/kamelets/snowflake-source.kamelet.yaml b/kamelets/snowflake-source.kamelet.yaml
index af6a3274..3eab09cb 100644
--- a/kamelets/snowflake-source.kamelet.yaml
+++ b/kamelets/snowflake-source.kamelet.yaml
@@ -87,6 +87,10 @@ spec:
- "mvn:org.apache.commons:commons-dbcp2:2.12.0"
template:
beans:
+ - name: local-sql-snowflake-source
+ type: "#class:org.apache.camel.component.sql.SqlComponent"
+ properties:
+ autowiredEnabled: "false"
- name: dsBean
type: "#class:net.snowflake.client.jdbc.SnowflakeBasicDataSource"
properties:
@@ -95,7 +99,7 @@ spec:
url: 'jdbc:snowflake://{{instanceUrl}}'
databaseName: '{{?databaseName}}'
from:
- uri: "sql:{{query}}"
+ uri: "{{local-sql-snowflake-source}}:{{query}}"
parameters:
dataSource: "#bean:{{dsBean}}"
onConsume: "{{?consumedQuery}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/snowflake-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/snowflake-source.kamelet.yaml
index af6a3274..3eab09cb 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/snowflake-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/snowflake-source.kamelet.yaml
@@ -87,6 +87,10 @@ spec:
- "mvn:org.apache.commons:commons-dbcp2:2.12.0"
template:
beans:
+ - name: local-sql-snowflake-source
+ type: "#class:org.apache.camel.component.sql.SqlComponent"
+ properties:
+ autowiredEnabled: "false"
- name: dsBean
type: "#class:net.snowflake.client.jdbc.SnowflakeBasicDataSource"
properties:
@@ -95,7 +99,7 @@ spec:
url: 'jdbc:snowflake://{{instanceUrl}}'
databaseName: '{{?databaseName}}'
from:
- uri: "sql:{{query}}"
+ uri: "{{local-sql-snowflake-source}}:{{query}}"
parameters:
dataSource: "#bean:{{dsBean}}"
onConsume: "{{?consumedQuery}}"
(camel-kamelets) 02/02: SQL Kamelets: Disable autowiring by default - Snowflake Sink
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit edee50485f837f55020fedb33f698db1f29a5d5c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 25 16:33:11 2024 +0100
SQL Kamelets: Disable autowiring by default - Snowflake Sink
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/snowflake-sink.kamelet.yaml | 6 +++++-
.../src/main/resources/kamelets/snowflake-sink.kamelet.yaml | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/kamelets/snowflake-sink.kamelet.yaml b/kamelets/snowflake-sink.kamelet.yaml
index 5a2873aa..c67332d3 100644
--- a/kamelets/snowflake-sink.kamelet.yaml
+++ b/kamelets/snowflake-sink.kamelet.yaml
@@ -85,6 +85,10 @@ spec:
- "mvn:org.apache.commons:commons-dbcp2:2.12.0"
template:
beans:
+ - name: local-sql-snowflake-sink
+ type: "#class:org.apache.camel.component.sql.SqlComponent"
+ properties:
+ autowiredEnabled: "false"
- name: dsBean
type: "#class:net.snowflake.client.jdbc.SnowflakeBasicDataSource"
properties:
@@ -99,6 +103,6 @@ spec:
json:
library: Jackson
- to:
- uri: "sql:{{query}}"
+ uri: "{{local-sql-snowflake-sink}}:{{query}}"
parameters:
dataSource: "#bean:{{dsBean}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/snowflake-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/snowflake-sink.kamelet.yaml
index 5a2873aa..c67332d3 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/snowflake-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/snowflake-sink.kamelet.yaml
@@ -85,6 +85,10 @@ spec:
- "mvn:org.apache.commons:commons-dbcp2:2.12.0"
template:
beans:
+ - name: local-sql-snowflake-sink
+ type: "#class:org.apache.camel.component.sql.SqlComponent"
+ properties:
+ autowiredEnabled: "false"
- name: dsBean
type: "#class:net.snowflake.client.jdbc.SnowflakeBasicDataSource"
properties:
@@ -99,6 +103,6 @@ spec:
json:
library: Jackson
- to:
- uri: "sql:{{query}}"
+ uri: "{{local-sql-snowflake-sink}}:{{query}}"
parameters:
dataSource: "#bean:{{dsBean}}"