History cleanup status in Cockpit must be adjusted

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • 7.9.0, 7.8.7, 7.9.0-alpha5
    • Affects Version/s: None
    • Component/s: cockpit
    • None

      Since CAM-8969 we can have more than one history cleanup jobs in the database.
      That's why: GET /history/cleanup/job is deprecated now and GET /history/cleanup/jobs must be used instead. In return, one will get not one job, but the list of jobs. -> History cleanup status area in Cockpit should be adjusted:
      https://docs.camunda.org/manual/7.8/webapps/cockpit/img/cockpit-cleanup-state-incident.png

      Let's say we requested `GET /history/cleanup/jobs` and recieved N job objects in return.

      1. If 1 to N-1 jobs are failing, we should show the message 'There are issues with history cleanup' instead of 'History cleanup will not run'.
      2. Instead of one error message, we can have list of messages now, all unique messages should be shown.
      3. Click on Retry now means retrying all failing jobs.

            Assignee:
            Michael Schoettes
            Reporter:
            Svetlana Dorokhova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: