stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From im...@apache.org
Subject [01/14] stratos git commit: fix endpoint issue undeploy
Date Mon, 22 Dec 2014 06:29:07 GMT
Repository: stratos
Updated Branches:
  refs/heads/master c78cac54b -> 7af19f54b


fix endpoint issue undeploy


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

Branch: refs/heads/master
Commit: 2eec2e13d9e6ee04eda0e3e183f7e313b1721fbe
Parents: 62881a8
Author: Dakshika Jayathilaka <sinhaladjs@gmail.com>
Authored: Mon Dec 22 11:00:27 2014 +0530
Committer: Imesh Gunaratne <imesh@apache.org>
Committed: Mon Dec 22 11:58:57 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/2eec2e13/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 420563e..1df8280 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
@@ -76,7 +76,7 @@ RESTCalls = new function(){
     };
 
     this.undeployApplication = function(applicationId){
-        return this.send("DELETE","applications/"+applicationId+"/undeploy",{});
+        return this.send("POST","/applications/"+applicationId+"/undeploy",{});
     };
 
     this.subscribeToCartridge = function(cartridgeBeanInfo){


Mime
View raw message