Skip to content

Resolve NXCALS-3680 "Implement TimeseriesService.getDataForSnapshot more features"

Merge request template (please fill in)

COMPATIBILITY NOTE

Please make sure that this change is BACKWARDS COMPATIBLE and new server will work correctly with clients using old APIs versions.

It may be that data sent in the new format will break the old clients.

In case of any potential incompatibility we have to inform our clients and schedule release & deployment with them.


@acc-logging-team - please have a look for approval.

Full implementation of the getDataForSnapshot() Also implements (as needed by the Snapshot):

  • NXCALS-3769 Implement TimeseriesService.getDataAlignedToTimeWindow
  • NXCALS-2833 Implement TimeseriesService.getDataInTimeWindowOrLastDataPriorToWindowWithinUserIntervalFiltered
  • NXCALS-2831 Implement TimeseriesService.getDataInTimeWindowAndLastDataPriorToTimeWindowWithinDefaultInterval

Introduces some refactoring needed to avoid code duplication.

Closes NXCALS-3680

Edited by Jakub Wozniak

Merge request reports