fix groups with REST API

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

Branch: refs/heads/4.1.0-test
Commit: 767d0bbd1170c646e460662e14efae10101f6fe7
Parents: afbee0a
Author: Dakshika Jayathilaka <[email protected]>
Authored: Thu Dec 11 10:10:43 2014 +0530
Committer: Dakshika Jayathilaka <[email protected]>
Committed: Thu Dec 11 10:10:43 2014 +0530

----------------------------------------------------------------------
 .../console/controllers/rest/rest_calls.jag                        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/767d0bbd/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 2e6913a..c02aca5 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","/group/definition", groupDefinition);
+        return this.send("POST","/groups", groupDefinition);
     };
 
     this.deployApplicationDefinition = function(applicationDefinition){

Reply via email to