In Chapter 4, Microservices Evolution – A Case Study, we designed and developed a microservice-based PSS system for BrownField Airlines using the Spring framework and Spring Boot. The implementation is satisfactory from the development point of view, and it serves the purpose for low volume transactions. However, this is not good enough for deploying large, enterprise-scale deployments with hundreds or even thousands of microservices.
In Chapter 4, Microservices Evolution – A Case Study, we developed four microservices: Search, Booking, Fares, and Check-in. We also developed a website to test the microservices.
We have accomplished the following items in our microservice implementation so far:
Each microservice exposes a set of REST/JSON endpoints for accessing business capabilities
Each microservice implements certain business functions using the Spring framework.
Each microservice stores its own persistent data using H2, an in-memory database
Microservices are built with Spring Boot, which has an embedded Tomcat server as the HTTP listener
RabbitMQ is used as an external messaging service. Search, Booking, and Check-in interact with each other through asynchronous messaging
Swagger is integrated with all microservices for documenting the REST APIs.
An OAuth2-based security mechanism is developed to protect the microservices