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

noms-digital-studio/licences-nomis-mocks

Repository files navigation

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

About

Mock Nomis API responses used by licences app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •