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-10472) Update Salesforce component to support recent items REST API
Date Fri, 11 Nov 2016 09:45:59 GMT

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

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

GitHub user zregvart opened a pull request:

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

    CAMEL-10472 Update Salesforce component to support recent items REST API

    Adds support for getting recent items via Salesforce REST API[1].
    
    New operation `recent` was added and can be used like:
    
        ...to("salesforce:recent")
            .split().body()
              .log("${body.name} at ${body.attributes.url}");
    
    Number of items returned can be limited by the `limit` parameter in URI,
    body or headers.
    
    [1] https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_recent_items.htm

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zregvart/camel CAMEL-8396-recent

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1265.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1265
    
----
commit fcc2351f5ab6eb2801096a13c3f2ae90d5aadd20
Author: Zoran Regvart <zoran@regvart.com>
Date:   2016-11-10T10:51:28Z

    Update Camel Salesforce integration tests
    
    Tests in SalesforceComponentConfigurationTest were not updated to the
    latest functionality provided by the
    SalesforceComponent::completeEndpointPath.
    
    Also renamed SalesforceComponentConfigurationTest to
    SalesforceComponentConfigurationIntegrationTest, the test requires
    Salesforce access to run. Renamed the `salesforce-test` profile to
    `integration` and enforced existence of
    `test-salesforce-login.properties` file in the root of
    `camel-salesforce-parent` project -- it is needed for the integration
    tests and contains the credentials required for accessing Salesforce
    account used.
    
    Details in README.md.

commit e2836347ecb005e94d51ba5645102484ef660a95
Author: Zoran Regvart <zoran@regvart.com>
Date:   2016-11-10T19:18:31Z

    CAMEL-8396 Update Salesforce component to support new REST APIs in Salesforce API V33.0
    
    This commit adds support for getting recent items via Salesforce REST API[1].
    
    New operation `recent` was added and can be used like:
    
        ...to("salesforce:recent")
            .split().body()
              .log("${body.name} at ${body.attributes.url}");
    
    Number of items returned can be limited by the `limit` parameter in URI,
    body or headers.
    
    [1] https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_recent_items.htm

----


> Update Salesforce component to support recent items REST API
> ------------------------------------------------------------
>
>                 Key: CAMEL-10472
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10472
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-salesforce
>    Affects Versions: 2.18.1
>         Environment: Any
>            Reporter: Zoran Regvart
>              Labels: feature, features
>
> Part of CAMEL-8396 to add support for the [Recently Viewed Items|https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_recent_items.htm].
> Add operation `recent` that can be used like:
> {code:java}
> ...to("salesforce:recent")
>     .split().body()
>       .log("${body.name} at ${body.attributes.url}");
> {code}



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

Mime
View raw message