camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10498) Update Salesforce component to support approval REST API
Date Thu, 24 Nov 2016 11:04:58 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15692980#comment-15692980
] 

ASF GitHub Bot commented on CAMEL-10498:
----------------------------------------

Github user zregvart closed the pull request at:

    https://github.com/apache/camel/pull/1277


> Update Salesforce component to support approval REST API
> --------------------------------------------------------
>
>                 Key: CAMEL-10498
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10498
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-salesforce
>    Affects Versions: 2.18.0
>         Environment: Any
>            Reporter: Zoran Regvart
>             Fix For: 2.19.0
>
>
> Part of CAMEL-8396 to add support for the [Approvals|https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_process_approvals.htm].
> Implement support for getting and sending approvals for
> processing via Salesforce REST API.
> Add two new operations: _approvals_ to fetch any approvals already
> in progress, and _approval_ to initiate approval process on the supplied
> record or records (batch).
> To fetch the records in approval process:
> {code:java}
> ...to("salesforce:approvals")
>     .split().body()
>     .log("${body.entityId} - ${body.instanceStatus}")
> {code}
> And to send a record for approval:
> {code:java}
> ...to("salesforce:approval?approval.actionType=Submit&...")
>     .log("${body.id} - ${body.instanceStatus}")
> {code}
> The _approval_ operation should have the ability to set properties on the
> endpoint (let's call that template), via message headers and message
> body. These can be combined, to place default values on the endpoint
> (template), and runtime values trough headers or message body.
> If the message body is an _Iterable_ then
> they should be submitted in a batch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message