Skip to content

Commit

Permalink
Salesforce Source: Specify NotifyFor.. parameters as configurable ins…
Browse files Browse the repository at this point in the history
…tead than having hardcoded
  • Loading branch information
oscerd committed Sep 1, 2022
1 parent 00b8eb7 commit f80ab4d
Showing 1 changed file with 32 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit f80ab4d

Please sign in to comment.