Update wiki Home page for sqlserver-sink

gitea_admin 2026-03-11 14:40:29 +00:00
parent cd17f17dc3
commit d4b1f29627

52
Home.md

@ -1,21 +1,45 @@
# Deploy the Project on CamelX Platform # Microsoft SQL Server Sink
Deploy on CamelX Platform in three steps Send data to a Microsoft SQL Server 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:com.microsoft.sqlserver:mssql-jdbc:<version>"
## Step 2: Deploy This Kamelet expects a JSON-formatted body. Use key:value pairs to map the JSON fields and parameters. For example, here is a query:
Click on **"Deploy"**
- **Version:** Select the desired release 'INSERT INTO accounts (username,city) VALUES (:#username,:#city)'
- **Environment:** Choose `Development`, `Staging`, or `Production`
- **Configuration:** Select the configuration source
- **Resources:** Set CPU and Memory
## Step 3: Expose Here is example input for the example query:
Enable **"Expose"**
Choose an **API Gateway** (Internal, Public, etc.) '{ "username":"oscerd", "city":"Rome"}'
## Metadata
| Property | Value |
|----------|-------|
| Type | sink |
| Group | SQL |
| Namespace | Database |
| Support Level | Stable |
| Provider | Apache Software Foundation |
## Properties
| Name | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| `serverName` | string | ✓ | | The server name for the data source. |
| `serverPort` | string | | `1433` | The server port for the data source. |
| `username` | string | ✓ | | The username to access a secured SQL Server Database. |
| `password` | string | ✓ | | The password to access a secured SQL Server Database. |
| `query` | string | ✓ | | The query to execute against the SQL Server Database. |
| `databaseName` | string | ✓ | | The name of the SQL Server Database. |
| `encrypt` | boolean | | `false` | Encrypt the connection to SQL Server. |
| `trustServerCertificate` | boolean | | `true` | Trust Server Certificate |
## Dependencies
- `camel:jackson`
- `camel:kamelet`
- `camel:sql`
- `mvn:org.apache.commons:commons-dbcp2:2.13.0`