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

[10/18] stratos git commit: update user section with new REST API

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 <si...@gmail.com>
Authored: Thu Dec 11 08:05:43 2014 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
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,{});
     };