Sample project demonstrating creating test versions of REST clients that read JSON files
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

RLD-REST-SAMPLE

A sample project demonstrating a simple way to create a test version of a REST client service that reads JSON from a file instead of through HTTP.

Build using the command: mvn -DcheckAll clean install

Run using the command: java -Dserver.port=8081 -jar target/rld-rest-sample-1.0.jar

Test using the URLs http://localhost:8081/countries and http://localhost:8081/countries/IND

See http://reallifedeveloper.com/reading-json-files-to-create-test-versions-of-rest-clients/ for more information.