You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ga...@apache.org on 2015/01/08 03:49:48 UTC

[2/5] stratos git commit: Update the LB grouping changes with python agent

Update the LB grouping changes with python agent


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

Branch: refs/heads/master
Commit: 70a09ebaced3fa9d0ddf0eb7bdcc8e2d2e204f86
Parents: 97bb506
Author: gayan <ga...@puppet.gayan.org>
Authored: Wed Jan 7 19:51:38 2015 +0530
Committer: gayan <ga...@puppet.gayan.org>
Committed: Wed Jan 7 19:51:38 2015 +0530

----------------------------------------------------------------------
 .../cartridgeagent/modules/config/cartridgeagentconfiguration.py    | 1 +
 .../cartridgeagent/modules/util/cartridgeagentconstants.py          | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/70a09eba/components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/config/cartridgeagentconfiguration.py
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/config/cartridgeagentconfiguration.py b/components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/config/cartridgeagentconfiguration.py
index d2d6115..450993e 100644
--- a/components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/config/cartridgeagentconfiguration.py
+++ b/components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/config/cartridgeagentconfiguration.py
@@ -133,6 +133,7 @@ class CartridgeAgentConfiguration:
                 self.app_path = self.read_property(cartridgeagentconstants.APPLICATION_PATH, False)
                 self.repo_url = self.read_property(cartridgeagentconstants.REPO_URL, False)
                 self.ports = str(self.read_property(cartridgeagentconstants.PORTS)).split("|")
+                self.dependant_cluster_id = str(self.read_property(cartridgeagentconstants.DEPENDANT_CLUSTER_IDS)).split("|")
 
                 try:
                     self.log_file_paths = str(

http://git-wip-us.apache.org/repos/asf/stratos/blob/70a09eba/components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/util/cartridgeagentconstants.py
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/util/cartridgeagentconstants.py b/components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/util/cartridgeagentconstants.py
index efbad59..2294fac 100644
--- a/components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/util/cartridgeagentconstants.py
+++ b/components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/util/cartridgeagentconstants.py
@@ -40,6 +40,7 @@ DEPLOYMENT = "DEPLOYMENT"
 MANAGER_SERVICE_TYPE = "MANAGER_SERVICE_TYPE"
 WORKER_SERVICE_TYPE = "WORKER_SERVICE_TYPE"
 PERSISTENCE_MAPPING = "PERSISTENCE_MAPPING"
+DEPENDANT_CLUSTER_IDS= "DEPENDENCY_CLUSTER_IDS"
 
 # stratos.sh environment variables keys
 LOG_FILE_PATHS = "LOG_FILE_PATHS"