Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-693

Provide one well known default health check entrypoint

    Details

      Description

      Adding health check by adding the monitor module
      https://wildfly-swarm.gitbooks.io/wildfly-swarm-users-guide/content/v/2016.9/advanced/monitoring.html

      Then I have endpoints I can access to check for health

      /node
      /health

      The /node give me node details and return HTTP Status 200.
      But /health returns

      davsclaus:/Users/davsclaus/$ curl -i http://localhost:8080/health
      HTTP/1.1 503 Service Unavailable
      Connection: keep-alive
      Content-Length: 31
      Date: Mon, 19 Sep 2016 09:12:45 GMT
      
      No health endpoints configured!davsclaus:/Users/davsclaus/$
      

      Notice the status code 503.

      What I would like to see is a OOTB health module from wildfly-swarm that returns status code 200 if its okay, for example the information that /node currently uses, so if status=running.

      Then end users can safely assume /health is the one service to use for checking the health.
      For example Spring Boot does this.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  heiko.braun Heiko Braun
                  Reporter:
                  davsclaus Claus Ibsen
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: