- Installed Java, sbt, Docker
docker-compose.yaml has been launched by Docker
- This will start the GraphQL server.
- Important: By default, all data from persistence and Kafka will be deleted during launch.
- To change this behavior, set the parameter:
app.clean-up-on-start = false
sbt "testOnly e2e.BookingE2ETest"
- This will run a client that connects to the server and performs the following steps:
- Create a booking
- Call
getHomeBookings and check the booking is present
- Try to create the same booking again → expect conflict response with alternative dates
- Call
getHomeBookings and check the booking is still only one
- Check
booking_conflicts table; conflict data should be present
- Original GraphQL schema has been changed:
- Instead of
_: String! # Format: YYYY-MM-DD, LocalDate is used in schema definition
- The query
bookings(homeId: ID!): [Booking!]! has been changed to bookings(homeId: UUID!): [Booking!]!