Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 532 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 532 Bytes

Licences Nomis Mocks

Mocks of Nomis APIs used by the Licences project

Push to master for auto-deploy via Heroku, see https://dashboard.heroku.com/apps/licences-nomis-mocks

To run via Gradle

./gradlew clean run

To view available mappings

curl http://localhost:9090/__admin/

Example request

curl -H "Authorization: token" http://localhost:9090/elite2api/prisoners?firstName=john&lastName=smith

To reload mappings after making changes

Do a POST to

http://localhost:9090/__admin/mappings/reset