stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From im...@apache.org
Subject [2/2] stratos git commit: Fixing Complete Tenant Event for Python CA
Date Fri, 19 Jun 2015 13:44:59 GMT
Fixing Complete Tenant Event for Python CA


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

Branch: refs/heads/master
Commit: 34051d6a178d82963f063e4b6674e69b04e02edc
Parents: 1854571
Author: Pubudu Gunatilaka <pubudu538@gmail.com>
Authored: Thu Jun 18 18:11:05 2015 +0530
Committer: Imesh Gunaratne <imesh@apache.org>
Committed: Fri Jun 19 19:14:53 2015 +0530

----------------------------------------------------------------------
 .../cartridge.agent/modules/event/tenant/events.py            | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/34051d6a/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/tenant/events.py
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/tenant/events.py
b/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/tenant/events.py
index 473b35c..0b58dbb 100644
--- a/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/tenant/events.py
+++ b/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/tenant/events.py
@@ -38,13 +38,6 @@ class CompleteTenantEvent:
         if tenants_str is not None:
             for tenant_str in tenants_str:
                 tenant_obj = Tenant(int(tenant_str["tenantId"]), tenant_str["tenantDomain"])
-                for service_name in tenant_str["serviceNameSubscriptionMap"]:
-                    sub_str = tenant_str["serviceNameSubscriptionMap"][service_name]
-                    sub = Subscription(sub_str["serviceName"], sub_str["clusterIds"])
-                    for domain_name in sub_str["subscriptionDomainMap"]:
-                        subdomain_str = sub_str["subscriptionDomainMap"][domain_name]
-                        sub.add_subscription_domain(domain_name, subdomain_str["applicationContext"])
-                    tenant_obj.add_subscription(sub)
                 instance.tenants.append(tenant_obj)
 
         return instance


Mime
View raw message