Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL Kamelets completed #371

Merged
merged 6 commits into from
Jun 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/modules/ROOT/pages/mysql-sink.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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>"
Expand All @@ -29,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`|
Expand Down Expand Up @@ -66,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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -62,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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
description: The Database Name we are pointing
type: string
types:
out:
in:
mediaType: application/json
dependencies:
- "camel:jackson"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
description: The Database Name we are pointing
type: string
types:
out:
in:
mediaType: application/json
dependencies:
- "camel:jackson"
Expand Down
3 changes: 1 addition & 2 deletions mysql-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -62,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
Expand Down
2 changes: 1 addition & 1 deletion postgresql-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
description: The Database Name we are pointing
type: string
types:
out:
in:
mediaType: application/json
dependencies:
- "camel:jackson"
Expand Down
2 changes: 1 addition & 1 deletion sqlserver-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
description: The Database Name we are pointing
type: string
types:
out:
in:
mediaType: application/json
dependencies:
- "camel:jackson"
Expand Down