]
Jens Borrmann commented on WFLY-13631:
--------------------------------------
Did you already have the chance to look into this issue?
MicroProfile-Health: HealthChecks from WARs within EARs cannot be
found
-----------------------------------------------------------------------
Key: WFLY-13631
URL:
https://issues.redhat.com/browse/WFLY-13631
Project: WildFly
Issue Type: Bug
Components: MP Health
Affects Versions: 20.0.0.Final
Reporter: Jens Borrmann
Assignee: Jeff Mesnil
Priority: Major
We want to make use of Microprofile Health in our applications. These are deployed as
EARs (due to customers' demand). HealthChecks from WARs within EARs are not displayed
when accessing the health endpoint ([
http://localhost:9990/health])
With a simple example (such as
[
https://www.adam-bien.com/roller/abien/entry/simplest_possible_microprofi...])
I have the following situation
* Deploying as a WAR: Everything works fine
* Deploying as an EAR (containing the WAR) the following information is displayed:
{"status":"UP","checks":[\{"name":"ready-deployment.myapp.ear.microprofile.war","status":"UP"}]}
Remarks:
* Using the new and not deprecated /health/ready does not change anything
* Using OpenLiberty everything works fine