You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/10/24 07:55:15 UTC

[camel-kamelets] 02/04: Salesforce Source Kamelet - Add operationName as parameter with subscribe as default value

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch salesforce-source-998
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit e113f1d57aa492224d0f04d5a1ba1de84ce17ead
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 24 09:48:59 2022 +0200

    Salesforce Source Kamelet - Add operationName as parameter with subscribe as default value
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/salesforce-source.kamelet.yaml      | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
index bd853828..fc849f65 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
@@ -116,6 +116,11 @@ spec:
         x-descriptors:
           - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      operation:
+	title: Operation
+        description: The operation to use
+        type: string
+        default: subscribe
   types:
     out:
       mediaType: application/json
@@ -143,6 +148,7 @@ spec:
         notifyForOperationDelete: "{{notifyForOperationDelete}}"
         notifyForOperationUndelete: "{{notifyForOperationUndelete}}"
         sObjectQuery: "{{query}}"
+        operationName: "{{operation}}"
       steps:
       - marshal:
           json: {}