Upload, Search and Visualise RTB request
This Project is for uploading RTB request through spring-boot application to elastic-search. Then search the request based on parameters and get the List as a response. Integrate Kibana to view the logs and the request upload.
This project has three services:
- Spring-boot for backend (API)
- Elastic Search for storing the RTB request
- Kibana for Logs and Dashboard
You should have Docker and Docker-compose install inorder to run this application. If you need help installing docker and docker-compose refer to this below link:
- Copy the env_example file to .env
docker-compose --build up
That's it. You application should start.
docker-compose down
That's should bring down all the containers.
Run command docker ps
You should see three container running.
There are three API:
- The First API is to check the connection
curl -X GET http://localhost:8080/api/checkconnection
- The Second API is to upload the RTB Request
curl -X POST -H 'Content-Type: application/json' -d '{ RTB_REQUEST }'
. The Third API is to search for the RTB Request
curl -X POST -H 'Content-Type: application/json' -d '{ RTB_REQUEST_PARAMETERS }'
project_location/example_request/