Tests have methods that could get or modify data through 1.5 API.
- Install java8, git, ide (e.g. eclipse/idea/etc).
- Enable annotation processing in IDE.
- Add lombok plugin to IDE.
- Checkout locally the project from git.
- In IDE import as gradle project and compile.
- Login to your Planmill instance and create new user for API.
- Login with that user and register the new token (https://github.com/planmill/api/wiki/Security#registration).
- In your local project, navigate to \src\main\resources. Copy application.yml.template, create a new named application.yml file in the same directory & update it with the appropriate settings:
- baseUrl,
- tokenUrl,
- clientId,
- clientSecret.
- Run ConnectionTest.testConnection() test. In the log you should see id of your api user (or error if auth/connection/etc failed).
More info here: https://github.com/planmill/api/wiki/Security