You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ud...@apache.org on 2014/12/12 11:11:05 UTC

[03/50] stratos git commit: fix groups with REST API

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/master
Commit: 767d0bbd1170c646e460662e14efae10101f6fe7
Parents: afbee0a
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Thu Dec 11 10:10:43 2014 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
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){