- Build and launch app
git clone https://github.com/kostafey/swedbank-task.git
cd swedbank-task
./mvnw spring-boot:run
- The required database structure with test data (sample parking) will be created
- Some manual test cases can be found in
rest.http
file - Integration autotests are in
SwedbankTestApplicationTests.java
GET /parking/request
- Request for available cell.POST /parking/park
- Actually park the car.POST /pickup/request
- Request for car pickup.POST /pickup/payAndTakeCar
- Actually pickup the car.
GET /floors
- List of floors and cells with with their states.GET /activeOrders
- List all active orders.POST /pickup/all
- Pickup all cars for debugging & in case of fire.