generated from camel.apache.org/kamelet
Update wiki Home page for salesforce-update-sink
parent
4c8c0c6420
commit
2b9b8954e0
46
Home.md
46
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
|
The body received must contain a JSON key-value pair for each property to update inside the payload attribute, for example:
|
||||||
From the project space, click on **"Create a release"**
|
|
||||||
|
|
||||||
The new version is automatically available in the list
|
`{ "payload": { "Phone": "1234567890", "Name": "Antonia" } }`
|
||||||
|
|
||||||
## Step 2: Deploy
|
The body received must include the `sObjectName` and `sObjectId` properties, for example:
|
||||||
Click on **"Deploy"**
|
|
||||||
|
|
||||||
- **Version:** Select the desired release
|
`{ "payload": { "Phone": "1234567890", "Name": "Antonia" }, "sObjectId": "sObjectId", "sObjectName": "sObjectName" }`
|
||||||
- **Environment:** Choose `Development`, `Staging`, or `Production`
|
|
||||||
- **Configuration:** Select the configuration source
|
|
||||||
- **Resources:** Set CPU and Memory
|
|
||||||
|
|
||||||
## Step 3: Expose
|
## Metadata
|
||||||
Enable **"Expose"**
|
|
||||||
|
|
||||||
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`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user