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/11 16:52:42 UTC

[camel-kamelets] branch main updated (442df47 -> eeeb45d)

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 442df47  Added PostgreSQL Sink Kamelet
     new 4ff07eb  Minor fix to default values for Mysql Sink Kamelet
     new 2796b4d  Regen catalog
     new eeeb45d  Regen docs

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:
 docs/modules/ROOT/pages/mysql-sink.adoc                             | 6 ++----
 .../src/main/resources/kamelets/mysql-sink.kamelet.yaml             | 5 ++---
 mysql-sink.kamelet.yaml                                             | 5 ++---
 3 files changed, 6 insertions(+), 10 deletions(-)

[camel-kamelets] 02/03: Regen catalog

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 2796b4d02fdfa0e71f5c72aa1d3478b5e5236436
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jun 11 18:48:27 2021 +0200

    Regen catalog
---
 .../src/main/resources/kamelets/mysql-sink.kamelet.yaml              | 5 ++---
 1 file changed, 2 insertions(+), 3 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 1c0343a..0818d05 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
@@ -24,10 +24,8 @@ spec:
           - "mvn:mysql:mysql-connector-java:<version>"
     required:
       - serverName
-      - port
       - username
       - password
-      - databaseName
       - query
     type: object
     properties:
@@ -40,7 +38,7 @@ spec:
         title: Port
         description: Server Port for the data source
         type: string
-        example: 3306
+        default: 3306
       username:
         title: Username
         description: The username to use for accessing a secured MySQL Database
@@ -60,6 +58,7 @@ spec:
         title: Database Name
         description: The Database Name we are pointing
         type: string
+        default: mysql
   dependencies:
   - "camel:jackson"
   - "camel:kamelet"

[camel-kamelets] 03/03: Regen docs

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 eeeb45d266526fe92e4f89b0f58b3b11d5550d5d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jun 11 18:48:52 2021 +0200

    Regen docs
---
 docs/modules/ROOT/pages/mysql-sink.adoc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/docs/modules/ROOT/pages/mysql-sink.adoc b/docs/modules/ROOT/pages/mysql-sink.adoc
index 03986af..f9e5552 100644
--- a/docs/modules/ROOT/pages/mysql-sink.adoc
+++ b/docs/modules/ROOT/pages/mysql-sink.adoc
@@ -20,12 +20,12 @@ The following table summarizes the configuration options available for the `mysq
 [width="100%",cols="2,^2,3,^2,^2,^3",options="header"]
 |===
 | 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| | 
-| *port {empty}* *| Port| Server Port for the data source| string| | `3306`
 | *query {empty}* *| Query| The Query to execute against the MySQL Database| string| | 
 | *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| | 
+| databaseName| Database Name| The Database Name we are pointing| string| `"mysql"`| 
+| port| Port| Server Port for the data source| string| `3306`| 
 |===
 
 NOTE: Fields marked with ({empty}*) are mandatory.
@@ -57,9 +57,7 @@ spec:
       apiVersion: camel.apache.org/v1alpha1
       name: mysql-sink
     properties:
-      databaseName: "The Database Name"
       password: "The Password"
-      port: 3306
       query: "The Query"
       serverName: "localhost"
       username: "The Username"

[camel-kamelets] 01/03: Minor fix to default values for Mysql Sink Kamelet

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 4ff07ebbd2b9541b7e18739b7d72d0df42b86005
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jun 11 18:47:31 2021 +0200

    Minor fix to default values for Mysql Sink Kamelet
---
 mysql-sink.kamelet.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/mysql-sink.kamelet.yaml b/mysql-sink.kamelet.yaml
index 1c0343a..0818d05 100644
--- a/mysql-sink.kamelet.yaml
+++ b/mysql-sink.kamelet.yaml
@@ -24,10 +24,8 @@ spec:
           - "mvn:mysql:mysql-connector-java:<version>"
     required:
       - serverName
-      - port
       - username
       - password
-      - databaseName
       - query
     type: object
     properties:
@@ -40,7 +38,7 @@ spec:
         title: Port
         description: Server Port for the data source
         type: string
-        example: 3306
+        default: 3306
       username:
         title: Username
         description: The username to use for accessing a secured MySQL Database
@@ -60,6 +58,7 @@ spec:
         title: Database Name
         description: The Database Name we are pointing
         type: string
+        default: mysql
   dependencies:
   - "camel:jackson"
   - "camel:kamelet"