Skip to content

Commit

Permalink
Add rawPayload option to Salesforce source connector (#1846)
Browse files Browse the repository at this point in the history
* Add rawPayload option to Salesforce source connector

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>

* Add rawPayload option to Salesforce source connector

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>

---------

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd authored Jan 23, 2024
1 parent 619c646 commit 44d23e5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kamelets/salesforce-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ spec:
description: The operation to use
type: string
default: subscribe
rawPayload:
title: Raw Payload
description: Use raw payload String for request and response (either JSON or XML depending on format), instead of DTOs, false by default.
type: boolean
default: false
types:
out:
mediaType: application/json
Expand Down Expand Up @@ -140,6 +145,7 @@ spec:
notifyForOperationDelete: "{{notifyForOperationDelete}}"
notifyForOperationUndelete: "{{notifyForOperationUndelete}}"
sObjectQuery: "{{query}}"
rawPayload: "{{rawPayload}}"
steps:
- marshal:
json: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ spec:
description: The operation to use
type: string
default: subscribe
rawPayload:
title: Raw Payload
description: Use raw payload String for request and response (either JSON or XML depending on format), instead of DTOs, false by default.
type: boolean
default: false
types:
out:
mediaType: application/json
Expand Down Expand Up @@ -140,6 +145,7 @@ spec:
notifyForOperationDelete: "{{notifyForOperationDelete}}"
notifyForOperationUndelete: "{{notifyForOperationUndelete}}"
sObjectQuery: "{{query}}"
rawPayload: "{{rawPayload}}"
steps:
- marshal:
json: {}
Expand Down

0 comments on commit 44d23e5

Please sign in to comment.