[Hawkular-commits] [hawkular/hawkular-alerts] 65f322: Add Data timestamps to allow time-ordered insertio...

Jay Shaughnessy jshaughn at redhat.com
Wed Feb 4 14:19:12 EST 2015


  Branch: refs/heads/master
  Home:   https://github.com/hawkular/hawkular-alerts
  Commit: 65f322eaf4baa2793754880337eba649d7293c51
      https://github.com/hawkular/hawkular-alerts/commit/65f322eaf4baa2793754880337eba649d7293c51
  Author: Jay Shaughnessy <jshaughn at redhat.com>
  Date:   2015-02-04 (Wed, 04 Feb 2015)

  Changed paths:
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/Alert.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/AvailabilityCondition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/AvailabilityConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/CompareCondition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/CompareConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/Condition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/ConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/StringCondition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/StringConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/ThresholdCondition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/ThresholdConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/ThresholdRangeCondition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/ThresholdRangeConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/data/Availability.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/data/Data.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/data/NumericData.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/data/StringData.java
    M hawkular-alerts-bus/src/main/java/org/hawkular/alerts/bus/messages/AlertData.java
    M hawkular-alerts-engine/src/main/resources/org/hawkular/alerts/engine/rules/ConditionMatch.drl
    M hawkular-alerts-engine/src/test/java/org/hawkular/alerts/engine/RulesEngineTest.java

  Log Message:
  -----------
  Add Data timestamps to allow time-ordered insertions.  May also help with
potential temporal reasoning, correlation, and more robust notification. The
timestamps are supplied by the app sending the Data and will default to
system time.
Also:
- Change XxxConditionEval constructors to pass in the relevant Data objects.
  A little cleaner in the rules, and a bit more flexible.
- update and standardize the model's toString() impls given the new fields
  and variations in the previous impls. Used Eclipse's generator.
- update equals/hashcode impls due to field additions. Used Eclipse generators.


  Commit: 8a7ed1474ac7ee8c22bd5f752e920e2911f37398
      https://github.com/hawkular/hawkular-alerts/commit/8a7ed1474ac7ee8c22bd5f752e920e2911f37398
  Author: Jay Shaughnessy <jshaughn at redhat.com>
  Date:   2015-02-04 (Wed, 04 Feb 2015)

  Changed paths:
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/Alert.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/AvailabilityCondition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/AvailabilityConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/CompareCondition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/CompareConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/Condition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/ConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/StringCondition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/StringConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/ThresholdCondition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/ThresholdConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/ThresholdRangeCondition.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/condition/ThresholdRangeConditionEval.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/data/Availability.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/data/Data.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/data/NumericData.java
    M hawkular-alerts-api/src/main/java/org/hawkular/alerts/api/model/data/StringData.java
    M hawkular-alerts-bus/src/main/java/org/hawkular/alerts/bus/messages/AlertData.java
    M hawkular-alerts-engine/src/main/resources/org/hawkular/alerts/engine/rules/ConditionMatch.drl
    M hawkular-alerts-engine/src/test/java/org/hawkular/alerts/engine/RulesEngineTest.java

  Log Message:
  -----------
  Merge pull request #7 from hawkular/jshaughn/timestamps

Add Data timestamps to allow time-ordered insertions.


Compare: https://github.com/hawkular/hawkular-alerts/compare/6340207579f2...8a7ed1474ac7


More information about the hawkular-commits mailing list