[jboss-jira] [JBoss JIRA] (WFLY-12835) HealthChecks in subdeployments are not registered
charles ghislain (Jira)
issues at jboss.org
Sat Mar 28 12:08:04 EDT 2020
[ https://issues.redhat.com/browse/WFLY-12835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012494#comment-14012494 ]
charles ghislain commented on WFLY-12835:
-----------------------------------------
It affects 19.0.0.Final as well.
The org.wildfly.extension.microprofile.health.deployment.CDIExtension resolves HealthChecks using 'org.wildfly.extension.microprofile.health.deployment.CDIExtension' wich does not find Healtcheck present in ejbs or wars modules of an ear.
Using CDI.current() there works, but is not reliable for ear if im not mistaken.
Im sure it worked with earlier versions, before the change in the output json schema.
> HealthChecks in subdeployments are not registered
> -------------------------------------------------
>
> Key: WFLY-12835
> URL: https://issues.redhat.com/browse/WFLY-12835
> Project: WildFly
> Issue Type: Feature Request
> Components: MP Health
> Affects Versions: 18.0.1.Final
> Reporter: Ivan Straka
> Assignee: Jeff Mesnil
> Priority: Critical
>
> After EAR is deployed HealthChecks are not registered and not exposed under _/health_ endpoint.
> EAR contains one WAR and one JAR. Both of them contains HealthChecks.
> Test source: https://github.com/istraka/eap-microprofile-test-suite/blob/mp-health/microprofile-health/src/test/java/org/jboss/eap/qe/microprofile/health/SubdeploymentHealthTest.java
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list