You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by da...@apache.org on 2015/05/15 10:53:16 UTC

stratos git commit: fix user mgt section notifications

Repository: stratos
Updated Branches:
  refs/heads/master 74feaa772 -> 84ee5f490


fix user mgt section notifications


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

Branch: refs/heads/master
Commit: 84ee5f4902caeeb4cb9769ae7e1a001db570c215
Parents: 74feaa7
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Fri May 15 14:22:31 2015 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Fri May 15 14:22:45 2015 +0530

----------------------------------------------------------------------
 .../console/controllers/rest/rest_calls.jag                    | 6 +++---
 .../console/controllers/users/users_requests.jag               | 5 ++++-
 2 files changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/84ee5f49/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 7d5992d..2307038 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
@@ -52,16 +52,16 @@ RESTCalls = new function(){
     };
 
     this.activateTenant = function(tenantDomain){
-        return this.send("PUT","/tenants/activate/" + tenantDomain,{});
+        return this.sendReceive("PUT","/tenants/activate/" + tenantDomain,{});
     };
 
     this.deactivateTenant = function(tenantDomain){
-        return this.send("PUT","/tenants/deactivate/" + tenantDomain,{});
+        return this.sendReceive("PUT","/tenants/deactivate/" + tenantDomain,{});
     };
 
 
     this.deleteUser = function(userName){
-        return this.send("DELETE","/users/" + userName,{});
+        return this.sendReceive("DELETE","/users/" + userName,{});
     };
 
     this.checkAvailability = function(tenantDomain){

http://git-wip-us.apache.org/repos/asf/stratos/blob/84ee5f49/components/org.apache.stratos.manager.console/console/controllers/users/users_requests.jag
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/controllers/users/users_requests.jag b/components/org.apache.stratos.manager.console/console/controllers/users/users_requests.jag
index 32eb26c..06a8795 100644
--- a/components/org.apache.stratos.manager.console/console/controllers/users/users_requests.jag
+++ b/components/org.apache.stratos.manager.console/console/controllers/users/users_requests.jag
@@ -45,6 +45,9 @@ try {
     log.info(e);
 }
 
+if(session.get("get-status")){
+    print(session.get("get-status"));
+}
+
 
-print(session.get("deploy-status"));
 %>
\ No newline at end of file