The application receives post requests and communicate via sockets to the python server here to save it in a file
Before running this application you need to make sure :
- You have java installed from here
- You have maven installed from here
- You have postman installed from here
To run the application :
- Make sure you already have followed the README here to run the python socket server
- Make sure in the
application.properties
file you are using the same IP and PORT values as the python socket server - To build the project, in the folder containing
pom.xml
use the terminal to runmvn package
- Run the project using
java -jar target/java-app-0.1.0.jar
- Use postman to import the included file
Test-app.postman_collection.json
and run the post request - Observe in the 2 terminals for the 2 applications how the event is being parsed and processed, change the
event parameters in postman and make sure it is being appended to
events.csv
file