This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new 68bfcc0 salesforce: move credentials to SalesforceComponent bean
68bfcc0 is described below
commit 68bfcc001650eeb02788b3d247d100e050c9976e
Author: Luca Burgazzoli <[email protected]>
AuthorDate: Tue Feb 22 14:30:53 2022 +0100
salesforce: move credentials to SalesforceComponent bean
---
kamelets/salesforce-source.kamelet.yaml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/kamelets/salesforce-source.kamelet.yaml
b/kamelets/salesforce-source.kamelet.yaml
index e4b37ee..3d20d4c 100644
--- a/kamelets/salesforce-source.kamelet.yaml
+++ b/kamelets/salesforce-source.kamelet.yaml
@@ -99,13 +99,14 @@ spec:
beans:
- name: local-salesforce
type:
"#class:org.apache.camel.component.salesforce.SalesforceComponent"
+ parameters:
+ clientId: "{{clientId}}"
+ clientSecret: "{{clientSecret}}"
+ userName: "{{userName}}"
+ password: "{{password}}"
from:
uri: "{{local-salesforce}}:{{topicName}}"
parameters:
- clientId: "{{clientId}}"
- clientSecret: "{{clientSecret}}"
- userName: "{{userName}}"
- password: "{{password}}"
notifyForFields: "{{notifyForFields}}"
updateTopic: "true"
notifyForOperationCreate: "true"