Working with the Salesforce Parnter API and Enterprise API can be a pain. Although we're old school and appreciate some of the benefits of strongly-typed SOAP contracts, it's easy to wind up with a solution that's brittle and not resilient.
salesforce-java-tools is the backbone of all our deep Salesforce integrations within the Nonprofit Nucleus engine. In particular, SFDCPartnerAPIClient supports all the bells-and-whistles and hardening we require: mapping between Partner API and Enterprise API objects, batched actions, retries, paging, session/connection caching, and DRY helper methods.
Impact Upgrade is a tech and operations consulting company that solely partners with nonprofits and for-good businesses. We make the complex simple, focusing on back-office operations and making big ideas a reality. Don't fight a multiple-front battle! You know your mission. We know tech.
Add the following Maven dependency:
<dependency>
<groupId>com.impactupgrade.integration</groupId>
<artifactId>salesforce-java-tools</artifactId>
<version>0.3.2-SNAPSHOT</version>
</dependency>
Code example:
TODO
- Add the following to ~/.m2/settings.xml
<server>
<id>ossrh</id>
<username>USERNAME</username>
<password>PASSWORD</password>
</server>
- mvn clean deploy
- Add the following to ~/.m2/settings.xml
<server>
<id>ossrh</id>
<username>USERNAME</username>
<password>PASSWORD</password>
</server>
- mvn versions:set -DnewVersion=1.2.3.Final
- git add .
- git commit -m "1.2.3.Final release"
- git tag 1.2.3.Final
- mvn clean deploy -P release
- mvn versions:set -DnewVersion=1.2.4-SNAPSHOT
- git add .
- git commit -m "1.2.4-SNAPSHOT"
- git push origin master 1.2.3.Final
Licensed under the GNU AFFERO GENERAL PUBLIC LICENSE V3 (GNU AGPLv3). See agpl-3.0.txt for more information.