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

diagstatus JSON response should include a systemReadyStateErrorCause

    Details

      Description

      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 INFRAUTILS-31).

      Faseela K you certainly would have no objections if I implemented this?

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              vorburger Michael Vorburger
              Reporter:
              vorburger Michael Vorburger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: