You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ni...@apache.org on 2013/12/11 15:27:41 UTC
[3/7] git commit: use load.balancer property of messaging component
use load.balancer property of messaging component
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/5af35def
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/5af35def
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/5af35def
Branch: refs/heads/master
Commit: 5af35def9dbcd79e519e4d9564d740a076039638
Parents: df0ab5e
Author: Nirmal Fernando <ni...@apache.org>
Authored: Wed Dec 11 17:34:16 2013 +0530
Committer: Nirmal Fernando <ni...@apache.org>
Committed: Wed Dec 11 19:56:16 2013 +0530
----------------------------------------------------------------------
.../apache/stratos/cloud/controller/topology/TopologyBuilder.java | 2 +-
.../stratos/cloud/controller/util/CloudControllerConstants.java | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/5af35def/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topology/TopologyBuilder.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topology/TopologyBuilder.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topology/TopologyBuilder.java
index cb0d676..42b400e 100644
--- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topology/TopologyBuilder.java
+++ b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topology/TopologyBuilder.java
@@ -118,7 +118,7 @@ public class TopologyBuilder {
// } else {
Properties props = CloudControllerUtil.toJavaUtilProperties(registrant.getProperties());
- String property = props.getProperty(CloudControllerConstants.IS_LOAD_BALANCER);
+ String property = props.getProperty(Constants.IS_LOAD_BALANCER);
boolean isLb = property != null ? Boolean.parseBoolean(property) : false;
Cluster cluster;
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/5af35def/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/util/CloudControllerConstants.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/util/CloudControllerConstants.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/util/CloudControllerConstants.java
index d357a58..89cb9c9 100644
--- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/util/CloudControllerConstants.java
+++ b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/util/CloudControllerConstants.java
@@ -246,5 +246,4 @@ public final class CloudControllerConstants {
public static final String AUTO_ASSIGN_IP = "autoAssignIp";
public static final String INSTANCE_TYPE = "instanceType";
- public static final String IS_LOAD_BALANCER = "load.balancer";
}