Skip to content

planmill/api-data-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tool to test api and insert new data for testing

Tests have methods that could get or modify data through 1.5 API.

Basic setup

  1. Install java8, git, ide (e.g. eclipse/idea/etc).
  2. Enable annotation processing in IDE.
  3. Add lombok plugin to IDE.
  4. Checkout locally the project from git.
  5. In IDE import as gradle project and compile.
  6. Login to your Planmill instance and create new user for API.
  7. Login with that user and register the new token (https://github.com/planmill/api/wiki/Security#registration).
  8. 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.
  9. 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

About

Helper project to test API and insert data through api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages