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

I can get history cleanup window configuration via REST

    Details

      Description

      When

      • I call "get history cleanup configuration" REST endpoint

      Then

      • I get historyCleanupBatchWindowStartTime and historyCleanupBatchWindowEndTime as datetime with timezone values, which represent current or next batch window

      Example:
      batch window is configured to 23:00 - 01:00
      now 07.09.2017 16:00 -> return 07.09.2017 23:00:00+0200 - 08.09.2017 01:00:00+0200
      now 07.09.2017 23:15 -> return 07.09.2017 23:00:00+0200 - 08.09.2017 01:00:00+0200
      now 08.09.2017 00:05 -> return 08.09.2017 23:00:00+0200 - 09.09.2017 01:00:00+0200
      now 08.09.2017 02:00 -> return 08.09.2017 23:00:00+0200 - 09.09.2017 01:00:00+0200

      Hints:

      • we should create some HistoryCleanupConfigurationDto, as may be in the future more data about history cleanup configuration will be needed in REST API
      • there are some related methods in HistoryCleanupHelper class, probably we can extend it with new methods

        Issue Links

          Activity

          Hide
          seif.ghezala Seif Ghezala added a comment -

          Svetlana Dorokhova Information is correct.

          Show
          seif.ghezala Seif Ghezala added a comment - Svetlana Dorokhova Information is correct.

            People

            • Assignee:
              svetlana.dorokhova Svetlana Dorokhova
              Reporter:
              svetlana.dorokhova Svetlana Dorokhova
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development