From c4421958aba305a713e7e4f8d615950de43aa186 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 23 Jan 2024 10:11:50 +0100 Subject: [PATCH 1/2] Review OperationName parameter for Salesforce Source Kamelet Signed-off-by: Andrea Cosentino --- kamelets/salesforce-source.kamelet.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kamelets/salesforce-source.kamelet.yaml b/kamelets/salesforce-source.kamelet.yaml index f2577803f..414395708 100644 --- a/kamelets/salesforce-source.kamelet.yaml +++ b/kamelets/salesforce-source.kamelet.yaml @@ -131,7 +131,7 @@ spec: password: "{{password}}" loginUrl: "{{loginUrl}}" from: - uri: "{{local-salesforce}}:{{topicName}}" + uri: "{{local-salesforce}}:{{operation}}:{{topicName}}" parameters: notifyForFields: "{{notifyForFields}}" updateTopic: "true" @@ -140,7 +140,6 @@ spec: notifyForOperationDelete: "{{notifyForOperationDelete}}" notifyForOperationUndelete: "{{notifyForOperationUndelete}}" sObjectQuery: "{{query}}" - operationName: "{{operation}}" steps: - marshal: json: {} From c2df9cab220995d7300f83db87a0827b5de22170 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 23 Jan 2024 10:12:46 +0100 Subject: [PATCH 2/2] Review OperationName parameter for Salesforce Source Kamelet Signed-off-by: Andrea Cosentino --- .../src/main/resources/kamelets/salesforce-source.kamelet.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 f2577803f..414395708 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 @@ -131,7 +131,7 @@ spec: password: "{{password}}" loginUrl: "{{loginUrl}}" from: - uri: "{{local-salesforce}}:{{topicName}}" + uri: "{{local-salesforce}}:{{operation}}:{{topicName}}" parameters: notifyForFields: "{{notifyForFields}}" updateTopic: "true" @@ -140,7 +140,6 @@ spec: notifyForOperationDelete: "{{notifyForOperationDelete}}" notifyForOperationUndelete: "{{notifyForOperationUndelete}}" sObjectQuery: "{{query}}" - operationName: "{{operation}}" steps: - marshal: json: {}