stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From im...@apache.org
Subject [09/14] stratos git commit: undeploy application added
Date Mon, 22 Dec 2014 06:29:15 GMT
undeploy application added


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

Branch: refs/heads/master
Commit: 4d366afbd2e869793d8021c1db9503456b6da627
Parents: 92e00d2
Author: Dakshika Jayathilaka <sinhaladjs@gmail.com>
Authored: Mon Dec 22 10:28:01 2014 +0530
Committer: Imesh Gunaratne <imesh@apache.org>
Committed: Mon Dec 22 11:58:57 2014 +0530

----------------------------------------------------------------------
 .../console/controllers/rest/rest_calls.jag                      | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/4d366afb/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 e301f75..ffc9831 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
@@ -75,6 +75,10 @@ RESTCalls = new function(){
         return this.send("DELETE","/applications/" + applicationId,{});
     };
 
+    this.undeployApplication = function(applicationId){
+        return this.send("DELETE","applications/"+applicationId+"/runtime",{});
+    };
+
     this.subscribeToCartridge = function(cartridgeBeanInfo){
         return this.sendReceive("POST","/cartridge/subscribe", cartridgeBeanInfo);
     };


Mime
View raw message