update user section with new REST API
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/e2ef87a6 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/e2ef87a6 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/e2ef87a6 Branch: refs/heads/4.1.0-test Commit: e2ef87a659d6bacdb066674fe597281b145a28d8 Parents: 98b5ed5 Author: Dakshika Jayathilaka <[email protected]> Authored: Thu Dec 11 08:05:43 2014 +0530 Committer: Dakshika Jayathilaka <[email protected]> Committed: Thu Dec 11 08:05:43 2014 +0530 ---------------------------------------------------------------------- .../console/controllers/rest/rest_calls.jag | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/e2ef87a6/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 4481167..60abd4b 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 @@ -43,6 +43,10 @@ RESTCalls = new function(){ return this.send("DELETE","/tenant/" + tenantDomain,{}); }; + this.deleteUser = function(userName){ + return this.send("DELETE","/users/" + userName,{}); + }; + this.checkAvailability = function(tenantDomain){ return this.send("POST","/tenant/availability/" + tenantDomain,{}); };
