PoC on Apache Ignite + PostgreSQL
Steps to run location-service-postgres:
- Download and Install Apache-ignite 2.8.1 from : https://ignite.apache.org/download.cgi
- Go to the bin folder of Ignite installation directory
{ignite}/binfrom the command shell and start an Ignite-node:./ignite.sh - Download and Install PostgreSQL from : https://www.postgresql.org
- Open PGAdmin create a new DB name locationservice. Set the password as root (for PoC purpose only).
- Flyway script will take care of the data input.
- Start the service.
- You can execute the below endpoints in curl/Postman:
- GET http://localhost:9000/api/countries?population=800000
- GET http://localhost:9000/api/cities?population=800000
- GET http://localhost:9000/api/cities/1024 (1024 is the city ID for Mumbai)