Commit 00197a58 authored by Sören Henning's avatar Sören Henning

fixes wrong method call parameters

parent 8c67d5b2
......@@ -12,8 +12,8 @@ public class StorableAnomalyDetectionStage extends AnomalyDetectionStage {
public StorableAnomalyDetectionStage(final Duration slidingWindowDuration, final Duration normalizationDuration, final Aggregator aggregator,
final Forecaster forecaster, final StorageDriver storageDriver) {
super(new BoundedTimeSeries(slidingWindowDuration, storageDriver.retrieveTimeSeries("temp", Instant.now().minus(slidingWindowDuration), Instant.now())),
normalizationDuration, aggregator, forecaster); // TODO temp seriesID
super(new BoundedTimeSeries(slidingWindowDuration, storageDriver.retrieveTimeSeries(Instant.now().minus(slidingWindowDuration), Instant.now())),
normalizationDuration, aggregator, forecaster);
final StorageStage storageStage = new StorageStage(storageDriver);
super.connectPorts(super.getNewOutputPort(), storageStage.getInputPort());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment