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:43 UTC
[5/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/edfc2d8c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/edfc2d8c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/edfc2d8c
Branch: refs/heads/master
Commit: edfc2d8c170a4d9dab99e3c9024f75a81b9a713b
Parents: 5af35de
Author: Nirmal Fernando <ni...@apache.org>
Authored: Wed Dec 11 17:34:32 2013 +0530
Committer: Nirmal Fernando <ni...@apache.org>
Committed: Wed Dec 11 19:56:16 2013 +0530
----------------------------------------------------------------------
.../src/main/java/org/apache/stratos/rest/endpoint/Constants.java | 1 -
.../org/apache/stratos/rest/endpoint/services/ServiceUtils.java | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/edfc2d8c/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/Constants.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/Constants.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/Constants.java
index 033560e..5719dd2 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/Constants.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/Constants.java
@@ -24,7 +24,6 @@ package org.apache.stratos.rest.endpoint;
public class Constants {
public static final String SUPER_TENANT_SERVICE = "super.tenant.service";
- public static final String IS_LOAD_BALANCER = "load.balancer";
public static final String SERVICE_AWARE_LOAD_BALANCER = "service.aware.load.balancer";
public static final String DEFAULT_LOAD_BALANCER = "default.load.balancer";
public static final String NO_LOAD_BALANCER = "no.load.balancer";
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/edfc2d8c/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/ServiceUtils.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/ServiceUtils.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/ServiceUtils.java
index 22c3e6c..de951e1 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/ServiceUtils.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/ServiceUtils.java
@@ -628,7 +628,7 @@ public class ServiceUtils {
for (org.apache.stratos.cloud.controller.pojo.Property prop :
properties) {
- if (Constants.IS_LOAD_BALANCER.equals(prop.getName())) {
+ if (org.apache.stratos.messaging.util.Constants.IS_LOAD_BALANCER.equals(prop.getName())) {
if ("true".equals(prop.getValue())) {
isLb = true;
if (log.isDebugEnabled()) {