3

Creating a Set of Cooperating Microservices

In this chapter, we will build our first couple of microservices. We will learn how to create cooperating microservices with minimalistic functionality. In upcoming chapters, we will add more and more functionality to these microservices. By the end of this chapter, we will have a RESTful API exposed by a composite microservice. The composite microservice will call three other microservices using their RESTful APIs to create an aggregated response.

The following topics will be covered in this chapter:

  • Introducing the microservice landscape
  • Generating skeleton microservices
  • Adding RESTful APIs
  • Adding a composite microservice
  • Adding error handling
  • Testing the APIs manually
  • Adding automated tests of ...

Get Microservices with Spring Boot 3 and Spring Cloud - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.