You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ud...@apache.org on 2014/12/18 07:38:50 UTC
[48/50] [abbrv] stratos git commit: add deployemnt to REST
add deployemnt to REST
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/8d5c679e
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/8d5c679e
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/8d5c679e
Branch: refs/heads/master
Commit: 8d5c679e9bdb1c4d0bb5beba25a19b42f84b89dd
Parents: 3da5531
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Thu Dec 18 10:57:12 2014 +0530
Committer: Udara Liyanage <ud...@wso2.com>
Committed: Thu Dec 18 12:07:00 2014 +0530
----------------------------------------------------------------------
.../console/controllers/rest/rest_calls.jag | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/8d5c679e/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 258c105..09232fb 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
@@ -51,8 +51,8 @@ RESTCalls = new function(){
return this.send("POST","/tenant/availability/" + tenantDomain,{});
};
- this.deployDeploymentPolicyDefinition = function(policyDefinition){
- return this.send("POST","/applicationDeployments",policyDefinition);
+ this.deployDeploymentPolicyDefinition = function(applicationID, policyDefinition){
+ return this.send("POST","/application/"+applicationID+"/deploy",policyDefinition);
};
this.deployAutoscalePolicyDefinition = function(policyDefinition){