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:14 UTC

[camel-kamelets] 01/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 9e127c793e2d2980adfe0114a99efd0857f77d9c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 24 09:47:49 2022 +0200

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

diff --git a/kamelets/salesforce-source.kamelet.yaml b/kamelets/salesforce-source.kamelet.yaml
index bd853828..fc849f65 100644
--- a/kamelets/salesforce-source.kamelet.yaml
+++ b/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: {}