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

Implement Health check rest endpoint

XMLWordPrintable

    • Yes
    • Yes

      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.

      —via MicroProfile Health spec

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:
                Work Started:

                  Task DoR