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/09/01 13:17:39 UTC
[camel-kamelets] branch main updated (9e3a4964 -> f80ab4d4)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
from 9e3a4964 AWS Region enum updated for AWS Kamelets
new 00b8eb73 Salesforce Source: Specify NotifyFor.. parameters as configurable instead than having hardcoded
new f80ab4d4 Salesforce Source: Specify NotifyFor.. parameters as configurable instead than having hardcoded
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
kamelets/salesforce-source.kamelet.yaml | 36 +++++++++++++++++++---
.../kamelets/salesforce-source.kamelet.yaml | 36 +++++++++++++++++++---
2 files changed, 64 insertions(+), 8 deletions(-)
[camel-kamelets] 02/02: Salesforce Source: Specify NotifyFor.. parameters as configurable instead than having hardcoded
Posted by ac...@apache.org.
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
commit f80ab4d42c4f4c220a6b75b125a5af114a704899
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Sep 1 14:59:13 2022 +0200
Salesforce Source: Specify NotifyFor.. parameters as configurable instead than having hardcoded
---
.../kamelets/salesforce-source.kamelet.yaml | 36 +++++++++++++++++++---
1 file changed, 32 insertions(+), 4 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 28b6c3f4..bd853828 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
@@ -88,6 +88,34 @@ spec:
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- urn:camel:group:credentials
+ notifyForOperationCreate:
+ title: Notify Operation Create
+ description: Notify for create operation.
+ type: boolean
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ default: true
+ notifyForOperationUpdate:
+ title: Notify Operation Update
+ description: Notify for update operation.
+ type: boolean
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ default: false
+ notifyForOperationDelete:
+ title: Notify Operation Delete
+ description: Notify for delete operation.
+ type: boolean
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ default: false
+ notifyForOperationUndelete:
+ title: Notify Operation Undelete
+ description: Notify for undelete operation.
+ type: boolean
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ default: false
types:
out:
mediaType: application/json
@@ -110,10 +138,10 @@ spec:
parameters:
notifyForFields: "{{notifyForFields}}"
updateTopic: "true"
- notifyForOperationCreate: "true"
- notifyForOperationUpdate: "false"
- notifyForOperationDelete: "false"
- notifyForOperationUndelete: "false"
+ notifyForOperationCreate: "{{notifyForOperationCreate}}"
+ notifyForOperationUpdate: "{{notifyForOperationUpdate}}"
+ notifyForOperationDelete: "{{notifyForOperationDelete}}"
+ notifyForOperationUndelete: "{{notifyForOperationUndelete}}"
sObjectQuery: "{{query}}"
steps:
- marshal:
[camel-kamelets] 01/02: Salesforce Source: Specify NotifyFor.. parameters as configurable instead than having hardcoded
Posted by ac...@apache.org.
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
commit 00b8eb7330b2c91d7597b40d6dbe8347e807adb3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Sep 1 14:58:48 2022 +0200
Salesforce Source: Specify NotifyFor.. parameters as configurable instead than having hardcoded
---
kamelets/salesforce-source.kamelet.yaml | 36 +++++++++++++++++++++++++++++----
1 file changed, 32 insertions(+), 4 deletions(-)
diff --git a/kamelets/salesforce-source.kamelet.yaml b/kamelets/salesforce-source.kamelet.yaml
index 28b6c3f4..bd853828 100644
--- a/kamelets/salesforce-source.kamelet.yaml
+++ b/kamelets/salesforce-source.kamelet.yaml
@@ -88,6 +88,34 @@ spec:
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- urn:camel:group:credentials
+ notifyForOperationCreate:
+ title: Notify Operation Create
+ description: Notify for create operation.
+ type: boolean
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ default: true
+ notifyForOperationUpdate:
+ title: Notify Operation Update
+ description: Notify for update operation.
+ type: boolean
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ default: false
+ notifyForOperationDelete:
+ title: Notify Operation Delete
+ description: Notify for delete operation.
+ type: boolean
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ default: false
+ notifyForOperationUndelete:
+ title: Notify Operation Undelete
+ description: Notify for undelete operation.
+ type: boolean
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ default: false
types:
out:
mediaType: application/json
@@ -110,10 +138,10 @@ spec:
parameters:
notifyForFields: "{{notifyForFields}}"
updateTopic: "true"
- notifyForOperationCreate: "true"
- notifyForOperationUpdate: "false"
- notifyForOperationDelete: "false"
- notifyForOperationUndelete: "false"
+ notifyForOperationCreate: "{{notifyForOperationCreate}}"
+ notifyForOperationUpdate: "{{notifyForOperationUpdate}}"
+ notifyForOperationDelete: "{{notifyForOperationDelete}}"
+ notifyForOperationUndelete: "{{notifyForOperationUndelete}}"
sObjectQuery: "{{query}}"
steps:
- marshal: