Zuul Server is an API Gateway application.
It handles all the requests and performs the dynamic routing of microservice applications. It works as a front door for all the requests.
This repo consist of the implementation of the Zuul API Gateway in Java.
This sample zuul-gateway based repository consists of the following modules:
- gateway-service - a module that Spring Cloud Netflix Zuul for running Spring Boot application that acts as a proxy/gateway in our architecture.
This dependency should be added in pom.xml to enable the zuul gateway in the module.
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-zuul</artifactId>
</dependency>
This should be provided in application.properties of the module.
- diagnosis-service - an API module that basically invokes services acknowlegded in diagnosis.
This should be provided in application.properties of the module.
- hospital-service - an API module that basically shows and presents the services provided in hosspital arena.
This should be provided in application.properties of the module.
This Repository was built in :
- Spring Tool Suite - 4
- Eclipse 2022-12
- Java Version - 1.8
- JDK-17
- Zuul-Netflix Support/ Dependency