GitHub user zregvart opened a pull request:
https://github.com/apache/camel/pull/1891
CAMEL-1167: Support Metadata component extension
** Submited for review **
@lburgazzoli can you take a look, thanks ð
Adds support for `MetaDataExtension` in the Salesforce component.
Currently two kinds of metadata are supported:
- listing Salesforce Object types
- listing fields of Salesforce object type
For Salesforce object types object name and label are returned and for
Salesforce object fields name and field type are returned.
New facade to use low level Salesforce RestClient was added
`SalesforceClientTemplate` intended to be used from extensions such as
this and the existing `ComponentVerifierExtension` was refactored to use
it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zregvart/camel CAMEL-11667
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1891.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 #1891
----
commit 0e71530d80526e7cefd0e12a02a37e899bfa3b90
Author: Zoran Regvart <[email protected]>
Date: 2017-08-15T09:52:26Z
CAMEL-1167: Support Metadata component extension
Adds support for `MetaDataExtension` in the Salesforce component.
Currently two kinds of metadata are supported:
- listing Salesforce Object types
- listing fields of Salesforce object type
For Salesforce object types object name and label are returned and for
Salesforce object fields name and field type are returned.
New facade to use low level Salesforce RestClient was added
`SalesforceClientTemplate` intended to be used from extensions such as
this and the existing `ComponentVerifierExtension` was refactored to use
it.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---