You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2014/12/22 07:29:18 UTC
[12/14] stratos git commit: fix endpoint issue undeploy on
application requests
fix endpoint issue undeploy on application requests
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/5dfe0f5c
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/5dfe0f5c
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/5dfe0f5c
Branch: refs/heads/master
Commit: 5dfe0f5c1c9005d720771e64254686a18419e46e
Parents: 2eec2e1
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Mon Dec 22 11:09:47 2014 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Mon Dec 22 11:58:58 2014 +0530
----------------------------------------------------------------------
.../console/controllers/applications/application_requests.jag | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/5dfe0f5c/components/org.apache.stratos.manager.console/console/controllers/applications/application_requests.jag
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/controllers/applications/application_requests.jag b/components/org.apache.stratos.manager.console/console/controllers/applications/application_requests.jag
index 27735fa..5d1534b 100644
--- a/components/org.apache.stratos.manager.console/console/controllers/applications/application_requests.jag
+++ b/components/org.apache.stratos.manager.console/console/controllers/applications/application_requests.jag
@@ -23,7 +23,7 @@ var log = new Log("apachestratos.configure_request"),
util = require('/controllers/rest/rest_calls.jag'),
formPayload = request.getParameter('formPayload'),
formtype = request.getParameter('formtype'),
- applicationId = request.getParameter('appId'),
+ applicationId = request.getParameter('applicationId'),
formSubmit;
//add login validator for pages
@@ -43,6 +43,9 @@ try {
case "deleteapplication":
formSubmit = util.RESTCalls.deleteApplication(formPayload);
break;
+ case "undeployapplication":
+ formSubmit = util.RESTCalls.undeployApplication(applicationId);
+ break;
default:
session.put("deploy-status", { "message": "Sorry Endpoint Error", "status": "error" });