Skip to content

impactupgrade/salesforce-java-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

salesforce-java-tools

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

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.

Usage

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

How to Deploy a Snapshot

  1. Add the following to ~/.m2/settings.xml
<server>
  <id>ossrh</id>
  <username>USERNAME</username>
  <password>PASSWORD</password>
</server>
  1. mvn clean deploy

How to Deploy a Release

  1. Add the following to ~/.m2/settings.xml
<server>
  <id>ossrh</id>
  <username>USERNAME</username>
  <password>PASSWORD</password>
</server>
  1. mvn versions:set -DnewVersion=1.2.3.Final
  2. git add .
  3. git commit -m "1.2.3.Final release"
  4. git tag 1.2.3.Final
  5. mvn clean deploy -P release
  6. mvn versions:set -DnewVersion=1.2.4-SNAPSHOT
  7. git add .
  8. git commit -m "1.2.4-SNAPSHOT"
  9. git push origin master 1.2.3.Final

License

Licensed under the GNU AFFERO GENERAL PUBLIC LICENSE V3 (GNU AGPLv3). See agpl-3.0.txt for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages