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 <[email protected]> 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:
