Uploaded image for project: 'infrautils'
  1. infrautils
  2. INFRAUTILS-33

Expose ready and/or diagstatus via a non-authenticated URL

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • Oxygen-SR3, Fluorine
    • None
    • diagstatus
    • None

      https://bugzilla.redhat.com/show_bug.cgi?id=1549218 and related internal discussion have revealed that it would be useful for the TripleO installation orchestrator to health check a non-authenticated URL for ready and/or diagstatus status.

      They cannot use that jolokia JMX HTTP bridge URL which requires authentication at the point where they need to make that check.

      It should not be very hard to write a Servlet which exposes similar information than the diag CLI command, with a HTTP status code (like 200 vs 503) and the body containing output similar to that CLI command.

      This will not break the existing diagstatus JMX bean exposed via (authenticated) /jolokia, but will be in addition to that.

            vorburger Michael Vorburger
            vorburger Michael Vorburger
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: