Project for Spring Boot to check if two cities are connected by road
The data is loaded at startup from an input file
Portland,Seattle
Portland,San Francisco
Seattle,Vancouver
San Francisco,Los Angeles
Los Angeles,San Diego
Spokane,Bellevue
Bend,Eugene
The connectivity between two cities is checked by making a GET call to the end-point /connected and passing two parameters - origin and destination. The two cities might be directly connected or there can be multiple hops between them
1. localhost:8080/connected?origin=Boston&destination=Philadelphia
2. localhost:8080/connected?origin=Portland&destination=Seattle
http://localhost:8080/swagger-ui.html
To use JAMon, change the logging level to TRACE in logback configuration
Use Jmeter with the .jmx file and the test data under the ./performance directory
jacoco-report/index.html is generated as part of the build under the ./target directory.