September 2019
Intermediate to advanced
668 pages
15h 59m
English
Eureka exposes both an API and a web page for its clients. To provide a clean separation between the API and the web page in Eureka, we will set up routes as follows:
API requests will be routed to http://${app.eureka-server}:8761/eureka. The route rule for the Eureka API looks like this:
- id: eureka-api uri: http://${app.eureka-server}:8761 predicates: - Path=/eureka/api/{segment} filters: - SetPath=/eureka/{segment}
The {segment} part ...