noms-digital-studio/licences-nomis-mocks

Name: licences-nomis-mocks

Owner: NOMS Digital Studio

Description: Mock Nomis API responses used by licences app

Created: 2017-09-18 13:33:34.0

Updated: 2018-05-24 12:13:16.0

Pushed: 2018-05-24 12:13:18.0

Homepage:

Size: 192

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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

adlew clean run

To view available mappings

 http://localhost:9090/__admin/

Example request

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

To reload mappings after making changes

Do a POST to

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.