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 2021/11/15 13:30:35 UTC

[camel-kamelets] 02/03: Salesforce Source Kamelet: Make notifyForFields configurable

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

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

commit 9b2449ccf94f7346ea8fc9843db554964a95fb50
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 15 14:29:19 2021 +0100

    Salesforce Source Kamelet: Make notifyForFields configurable
---
 .../src/main/resources/kamelets/salesforce-source.kamelet.yaml     | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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 e0047c7..1c24885 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
@@ -39,6 +39,11 @@ spec:
         description: The Salesforce instance login URL
         type: string
         default: https://login.salesforce.com
+      notifyForFields:
+        title: Notify For Fields
+        description: Notify for fields, options are ALL, REFERENCED, SELECT, WHERE.
+        type: string
+        default: ALL
       clientId:
         title: Consumer Key
         description: The Salesforce application consumer key
@@ -83,7 +88,7 @@ spec:
         clientSecret: "{{clientSecret}}"
         userName: "{{userName}}"
         password: "{{password}}"
-        notifyForFields: "ALL"
+        notifyForFields: "{{notifyForFields}}"
         updateTopic: "true"
         notifyForOperationCreate: "true"
         notifyForOperationUpdate: "false"