brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aleds...@apache.org
Subject [1/2] incubator-brooklyn git commit: Count the null values for the average enrichers
Date Fri, 24 Jul 2015 05:26:21 GMT
Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master 265d1b21a -> dd0ab7f3b


Count the null values for the average enrichers

This fixes TomcatAutoScalerPolicyTest


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/77d2b120
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/77d2b120
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/77d2b120

Branch: refs/heads/master
Commit: 77d2b1202ff2f9db2113bee2ba41f6f7dd988f26
Parents: b2d3f33
Author: Valentin Aitken <valentin.aitken@cloudsoftcorp.com>
Authored: Wed Jul 1 17:31:02 2015 +0300
Committer: Valentin Aitken <valentin.aitken@cloudsoftcorp.com>
Committed: Thu Jul 9 16:42:18 2015 +0300

----------------------------------------------------------------------
 .../main/java/brooklyn/entity/webapp/DynamicWebAppClusterImpl.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/77d2b120/software/webapp/src/main/java/brooklyn/entity/webapp/DynamicWebAppClusterImpl.java
----------------------------------------------------------------------
diff --git a/software/webapp/src/main/java/brooklyn/entity/webapp/DynamicWebAppClusterImpl.java
b/software/webapp/src/main/java/brooklyn/entity/webapp/DynamicWebAppClusterImpl.java
index 951e3b4..c94fec0 100644
--- a/software/webapp/src/main/java/brooklyn/entity/webapp/DynamicWebAppClusterImpl.java
+++ b/software/webapp/src/main/java/brooklyn/entity/webapp/DynamicWebAppClusterImpl.java
@@ -117,6 +117,7 @@ public class DynamicWebAppClusterImpl extends DynamicClusterImpl implements
Dyna
                     .publishing(average)
                     .fromMembers()
                     .computingAverage()
+                    .defaultValueForUnreportedSensors(0)
                     .build());
         }
     }


Mime
View raw message