diff --git a/Home.md b/Home.md index 93a012c..53b540a 100644 --- a/Home.md +++ b/Home.md @@ -1,21 +1,39 @@ -# Deploy the Project on CamelX Platform +# Salesforce Update Sink -Deploy on CamelX Platform in three steps +Update an object in Salesforce. -## Step 1: Create a release -From the project space, click on **"Create a release"** +The body received must contain a JSON key-value pair for each property to update inside the payload attribute, for example: -The new version is automatically available in the list +`{ "payload": { "Phone": "1234567890", "Name": "Antonia" } }` -## Step 2: Deploy -Click on **"Deploy"** +The body received must include the `sObjectName` and `sObjectId` properties, for example: -- **Version:** Select the desired release -- **Environment:** Choose `Development`, `Staging`, or `Production` -- **Configuration:** Select the configuration source -- **Resources:** Set CPU and Memory +`{ "payload": { "Phone": "1234567890", "Name": "Antonia" }, "sObjectId": "sObjectId", "sObjectName": "sObjectName" }` -## Step 3: Expose -Enable **"Expose"** +## Metadata -Choose an **API Gateway** (Internal, Public, etc.) +| Property | Value | +|----------|-------| +| Type | sink | +| Group | Salesforce | +| Namespace | Salesforce | +| Support Level | Stable | +| Provider | Apache Software Foundation | + +## Properties + +| Name | Type | Required | Default | Description | +|------|------|----------|---------|-------------| +| `loginUrl` | string | | `https://login.salesforce.com` | The Salesforce instance login URL. | +| `clientId` | string | ✓ | | The Salesforce application consumer key. | +| `clientSecret` | string | ✓ | | The Salesforce application consumer secret. | +| `userName` | string | ✓ | | The Salesforce username. | +| `password` | string | ✓ | | The Salesforce user password. | + +## Dependencies + +- `camel:core` +- `camel:jsonpath` +- `camel:jackson` +- `camel:salesforce` +- `camel:kamelet`