camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zregvart <...@git.apache.org>
Subject [GitHub] camel pull request #1265: CAMEL-10472 Update Salesforce component to support...
Date Fri, 11 Nov 2016 09:45:30 GMT
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

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message