You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2014/02/14 00:13:33 UTC

git commit: fixing a bug in retrieving cluster info from SM's topology model

Updated Branches:
  refs/heads/master 2560c47e6 -> 5615e8d1c


fixing a bug in retrieving cluster info from SM's topology model


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/5615e8d1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/5615e8d1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/5615e8d1

Branch: refs/heads/master
Commit: 5615e8d1c045a959a3a9f2f2b5058ab717d10948
Parents: 2560c47
Author: Isuru <is...@wso2.com>
Authored: Fri Feb 14 04:33:14 2014 +0530
Committer: Isuru <is...@wso2.com>
Committed: Fri Feb 14 04:33:14 2014 +0530

----------------------------------------------------------------------
 .../main/java/org/apache/stratos/cli/RestCommandLineService.java   | 1 -
 .../manager/topology/model/TopologyClusterInformationModel.java    | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/5615e8d1/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
index 36d10fd..959d183 100644
--- a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
+++ b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
@@ -28,7 +28,6 @@ import org.apache.axis2.transport.http.HttpTransportProperties;
 import org.apache.commons.lang3.StringUtils;
 import org.apache.http.HttpResponse;
 import org.apache.http.client.ClientProtocolException;
-import org.apache.http.conn.HttpHostConnectException;
 import org.apache.http.impl.client.DefaultHttpClient;
 import org.apache.stratos.cli.beans.SubscriptionInfo;
 import org.apache.stratos.cli.beans.TenantInfoBean;

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/5615e8d1/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java
index 4037f70..a6ac140 100644
--- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java
+++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java
@@ -289,7 +289,7 @@ public class TopologyClusterInformationModel {
                             //iterate and convert to Cluster set
                             Iterator<SubscriptionAliasContext> aliasCtxIterator = subscriptionAliasContextSet.iterator();
 
-                            clusterSet = new HashSet<Cluster>();
+                            //clusterSet = new HashSet<Cluster>();
                             while (aliasCtxIterator.hasNext()) {
                                 Cluster cluster = aliasCtxIterator.next().getCluster();
                                 // add the cluster to the set