Looking over Tim Rozet's
INFRAUTILS-47, I'm finding it would be very useful to have details in a GET /diagstatus/ in case of a "systemReadyState": "FAILURE" ... somewhat similar to Jamo Luhrsen's work in INFRAUTILS-31 where we added an errorCause for each service (if available), it would really make sense to have an additional field named e.g. systemReadyStateErrorCause (OK for everyone?) which tells us WHY we are in a failed system ready state - without having to dig through a karaf.log.
This should be relatively easy to implement - SystemReadyMonitorMXBean should have not only an SystemState getSystemState() but also a Throwable getFailureCause() method, which SystemReadyImpl could provide, and DiagStatusServiceImpl could stick into the JSON (just like in
Faseela K you certainly would have no objections if I implemented this?