Name: csra-mocks
Owner: NOMS Digital Studio
Description: Mock REST endpoints used by the CSRA application
Created: 2017-06-30 10:55:15.0
Updated: 2017-06-30 10:55:15.0
Pushed: 2017-12-20 13:57:28.0
Homepage: null
Size: 110
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
You will need to have JDK (Java SE Development Kit) installed on your system http://www.oracle.com/technetwork/java/javase/downloads/index.html or
cask install java
You will also need Gradle installed on your system
install gradle
adlew clean shadowJar
-jar build/libs/csra-mocks-all.jar --root-dir src/main/resources --port 9090
adlew clean run
http://localhost:9090/__admin/
-H "API-Key:valid-subscription-key" http://localhost:9090/offender/J1234LO/viper
-H "API-Key:valid-subscription-key" http://localhost:9090/offender/NOTFOUND/viper