Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-781

Implement Health check rest endpoint

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 3.0.0
    • None
    • None
    • Yes
    • Yes

    Description

      By the MAGNOLIA-9244 has been introduced HealthCheckRegistry. Implement and register a health check REST endpoint responding to GET request on /.rest/health, /.rest/health/started, /.rest/health/live and /.rest/health/ready urls delegating to the HealthCheckRegistry.
      The endpoint will respond with HTTP Status 200:
      on /.rest/health if all registered HealthChecks in HealthCheckRegistry respond with status UP,
      on /.rest/health/started if all registered Startup HealthChecks in HealthCheckRegistry respond with status UP,
      on /.rest/health/live if all registered Liveness HealthChecks in HealthCheckRegistry respond with status UP,
      on /.rest/health/ready if all registered ReadinessHealthChecks in HealthCheckRegistry respond with status UP, otherwise will respond with Status 503.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ajuran AntonĂ­n Juran
                ajuran AntonĂ­n Juran
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Task DoR