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

The Health tab

Clicking on the Health tab of the application displays a page like the following:

The links on the page correspond to the health check endpoints for the svcs1 and svcs2 images. Selecting either shows the health check output from the image. The svcs1 image health check is composed of the io.packt.sample.health.ServiceHealthCheck and io.packt.sample.health.CheckDiskspace. Furthermore, ServiceHealthCheck is just a mock implementation that always returns an up status. The CheckDiskspace health check procedure looks to a path set using the MP-Config health.pathToMonitor property and then sets the procedure status to up/down, based ...

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