April 2018
Intermediate to advanced
432 pages
10h 38m
English
Spring Cloud Netflix Zuul exposes two additional management endpoints for monitoring:
To enable the managements endpoints feature, we have to include (as always) spring-boot-starter-actuator in the project dependencies. It's a good idea to disable endpoint security for test purposes by setting the management.security.enabled property to false. Now, you may just call the GET /routes method and it would print the following JSON response for our example system:
{ "/api/account/**": "account-service", "/api/customer/**": "customer-service", "/api/order/**": "order-service", ...