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 2021/06/14 13:20:49 UTC

[camel-kamelets] branch sql-final-touches created (now 92e551c)

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

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


      at 92e551c  SQL Kamelets: Fixed last things

This branch includes the following new commits:

     new 78544f8  SQL Kamelets: Fixed last things
     new e81b7f3  SQL Kamelets: Fixed last things
     new ae55557  SQL Kamelets: Fixed last things
     new 714e380  SQL Kamelets: Fixed last things
     new 77b240e  SQL Kamelets: Fixed last things
     new 92e551c  SQL Kamelets: Fixed last things

The 6 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] 06/06: SQL Kamelets: Fixed last things

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

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

commit 92e551ce977b1e06ad5b90c441849fc4ef2a5196
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jun 14 15:20:24 2021 +0200

    SQL Kamelets: Fixed last things
---
 docs/modules/ROOT/pages/mysql-sink.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/modules/ROOT/pages/mysql-sink.adoc b/docs/modules/ROOT/pages/mysql-sink.adoc
index 2683071..1c4859e 100644
--- a/docs/modules/ROOT/pages/mysql-sink.adoc
+++ b/docs/modules/ROOT/pages/mysql-sink.adoc
@@ -27,7 +27,7 @@ The following table summarizes the configuration options available for the `mysq
 | Property| Name| Description| Type| Default| Example
 | *databaseName {empty}* *| Database Name| The Database Name we are pointing| string| | 
 | *password {empty}* *| Password| The password to use for accessing a secured MySQL Database| string| | 
-| *query {empty}* *| Query| The Query to execute against the MySQL Database| string| | 
+| *query {empty}* *| Query| The Query to execute against the MySQL Database| string| | `"INSERT INTO accounts (username,city) VALUES (:#username,:#city)"`
 | *serverName {empty}* *| Server Name| Server Name for the data source| string| | `"localhost"`
 | *username {empty}* *| Username| The username to use for accessing a secured MySQL Database| string| | 
 | port| Port| Server Port for the data source| string| `3306`| 
@@ -64,7 +64,7 @@ spec:
     properties:
       databaseName: "The Database Name"
       password: "The Password"
-      query: "The Query"
+      query: "INSERT INTO accounts (username,city) VALUES (:#username,:#city)"
       serverName: "localhost"
       username: "The Username"
 

[camel-kamelets] 02/06: SQL Kamelets: Fixed last things

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

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

commit e81b7f3032c56b309be0b9d5d2250c098bc06f9f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jun 14 15:18:47 2021 +0200

    SQL Kamelets: Fixed last things
---
 .../src/main/resources/kamelets/mysql-sink.kamelet.yaml                 | 2 --
 .../src/main/resources/kamelets/postgresql-sink.kamelet.yaml            | 2 +-
 .../src/main/resources/kamelets/sqlserver-sink.kamelet.yaml             | 2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/library/camel-kamelets-catalog/src/main/resources/kamelets/mysql-sink.kamelet.yaml b/library/camel-kamelets-catalog/src/main/resources/kamelets/mysql-sink.kamelet.yaml
index eece4d0..25e14a4 100644
--- a/library/camel-kamelets-catalog/src/main/resources/kamelets/mysql-sink.kamelet.yaml
+++ b/library/camel-kamelets-catalog/src/main/resources/kamelets/mysql-sink.kamelet.yaml
@@ -15,8 +15,6 @@ spec:
     title: "MySQL Sink"
     description: |-
       Send data to a MySQL Database.
-
-      In you KameletBinding file you'll need to explicitly declare the mysql driver dependency, like in the following YAML snippet
       
       In you KameletBinding file you'll need to explicitly declare the SQL Server driver dependency in spec->integration->dependencies
       
diff --git a/library/camel-kamelets-catalog/src/main/resources/kamelets/postgresql-sink.kamelet.yaml b/library/camel-kamelets-catalog/src/main/resources/kamelets/postgresql-sink.kamelet.yaml
index 7904da5..d435d02 100644
--- a/library/camel-kamelets-catalog/src/main/resources/kamelets/postgresql-sink.kamelet.yaml
+++ b/library/camel-kamelets-catalog/src/main/resources/kamelets/postgresql-sink.kamelet.yaml
@@ -62,7 +62,7 @@ spec:
         description: The Database Name we are pointing
         type: string
   types:
-    out:
+    in:
       mediaType: application/json
   dependencies:
   - "camel:jackson"
diff --git a/library/camel-kamelets-catalog/src/main/resources/kamelets/sqlserver-sink.kamelet.yaml b/library/camel-kamelets-catalog/src/main/resources/kamelets/sqlserver-sink.kamelet.yaml
index ba7c005..c6aec07 100644
--- a/library/camel-kamelets-catalog/src/main/resources/kamelets/sqlserver-sink.kamelet.yaml
+++ b/library/camel-kamelets-catalog/src/main/resources/kamelets/sqlserver-sink.kamelet.yaml
@@ -66,7 +66,7 @@ spec:
         description: The Database Name we are pointing
         type: string
   types:
-    out:
+    in:
       mediaType: application/json
   dependencies:
   - "camel:jackson"

[camel-kamelets] 01/06: SQL Kamelets: Fixed last things

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

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

commit 78544f818d4b32588033613629e3540deb5ce6a2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jun 14 15:17:50 2021 +0200

    SQL Kamelets: Fixed last things
---
 mysql-sink.kamelet.yaml      | 2 --
 postgresql-sink.kamelet.yaml | 2 +-
 sqlserver-sink.kamelet.yaml  | 2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/mysql-sink.kamelet.yaml b/mysql-sink.kamelet.yaml
index eece4d0..25e14a4 100644
--- a/mysql-sink.kamelet.yaml
+++ b/mysql-sink.kamelet.yaml
@@ -15,8 +15,6 @@ spec:
     title: "MySQL Sink"
     description: |-
       Send data to a MySQL Database.
-
-      In you KameletBinding file you'll need to explicitly declare the mysql driver dependency, like in the following YAML snippet
       
       In you KameletBinding file you'll need to explicitly declare the SQL Server driver dependency in spec->integration->dependencies
       
diff --git a/postgresql-sink.kamelet.yaml b/postgresql-sink.kamelet.yaml
index 7904da5..d435d02 100644
--- a/postgresql-sink.kamelet.yaml
+++ b/postgresql-sink.kamelet.yaml
@@ -62,7 +62,7 @@ spec:
         description: The Database Name we are pointing
         type: string
   types:
-    out:
+    in:
       mediaType: application/json
   dependencies:
   - "camel:jackson"
diff --git a/sqlserver-sink.kamelet.yaml b/sqlserver-sink.kamelet.yaml
index ba7c005..c6aec07 100644
--- a/sqlserver-sink.kamelet.yaml
+++ b/sqlserver-sink.kamelet.yaml
@@ -66,7 +66,7 @@ spec:
         description: The Database Name we are pointing
         type: string
   types:
-    out:
+    in:
       mediaType: application/json
   dependencies:
   - "camel:jackson"

[camel-kamelets] 04/06: SQL Kamelets: Fixed last things

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

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

commit 714e3809dbbb40758461844e75dead675c512a9d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jun 14 15:19:52 2021 +0200

    SQL Kamelets: Fixed last things
---
 mysql-sink.kamelet.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mysql-sink.kamelet.yaml b/mysql-sink.kamelet.yaml
index 25e14a4..81ee38e 100644
--- a/mysql-sink.kamelet.yaml
+++ b/mysql-sink.kamelet.yaml
@@ -60,6 +60,7 @@ spec:
         title: Query
         description: The Query to execute against the MySQL Database
         type: string
+        example: 'INSERT INTO accounts (username,city) VALUES (:#username,:#city)'
       databaseName:
         title: Database Name
         description: The Database Name we are pointing

[camel-kamelets] 03/06: SQL Kamelets: Fixed last things

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

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

commit ae5555733f59d4b12244f42dd21dfd0e7f385d18
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jun 14 15:19:16 2021 +0200

    SQL Kamelets: Fixed last things
---
 docs/modules/ROOT/pages/mysql-sink.adoc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/docs/modules/ROOT/pages/mysql-sink.adoc b/docs/modules/ROOT/pages/mysql-sink.adoc
index c5af862..2683071 100644
--- a/docs/modules/ROOT/pages/mysql-sink.adoc
+++ b/docs/modules/ROOT/pages/mysql-sink.adoc
@@ -7,8 +7,6 @@
 
 Send data to a MySQL Database.
 
-In you KameletBinding file you'll need to explicitly declare the mysql driver dependency, like in the following YAML snippet
-
 In you KameletBinding file you'll need to explicitly declare the SQL Server driver dependency in spec->integration->dependencies
 
 - "mvn:mysql:mysql-connector-java:<version>"

[camel-kamelets] 05/06: SQL Kamelets: Fixed last things

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

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

commit 77b240ecb720117d5307a91329ddb5f7ee2a2368
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jun 14 15:20:12 2021 +0200

    SQL Kamelets: Fixed last things
---
 .../src/main/resources/kamelets/mysql-sink.kamelet.yaml                  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/library/camel-kamelets-catalog/src/main/resources/kamelets/mysql-sink.kamelet.yaml b/library/camel-kamelets-catalog/src/main/resources/kamelets/mysql-sink.kamelet.yaml
index 25e14a4..81ee38e 100644
--- a/library/camel-kamelets-catalog/src/main/resources/kamelets/mysql-sink.kamelet.yaml
+++ b/library/camel-kamelets-catalog/src/main/resources/kamelets/mysql-sink.kamelet.yaml
@@ -60,6 +60,7 @@ spec:
         title: Query
         description: The Query to execute against the MySQL Database
         type: string
+        example: 'INSERT INTO accounts (username,city) VALUES (:#username,:#city)'
       databaseName:
         title: Database Name
         description: The Database Name we are pointing