[
https://issues.redhat.com/browse/WFWIP-352?page=com.atlassian.jira.plugin...
]
Martin Choma updated WFWIP-352:
-------------------------------
Steps to Reproduce:
* Deploy applicaiton from attachment HealthDeprecatedTest.war, which has
mp.health.disable-default-procedures=configured in META-INF
* check operation returns full list of checks
{code}
[standalone@localhost:9990 /] /subsystem=microprofile-health-smallrye:check
{
"outcome" => "success",
"result" => {
"status" => "UP",
"checks" => [
{
"name" => "deployments-status",
"status" => "UP",
"data" =>
{"_DEFAULT___DEFAULT__HealthDeprecatedTest.war" => "OK"}
},
{
"name" => "boot-errors",
"status" => "UP"
},
{
"name" => "server-state",
"status" => "UP",
"data" => {"value" => "running"}
},
{
"name" => "deprecated-health",
"status" => "UP",
"data" => {"key" => "value"}
}
]
}
}
{code}
was:
* Deploy applicaiton from attachment HealthDeprecatedTest.war, which has
mp.health.disable-default-procedures=configured in META-INF
* check operation returns full list of checks \{code}[standalone@localhost:9990 /]
/subsystem=microprofile-health-smallrye:check
{
"outcome" => "success",
"result" => {
"status" => "UP",
"checks" => [
{
"name" => "deployments-status",
"status" => "UP",
"data" => \{"_DEFAULT___DEFAULT__HealthDeprecatedTest.war" =>
"OK"}
},
{
"name" => "boot-errors",
"status" => "UP"
},
{
"name" => "server-state",
"status" => "UP",
"data" => \{"value" => "running"}
},
{
"name" => "deprecated-health",
"status" => "UP",
"data" => \{"key" => "value"}
}
]
}
}
{code}
All checks are returned if mp.health.disable-default-procedures=true
in META-INF
--------------------------------------------------------------------------------
Key: WFWIP-352
URL:
https://issues.redhat.com/browse/WFWIP-352
Project: WildFly WIP
Issue Type: Bug
Components: MP Health
Reporter: Martin Choma
Assignee: Jeff Mesnil
Priority: Major
Attachments: HealthDeprecatedTest.war
According to [0] I understand mp.health.disable-default-procedures=true should disable
default checks added by RFE
https://issues.redhat.com/browse/EAP7-1322.
But we have tests where we configure this property and `boot-errors`, `server-state`,
`deployments-status` are returned.
When I set mp.health.disable-default-procedures=true globally by ./standalone.sh
-Dmp.health.disable-default-procedures=true it works corectly. Problems seems
mp.health.disable-default-procedures is configured through META-INF file in war file. Is
this behaviour expected?
[0]
https://github.com/wildfly/wildfly/commit/f5bd3daebce865c3215a65454cc2f6d...
[1]
https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-microp...
[2]
https://github.com/jboss-eap-qe/eap-microprofile-test-suite/blob/058910f9...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)