generated from camel.apache.org/kamelet
Update wiki Home page for mysql-source
parent
45a2ef2b5a
commit
acea331b3a
44
Home.md
44
Home.md
@ -1,21 +1,37 @@
|
|||||||
# Deploy the Project on CamelX Platform
|
# MySQL Source
|
||||||
|
|
||||||
Deploy on CamelX Platform in three steps
|
Query data from a MySQL Database.
|
||||||
|
|
||||||
## Step 1: Create a release
|
In your Pipe file, you must explicitly declare the SQL Server driver dependency in spec->integration->dependencies.
|
||||||
From the project space, click on **"Create a release"**
|
|
||||||
|
|
||||||
The new version is automatically available in the list
|
- "mvn:mysql:mysql-connector-java:<version>"
|
||||||
|
|
||||||
## Step 2: Deploy
|
## Metadata
|
||||||
Click on **"Deploy"**
|
|
||||||
|
|
||||||
- **Version:** Select the desired release
|
| Property | Value |
|
||||||
- **Environment:** Choose `Development`, `Staging`, or `Production`
|
|----------|-------|
|
||||||
- **Configuration:** Select the configuration source
|
| Type | source |
|
||||||
- **Resources:** Set CPU and Memory
|
| Group | SQL |
|
||||||
|
| Namespace | Database |
|
||||||
|
| Support Level | Stable |
|
||||||
|
| Provider | Apache Software Foundation |
|
||||||
|
|
||||||
## Step 3: Expose
|
## Properties
|
||||||
Enable **"Expose"**
|
|
||||||
|
|
||||||
Choose an **API Gateway** (Internal, Public, etc.)
|
| Name | Type | Required | Default | Description |
|
||||||
|
|------|------|----------|---------|-------------|
|
||||||
|
| `serverName` | string | ✓ | | The server name for the data source. |
|
||||||
|
| `serverPort` | string | | `3306` | The server port for the data source. |
|
||||||
|
| `username` | string | ✓ | | The username to access a secured MySQL Database. |
|
||||||
|
| `password` | string | ✓ | | The password to access a secured MySQL Database. |
|
||||||
|
| `query` | string | ✓ | | The query to execute against the MySQL Database. |
|
||||||
|
| `databaseName` | string | ✓ | | The name of the MySQL Database. |
|
||||||
|
| `consumedQuery` | string | | | A query to run on a tuple consumed. |
|
||||||
|
| `delay` | integer | | `500` | The number of milliseconds before the next poll |
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
- `camel:jackson`
|
||||||
|
- `camel:kamelet`
|
||||||
|
- `camel:sql`
|
||||||
|
- `mvn:org.apache.commons:commons-dbcp2:2.13.0`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user