Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1732

MicroProfile Health view shows undefined/down though health endpoint shows correct state

    XMLWordPrintable

Details

    • Hide

      Configure WildFly standalone with MicroProfile Health enabled, e.g. by using standalone-microprofile.xml configuration.

      Access HAL Console at http://localhost:9990/console and go to Runtime -> MicroProfile Health for the HAL view.

      Access health endpoint at http://localhost:9990/health and compare to HAL view

      Show
      Configure WildFly standalone with MicroProfile Health enabled, e.g. by using standalone-microprofile.xml configuration. Access HAL Console at http://localhost:9990/console  and go to Runtime -> MicroProfile Health for the HAL view. Access health endpoint at  http://localhost:9990/health  and compare to HAL view
    • Undefined

    Description

      The MicroProfile Health view in HAL Management Console shows:

      The health check outcome is DOWN.

      And all states are listed as "undefined" though for example data of deployment-status shows "OK" and also server-state data is "running".

       

      Directly accessing the health endpoint via HTTP (http://localhost:9990/health) shows this instead:

      {"status":"UP","checks":[\{"name":"deployments-status","status":"UP","data":{"test.ear":"OK","test2.ear":"OK"}},\{"name":"boot-errors","status":"UP"},\{"name":"server-state","status":"UP","data":{"value":"running"}},\{"name":"ready-deployment.test2.ear.test2-web.war","status":"UP"},\{"name":"ready-deployment.test.ear.test-web.war","status":"UP"}]}

      So the endpoint shows all states as "UP" instead of HAL showing all states as "undefined" or "DOWN" (for the overall outcome).

      I would expect HAL to show the same output as the health endpoint.

       

      Attachments

        Activity

          People

            mpetrov@redhat.com Michal Petrov
            sebastian.baumhekel Sebastian Baumhekel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: