This demo simulates a booking application including three services:
You will need:
You can run the demo using either docker compose or executable files.
mvn clean package -DskipTests -Pdocker -Pdemo
docker-compose up
curl -X POST http://${host_address}:8083/booking/test/2/2
Check the hotel booking status with
curl http://${host_address}:8081/bookings
Check the car booking status with
curl http://${host_address}:8082/bookings
curl -X POST http://${host_address}:8083/booking/test/3/2
Check the hotel booking status with
curl http://${host_address}:8081/bookings
Check the car booking status with
curl http://${host_address}:8082/bookings
The second car booking will be marked with cancel:true