Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/stratos
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/f7d85853 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/f7d85853 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/f7d85853 Branch: refs/heads/master Commit: f7d858533cf0db5ffa3d7a107ec4e0947e4f4991 Parents: 3ddce9d 813e0ca Author: R-Rajkumar <[email protected]> Authored: Sun Nov 30 16:12:19 2014 +0530 Committer: R-Rajkumar <[email protected]> Committed: Sun Nov 30 16:12:19 2014 +0530 ---------------------------------------------------------------------- .../algorithm/AutoscaleAlgorithm.java | 9 +- .../autoscaler/algorithm/OneAfterAnother.java | 15 +- .../autoscaler/algorithm/RoundRobin.java | 24 +- .../context/cluster/ClusterContextFactory.java | 438 ++++++++----------- .../context/cluster/ClusterInstanceContext.java | 353 ++++++++++++++- .../cluster/KubernetesClusterContext.java | 10 + .../context/cluster/VMClusterContext.java | 237 +++++++++- .../cluster/VMServiceClusterContext.java | 6 +- .../ClusterLevelNetworkPartitionContext.java | 369 +--------------- .../AutoscalerTopologyEventReceiver.java | 92 ++-- .../autoscaler/monitor/MonitorFactory.java | 10 +- .../monitor/cluster/AbstractClusterMonitor.java | 17 +- .../KubernetesServiceClusterMonitor.java | 100 ++--- .../monitor/cluster/VMClusterMonitor.java | 182 ++++---- .../cluster/VMServiceClusterMonitor.java | 198 +++++---- .../monitor/component/ApplicationMonitor.java | 80 ++-- .../ApplicationLevelNetworkPartition.java | 23 +- .../network/ChildLevelNetworkPartition.java | 10 + .../autoscaler/rule/RuleTasksDelegator.java | 23 +- .../status/processor/StatusChecker.java | 12 +- .../cluster/ClusterStatusActiveProcessor.java | 7 +- .../cluster/ClusterStatusInActiveProcessor.java | 8 +- .../ClusterStatusTerminatedProcessor.java | 16 +- .../stratos/autoscaler/TestRulesPackaged.java | 4 +- .../domain/applications/ClusterDataHolder.java | 19 + .../messaging/domain/topology/Cluster.java | 43 +- .../AverageRequestsServingCapabilityEvent.java | 7 +- .../event/health/stat/MemberFaultEvent.java | 8 +- .../rest/endpoint/api/StratosApiV40Utils.java | 11 +- .../rest/endpoint/api/StratosApiV41Utils.java | 36 +- .../bean/util/converter/PojoConverter.java | 130 +++--- .../extension/FaultHandlingWindowProcessor.java | 10 +- 32 files changed, 1394 insertions(+), 1113 deletions(-) ----------------------------------------------------------------------
