Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7675

I can see & trigger history cleanup from Cockpit

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.8.0, 7.8.0-alpha4
    • None
    • cockpit
    • None

      See history cleanup:
      AT:

      1. I should be able to see the status of the cleanup, which can be:
      • has incidents: cleanup job has incidents. In this case, I should be able to see a preview of the stacktrace and a link to the full log.
      • cleanup is fine and scheduled
      • running: if currently we are in a cleanup window or if a manual cleanup job is running
      1. If a cleanup is scheduled, I should be able to see it's due date dynamically.

      trigger history cleanup:
      AT:

      • I should be able to trigger a cleanup job.
      • I should only be able to trigger the cleanup if there is no cleanup already running.

        This is the controller panel for Smart Panels app

            [CAM-7675] I can see & trigger history cleanup from Cockpit

            Seif added a comment -

            Hints for testing:

            • in order to create an incident to the current job, you can run the following SQL query:
              ALTER TABLE ACT_RE_PROCDEF ALTER COLUMN HISTORY_TTL_ RENAME TO BROKEN_NAME
              
            • in order to solve the incident created, you can run the following SQL query and click the button resolve:
              ALTER TABLE ACT_RE_PROCDEF ALTER COLUMN BROKEN_NAME RENAME TO HISTORY_TTL_
              

            Seif added a comment - Hints for testing: in order to create an incident to the current job, you can run the following SQL query: ALTER TABLE ACT_RE_PROCDEF ALTER COLUMN HISTORY_TTL_ RENAME TO BROKEN_NAME in order to solve the incident created, you can run the following SQL query and click the button resolve: ALTER TABLE ACT_RE_PROCDEF ALTER COLUMN BROKEN_NAME RENAME TO HISTORY_TTL_

              michael.schoettes Michael Schoettes
              svetlana.dorokhova Svetlana Dorokhova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: