The purpose of this project is to provide a simple example for interacting with the DuraCloud REST APIs using the DuraCloud Java client.
The following tools will be required:
- Java SDK - Java 8 or above
- Maven - this code has been tested with version 3.2.5
- Git - to pull down the code (or just download the zip)
- A DuraCloud account
- If you don't have an account yet, you can request an immediate access to a trial account here: http://duracloud.org/trial-account-request
- Retrieve the code (using either git or the zip download option)
- On the command line, transition to the project directory and run: 'mvn clean install'
- On the command line, transition to the project target directory and run: 'java -jar simpleapiexample-1.0-driver.jar'
- A list will be printed to the terminal with the parameters you need to include in order to execute the code. Add the parameters to the command line call above, and watch the magic happen.
- Update the code with your own tests and experiments. This is meant as a starting point for you to build your own tools. Enjoy!