You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/01/17 17:47:39 UTC
stratos git commit: Updating api context /groups with
/cartridgeGroups in web console
Repository: stratos
Updated Branches:
refs/heads/master 0f8f13a8c -> 93d8ea7b6
Updating api context /groups with /cartridgeGroups in web console
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/93d8ea7b
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/93d8ea7b
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/93d8ea7b
Branch: refs/heads/master
Commit: 93d8ea7b6fc89c8e99138468eefbec53da544912
Parents: 0f8f13a
Author: Imesh Gunaratne <im...@apache.org>
Authored: Sat Jan 17 22:17:26 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Sat Jan 17 22:17:26 2015 +0530
----------------------------------------------------------------------
.../console/controllers/rest/rest_calls.jag | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/93d8ea7b/components/org.apache.stratos.manager.console/console/controllers/rest/rest_calls.jag
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/controllers/rest/rest_calls.jag b/components/org.apache.stratos.manager.console/console/controllers/rest/rest_calls.jag
index 9ff5dfe..4758664 100644
--- a/components/org.apache.stratos.manager.console/console/controllers/rest/rest_calls.jag
+++ b/components/org.apache.stratos.manager.console/console/controllers/rest/rest_calls.jag
@@ -64,7 +64,7 @@ RESTCalls = new function(){
};
this.deployGroupDefinition = function(groupDefinition){
- return this.send("POST","/groups", groupDefinition);
+ return this.send("POST","/cartridgeGroups", groupDefinition);
};
this.deployApplicationDefinition = function(applicationDefinition){
@@ -80,7 +80,7 @@ RESTCalls = new function(){
};
this.deleteGroup = function(groupName){
- return this.send("DELETE","/groups/" + groupName,{});
+ return this.send("DELETE","/cartridgeGroups/" + groupName,{});
};
this.subscribeToCartridge = function(cartridgeBeanInfo){
@@ -151,7 +151,7 @@ RESTCalls = new function(){
};
this.getGroups = function(){
- return this.sendReceive("GET","/groups",{});
+ return this.sendReceive("GET","/cartridgeGroups",{});
};
this.getApplications = function(){