monasca-thresh/thresh
Craig Bryant 2acdd58dc3 Implement the Last Function
The Alarm state is driven by the last measurement with the newest
timestamp. Use the value even if the measurement is older than the
oldest bucket. This ensures the measurement will be used when the
Threshold Engine is started if the measurement
is received while the Threshold Engine is stopped

Never evaluate subAlarm with function Last except on receiving of
a measurement.

Add tests to ensure this works.

The change is dependent on the monasca-common change and the
change to monasca-api to add the state field to sub_alarm.

Change-Id: Ib5123ed035018757a50d9ebeb7335fbca48054f2
Implements: Blueprint last-value
2016-08-02 12:05:37 -06:00
..
src Implement the Last Function 2016-08-02 12:05:37 -06:00
pom.xml Change to use Storm 1.0.0 instead of 0.9.x 2016-06-09 14:14:23 -06:00