In this chapter, we will learn how to use Spring Cloud Gateway as an edge server, that is, to control what APIs are exposed from our microservices-based system landscape. We will see how microservices that have public APIs will be made accessible from the outside through the edge server, while microservices that have private APIs only will be accessible from the inside of the microservice landscape. In our system landscape, this means that the product composite service and the discovery service, Netflix Eureka, will be exposed through the edge server. The three core services—product, recommendation, and review—will be hidden from the outside.
The following topics will be covered in this chapter:
- Adding an edge server to our system landscape
- Setting up a Spring Cloud...