springreactive-poc/src/main/resources/
- Download the project and unzip it
- Using terminal 'cd' to springreactive-poc
- Run "gradle clean build"
- Execute
(This should build and run the project and Postgres DB in separate containers)docker-compose -f docker-compose.yml up - If you want to view inside Postgress container, open a new terminal window then type
docker exec -it postgres_db psql centraldb -U admin -W admin - It will ask for the password. Type "admin" as password.
- Now you will be inside the Postgres container's command prompt. 6.1) Check the tables
select * from employee;
select * from comments;
7) Trigger a GET call : http://localhost:8080/employee/all will give you the newly inserted record
8) To trigger a NON-BLOCKING REST call use, http://localhost:8080/external/employee/comments/all
9) Check VendorRoutes.java for all the endpoints