-
Improvement
-
Resolution: Done
-
Medium
-
None
-
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.
- blocks
-
INTTEST-45 use REST for diagstatus instead of checking karaf.log when determining if controller is UP
- Open
-
INFRAUTILS-45 Use /diagstatus JSON to fetch remote status instead of JMX RMI
- Verified
- relates to
-
INFRAUTILS-47 diagstatus HTTP GET differs in response to HTTP HEAD
- Resolved
-
INFRAUTILS-46 diagstatus error code is 418 instead of 503
- Resolved