stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From isu...@apache.org
Subject [1/2] git commit: fixing a bug in SM topology model updating
Date Wed, 05 Feb 2014 13:38:18 GMT
Updated Branches:
  refs/heads/master 263e2f75c -> 655042e15


fixing a bug in SM topology model updating


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

Branch: refs/heads/master
Commit: 216901d8eea5f21221a75e188819813b94292676
Parents: 1e0496c
Author: Isuru <isuruh@wso2.com>
Authored: Wed Feb 5 19:07:28 2014 +0530
Committer: Isuru <isuruh@wso2.com>
Committed: Wed Feb 5 19:07:28 2014 +0530

----------------------------------------------------------------------
 .../manager/topology/model/TopologyClusterInformationModel.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/216901d8/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 284e36b..232e8a9 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
@@ -169,7 +169,8 @@ public class TopologyClusterInformationModel {
                 //Create CartridgeTypeContext instance
                 cartridgeTypeContextSet = new HashSet<CartridgeTypeContext>();
                 //link the SubscriptionAliasContext set to CartridgeTypeContext instance
-                cartridgeTypeContext.setSubscriptionAliasContextSet(subscriptionAliasContextSet);
+                //////////////cartridgeTypeContext.setSubscriptionAliasContextSet(subscriptionAliasContextSet);
+                cartridgeTypeContextSet.add(cartridgeTypeContext);
 
                 //link the CartridgeTypeContext set to the [tenant Id -> CartridgeTypeContext]
map
                 tenantIdToCartridgeTypeContextMap.put(tenantId, cartridgeTypeContextSet);


Mime
View raw message