You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/05/21 05:45:11 UTC
[1/2] camel git commit: Update README.md
Repository: camel
Updated Branches:
refs/heads/master 068615997 -> 70290762d
Update README.md
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/70290762
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/70290762
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/70290762
Branch: refs/heads/master
Commit: 70290762d91967351873f913cf64bb1585959518
Parents: f8b9389
Author: ssatguru <ss...@gmail.com>
Authored: Fri May 20 11:08:37 2016 -0500
Committer: Claus Ibsen <da...@apache.org>
Committed: Sat May 21 07:45:03 2016 +0200
----------------------------------------------------------------------
.../camel-salesforce-maven-plugin/README.md | 54 ++++++++++++++++++--
1 file changed, 50 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/70290762/components/camel-salesforce/camel-salesforce-maven-plugin/README.md
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-maven-plugin/README.md b/components/camel-salesforce/camel-salesforce-maven-plugin/README.md
index 57b7bcd..328dcb3 100644
--- a/components/camel-salesforce/camel-salesforce-maven-plugin/README.md
+++ b/components/camel-salesforce/camel-salesforce-maven-plugin/README.md
@@ -19,7 +19,7 @@ The plugin configuration has the following properties.
* excludePattern - Java RegEx for SObject types to exclude
* packageName - Java package name for generated DTOs, defaults to org.apache.camel.salesforce.dto.
-Additonal properties to provide proxy information if behind a firewall.
+Additonal properties to provide proxy information, if behind a firewall.
* httpProxyHost
* httpProxyPort
@@ -31,14 +31,60 @@ Additonal properties to provide proxy information if behind a firewall.
* httpProxyIncludedAddresses
* httpProxyExcludedAddresses
-Sample plugin
+Sample pom.xml
```
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-```
+ <properties>
+
+ <camelSalesforce.clientId>5MVG9uudbyLbNPZOFutIHJpIb2nchnCiNE_NqeYcewMCPPT8_6VV_LQF_CJ813456GxzhxZdxlGwbYI_yzHmz</camelSalesforce.clientId>
+ <camelSalesforce.clientSecret>5630289243049151316</camelSalesforce.clientSecret>
+ <camelSalesforce.userName>foo@bar.com</camelSalesforce.userName>
+ <camelSalesforce.password>foopasswordCbe5V27JxD0JXYFGJIdIEWB7p</camelSalesforce.password>
+
+ <camelSalesforce.loginUrl>https://myDomain.my.salesforce.com</camelSalesforce.loginUrl>
+
+ <camelSalesforce.httpProxyHost>foo.bar.com</camelSalesforce.httpProxyHost>
+ <camelSalesforce.httpProxyPort>8090</camelSalesforce.httpProxyPort>
+
+ </properties>
+
+ ...
+
+ <build>
+ ...
+ <plugins>
+ ...
+
+ <!-- camel maven saleforce for creating salesforce objects -->
+ <plugin>
+ <groupId>org.apache.camel.maven</groupId>
+ <artifactId>camel-salesforce-maven-plugin</artifactId>
+ <version>2.17.1</version>
+ <configuration>
+ <clientId>${camelSalesforce.clientId}</clientId>
+ <clientSecret>${camelSalesforce.clientSecret}</clientSecret>
+ <userName>${camelSalesforce.userName}</userName>
+ <password>${camelSalesforce.password}</password>
+ <loginUrl default-value="https://login.salesforce.com">${camelSalesforce.loginUrl}</loginUrl>
+ <includes>
+ <include>Account</include>
+ <include>Contacts</include>
+ </includes>
+ <httpProxyHost>${camelSalesforce.httpProxyHost}</httpProxyHost>
+ <httpProxyPort>${camelSalesforce.httpProxyPort}</httpProxyPort>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
-Fro obvious security reasons it is recommended that the clientId, clientSecret, userName and password fields be not set in the pom.xml.
+```
+For obvious security reasons it is recommended that the clientId, clientSecret, userName and password fields be not set in the pom.xml.
The plugin should be configured for the rest of the properties, and can be executed using the following command:
mvn camel-salesforce:generate -DcamelSalesforce.clientId=<clientid> -DcamelSalesforce.clientSecret=<clientsecret> -DcamelSalesforce.userName=<username> -DcamelSalesforce.password=<password>
[2/2] camel git commit: Update README.md
Posted by da...@apache.org.
Update README.md
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f8b93890
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f8b93890
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f8b93890
Branch: refs/heads/master
Commit: f8b938907d62f193ecfb06ee69a26289b9cae83b
Parents: 0686159
Author: ssatguru <ss...@gmail.com>
Authored: Thu May 19 17:40:00 2016 -0500
Committer: Claus Ibsen <da...@apache.org>
Committed: Sat May 21 07:45:03 2016 +0200
----------------------------------------------------------------------
.../camel-salesforce-maven-plugin/README.md | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/f8b93890/components/camel-salesforce/camel-salesforce-maven-plugin/README.md
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-maven-plugin/README.md b/components/camel-salesforce/camel-salesforce-maven-plugin/README.md
index 0424771..57b7bcd 100644
--- a/components/camel-salesforce/camel-salesforce-maven-plugin/README.md
+++ b/components/camel-salesforce/camel-salesforce-maven-plugin/README.md
@@ -10,6 +10,7 @@ The plugin configuration has the following properties.
* clientSecret - Salesforce client secret for Remote API access
* userName - Salesforce account user name
* password - Salesforce account password (including secret token)
+* loginUrl - Salesforce loginUrl (defaults to "https://login.salesforce.com")
* version - Salesforce Rest API version, defaults to 25.0
* outputDirectory - Directory where to place generated DTOs, defaults to ${project.build.directory}/generated-sources/camel-salesforce
* includes - List of SObject types to include
@@ -18,6 +19,25 @@ The plugin configuration has the following properties.
* excludePattern - Java RegEx for SObject types to exclude
* packageName - Java package name for generated DTOs, defaults to org.apache.camel.salesforce.dto.
+Additonal properties to provide proxy information if behind a firewall.
+
+* httpProxyHost
+* httpProxyPort
+* httpProxyUsername
+* httpProxyPassword
+* httpProxyRealm
+* httpProxyAuthUri
+* httpProxyUseDigestAuth
+* httpProxyIncludedAddresses
+* httpProxyExcludedAddresses
+
+Sample plugin
+```
+
+```
+
+
+
Fro obvious security reasons it is recommended that the clientId, clientSecret, userName and password fields be not set in the pom.xml.
The plugin should be configured for the rest of the properties, and can be executed using the following command: