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 2024/01/23 09:26:49 UTC

(camel-kamelets) branch 4.0.x updated: Review OperationName parameter for Salesforce Source Kamelet - 4.0.x (#1845)

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

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


The following commit(s) were added to refs/heads/4.0.x by this push:
     new e7d85a96 Review OperationName parameter for Salesforce Source Kamelet - 4.0.x (#1845)
e7d85a96 is described below

commit e7d85a9614f12b3ee7c497069826bf3be590b973
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 23 10:26:44 2024 +0100

    Review OperationName parameter for Salesforce Source Kamelet - 4.0.x (#1845)
    
    * Review OperationName parameter for Salesforce Source Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
    
    * Review OperationName parameter for Salesforce Source Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
    
    ---------
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/salesforce-source.kamelet.yaml                                | 3 +--
 .../src/main/resources/kamelets/salesforce-source.kamelet.yaml         | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/kamelets/salesforce-source.kamelet.yaml b/kamelets/salesforce-source.kamelet.yaml
index d489cfc0..877d48e6 100644
--- a/kamelets/salesforce-source.kamelet.yaml
+++ b/kamelets/salesforce-source.kamelet.yaml
@@ -141,7 +141,7 @@ spec:
           password: "{{password}}"
           loginUrl: "{{loginUrl}}"
     from:
-      uri: "{{local-salesforce}}:{{topicName}}"
+      uri: "{{local-salesforce}}:{{operation}}:{{topicName}}"
       parameters:
         notifyForFields: "{{notifyForFields}}"
         updateTopic: "true"
@@ -150,7 +150,6 @@ spec:
         notifyForOperationDelete: "{{notifyForOperationDelete}}"
         notifyForOperationUndelete: "{{notifyForOperationUndelete}}"
         sObjectQuery: "{{query}}"
-        operationName: "{{operation}}"
       steps:
       - marshal:
           json: {}
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 d489cfc0..877d48e6 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
@@ -141,7 +141,7 @@ spec:
           password: "{{password}}"
           loginUrl: "{{loginUrl}}"
     from:
-      uri: "{{local-salesforce}}:{{topicName}}"
+      uri: "{{local-salesforce}}:{{operation}}:{{topicName}}"
       parameters:
         notifyForFields: "{{notifyForFields}}"
         updateTopic: "true"
@@ -150,7 +150,6 @@ spec:
         notifyForOperationDelete: "{{notifyForOperationDelete}}"
         notifyForOperationUndelete: "{{notifyForOperationUndelete}}"
         sObjectQuery: "{{query}}"
-        operationName: "{{operation}}"
       steps:
       - marshal:
           json: {}