Added list-cartridge-groups

Signed-off-by: Imesh Gunaratne <[email protected]>


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

Branch: refs/heads/stratos-4.1.x
Commit: ce2bf7c7487e0b56de0102d67139bc57a806a1dc
Parents: b4871b3
Author: Milindu Sanoj Kumarage <[email protected]>
Authored: Tue Aug 4 12:20:37 2015 +0530
Committer: Imesh Gunaratne <[email protected]>
Committed: Tue Oct 13 16:32:48 2015 +0530

----------------------------------------------------------------------
 .../org.apache.stratos.python.cli/src/main/python/cli/Stratos.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/ce2bf7c7/components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py 
b/components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py
index db6ca31..809c4fa 100755
--- a/components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py
+++ b/components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py
@@ -98,6 +98,10 @@ class Stratos:
         return Stratos.get('deploymentPolicies',
                            errorMessage='Deployment policies not found')
 
+    @staticmethod
+    def list_cartridge_groups():
+        return Stratos.get('cartridgeGroups',
+                           errorMessage='cartridge groups not found')
     """
     # Utils
 

Reply via email to