O'Reilly logo

Hands-On Enterprise Java Microservices with Eclipse MicroProfile by Scott Stark, Antoine Sabot-Durand, Pavol Loffay, Jeff Mesnil, Heiko W. Rupp, Cesar Saavedra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integration with the cloud platform

Most cloud platforms support both TCP- and HTTP-based checks. To integrate health checks with your selected cloud platform, you need to configure your cloud deployment to point to the HTTP entry point, /health, on the node that hosts your application.

The cloud platform will invoke a GET query on the HTTP entry point; all checks that are registered will be performed and the sum of individual checks determines the overall outcome.

Usually, the response payload is ignored by the cloud platform and it only looks at the HTTP status code to determine the liveness or readiness of your application. A successful outcome, UP, will be mapped to 200 and DOWN to 503.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required