API-GATEWAY status is always DOWN.
blling opened this issue · comments
blling commented
Hristijan Dimitrieski commented
There is a custom health check implemented in the API Gateway: com.eshop.gateway.config.HealthCheckConfig
. The status of the API Gateway is UP only when the statuses of Catalog, Order, and Basket are UP.
blling commented
Hristijan Dimitrieski commented
Probably you are right, but I'll have to check this later, and I'll get back to you. :)
Hristijan Dimitrieski commented
The problem was that the web client couldn't resolve the URLs of the microservices relevant to the health check. Adding the @LoadBalanced
annotation fixed the problem.