kamelets.salesforce-composite-upsert-sink.kamelet.yaml Maven / Gradle / Ivy
The newest version!
#---------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
name: salesforce-composite-upsert-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
camel.apache.org/catalog.version: "4.8.0"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCA0OCA0OCIgdmVyc2lvbj0iMS4xIj48ZyBpZD0ic3VyZmFjZTEiPjxwYXRoIGQ9Ik0zNi41IDEyYy0xLjMyNCAwLTIuNTkuMjU4LTMuNzU4LjcwM0E3Ljk5NCA3Ljk5NCAwIDAgMCAyNiA5Yy0yLjEwNSAwLTQuMDIuODItNS40NDUgMi4xNTJBOS40NjggOS40NjggMCAwIDAgMTMuNSA4QzguMjU0IDggNCAxMi4yNTQgNCAxNy41YzAgLjc5My4xMSAxLjU1OS4yOSAyLjI5M0E4LjQ3MiA4LjQ3MiAwIDAgMCAxIDI2LjVDMSAzMS4xOTUgNC44MDUgMzUgOS41IDM1Yy40MTQgMCAuODE2LS4wNCAxLjIxNS0uMDk4IDEuM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M9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDEvcmRmLXNjaGVtYSMiIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+PHJkZjpEZXNjcmlwdGlvbiBhYm91dD0iaHR0cHM6Ly9pY29uc2NvdXQuY29tL2xlZ2FsI2xpY2Vuc2VzIiBkYzp0aXRsZT0ic2FsZXNmb3JjZSIgZGM6ZGVzY3JpcHRpb249InNhbGVzZm9yY2UiIGRjOnB1Ymxpc2hlcj0iSWNvbnNjb3V0IiBkYzpkYXRlPSIyMDE3LTEyLTE1IiBkYzpmb3JtYXQ9ImltYWdlL3N2Zyt4bWwiIGRjOmxhbmd1YWdlPSJlbiI+PGRjOmNyZWF0b3I+PHJkZjpCYWc+PHJkZjpsaT5JY29uczg8L3JkZjpsaT48L3JkZjpCYWc+PC9kYzpjcmVhdG9yPjwvcmRmOkRlc2NyaXB0aW9uPjwvcmRmOlJERj48L21ldGFkYXRhPjwvc3ZnPg=="
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Salesforce"
camel.apache.org/kamelet.namespace: "Salesforce"
labels:
camel.apache.org/kamelet.type: "sink"
spec:
definition:
title: "Salesforce composite upsert Sink"
description: |-
Upsert Composite List of sObjects in Salesforce.
The body received must contain List of JSON SObjects to insert/update inside the records attribute, for example:
`{"records" : ["attributes" : {"type" : "KameletSinkSObject__c"},"ExtId__c" : "1","Name__c": "Ziauddin", "City__c": "Bhopal"], ["attributes" : {"type" : "KameletSinkSObject__c"},"ExtId__c" : "2","Name__c": "Shaikh", "City__c": "Bhopal"] }`
required:
- sObjectName
- sObjectIdName
- clientId
- clientSecret
- userName
- password
type: object
properties:
sObjectName:
title: Object Name
description: The type of the Salesforce object. Required if using a key-value pair.
type: string
example: Contact
sObjectIdName:
title: Object Id Name
description: The Field Name of the External ID of the Salesforce object. Required if using a key-value pair.
type: string
loginUrl:
title: Login URL
description: The Salesforce instance login URL.
type: string
default: https://login.salesforce.com
clientId:
title: Consumer Key
description: The Salesforce application consumer key.
type: string
x-descriptors:
- urn:camel:group:credentials
clientSecret:
title: Consumer Secret
description: The Salesforce application consumer secret.
type: string
format: password
x-descriptors:
- urn:camel:group:credentials
userName:
title: Username
description: The Salesforce username.
type: string
x-descriptors:
- urn:camel:group:credentials
password:
title: Password
description: The Salesforce user password.
type: string
format: password
x-descriptors:
- urn:camel:group:credentials
types:
in:
mediaType: application/json
dependencies:
- "camel:core"
- "camel:jsonpath"
- "camel:jackson"
- "camel:salesforce"
- "camel:kamelet"
template:
beans:
- name: salesforce
type: "#class:org.apache.camel.component.salesforce.SalesforceComponent"
properties:
sObjectName: "{{sObjectName}}"
sObjectIdName: "{{sObjectIdName}}"
clientId: "{{clientId}}"
clientSecret: "{{clientSecret}}"
userName: "{{userName}}"
password: "{{password}}"
loginUrl: "{{loginUrl}}"
from:
uri: kamelet:source
steps:
- transform:
jsonpath: "$['records']"
- to:
uri: "{{salesforce}}:compositeUpsertSObjectCollections"
parameters:
sObjectName: "{{sObjectName}}"
sObjectIdName: "{{sObjectIdName}}"
rawPayload: "true"
allOrNone: "false"