Java REST client for the OrgSync API Version 2
- Eclipse: run
gradle eclipse
to 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 generateDbTemplate
to create a db_template.json in thebuild/
directory- Make this file available to orgsync so you can create the template db (see
DB_TEMPLATE.md
in the OrgSync repo) - Start the OrgSync server pointing at this database
gradle integrationTest
to run the tests againstlocalhost:8080