A NCIP mock server imitates a real server by providing realistic responses to requests. Dynamic response can make your mock API more realistic. Responses can be static or dynamic, and simulate the data the real API would return, matching the schema with data types, objects, and arrays. The data can be randomly generated based on the type of field and requirements you determine. For getting the request and sending the response it uses RESTful API Services.
- Java 11
- Docker 19.03.13
-
Update the below Property Values in scsb_properteis_t table.
- UPDATE
recap
.scsb_properties_t
SETP_VALUE
=' WHEREP_KEY
='ils.server' ANDINSTITUTION_CODE
='';
- UPDATE
Download the Project , navigate inside project folder and build the project using below command
./gradlew clean build
Naviagte Inside project folder where Dockerfile is present and Execute the below command
docker build -t phase4-scsb-ncip-mock-server .
User the below command to Run the Docker
docker run --name phase4-scsb-ncip-mock-server -p -d phase4-scsb-ncip-mock-server
http://localhost:/api/patrons/