Filght Booking System
Filght Booking System
The SUBMIT button invokes the Search microservice to fetch the available flights
that meet the conditions mentioned on the screen. A few flights are pre-populated
at the startup of the Search microservice. Edit the Search microservice code to feed
in additional flights, if required.
The output screen with a list of flights is shown in the next screenshot. The Book
link will take us to the booking screen for the selected flight:
The following screenshot shows the booking screen. The user can enter the
passenger details, and create a booking by clicking on the CONFIRM button. This
invokes the Booking microservice, and internally, the Fare service as well. It also
sends a message back to the Search microservice:
Clicking on the SEARCH button in the previous screen invokes the Booking
microservice, and retrieves the booking information. Click on the CheckIn link to
perform the check-in. This invokes the Check-in microservice:
If check-in is successful, it displays the confirmation message, as shown in the next
screenshot, with a confirmation number. This is done by calling the Check-in service
internally. The Check-in service sends a message to Booking to update the check-in
status: