Java REST client for the OrgSync API Version 2
- Eclipse: run
gradle eclipseto create the eclipse files and then import into eclipse - IntelliJ: read this
- NetBeans: read this
- Others probably available. Check out the gradle documentation
To run integration tests you need a running instance of the OrgSync server. The db_template.conf file provides the layout of the community we are testing against. We need to load a staging database for the OrgSync server to be running against. Here are the steps:
gradle generateDbTemplateto create a db_template.json in thebuild/directory- Make this file available to orgsync so you can create the template db (see
DB_TEMPLATE.mdin the OrgSync repo) - Start the OrgSync server pointing at this database
gradle integrationTestto run the tests againstlocalhost:8080
