cloudkitty/releasenotes/notes/add-new-validation-to-not-allow-reprocessing-with-incompatible-timewindows-5a44802f20bce4f2.yaml
Pedro Henrique 0c1eabc364 Validates the period compatibility of reprocessing dates
Problem description
===================

The reprocess API is accepting time windows that are
not compatible with the configured collection period
which causes some reprocessings to be endless or
generating different values based on the time window
the user inputs.

Proposal
========

We propose to add a validation in the reprocess API
to deny users to schedule a reprocess using a not
compatible time window and suggest the nearest valid
time window that the user can schedule a reprocess.

Change-Id: I24745a612bbd4714a7793df1deced671c1d1c26a
2022-10-27 17:01:19 -03:00

7 lines
222 B
YAML

---
fixes:
- |
Add a validation to not allow users to schedule reprocesses via
``POST`` request on ``/v2/task/reprocesses`` using a time window not
compatible with the configured ``period`` in the collector.