Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.9.2
-
None
Description
This modification updates the getStatusHistory methods of VolatileComponentStatusRepository to utilize the start, end, and preferredDataPoints parameters when retrieving status histories.
When calling the various getXXXStatusHistory methods of VolatileComponentStatusRepository, they are all passed start, end, and preferredDataPoints values to allow the filtering of histories according to the provided parameters. But the follow-on method calls ignore those values completely. This ticket updates those methods to honor the parameters and filter the returned Dates accordingly.
Although for VolatileComponentStatusRepository the timestamps buffer is rather small, it seems better that the parameters be utilized rather than being silently ignored. This was found during work on a task where I only needed a subset of the buffer returned.
Attachments
Issue Links
- relates to
-
NIFI-6509 Date related issue in unit test VolatileComponentStatusRepositoryTest
- Resolved
- links to