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/12 11:11:09 UTC
[07/50] stratos git commit: fix Deployment policy for REST API changes
fix Deployment policy for REST API changes
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/e1c536b7
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/e1c536b7
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/e1c536b7
Branch: refs/heads/master
Commit: e1c536b777100b1c889ee110e78bff3e5d5665c7
Parents: 767d0bb
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Thu Dec 11 10:39:42 2014 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Thu Dec 11 10:39:42 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/e1c536b7/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 c02aca5..4fac98f 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,7 +52,7 @@ RESTCalls = new function(){
};
this.deployDeploymentPolicyDefinition = function(policyDefinition){
- return this.send("POST","/policy/deployment",policyDefinition);
+ return this.send("POST","/deploymentPolicies",policyDefinition);
};
this.deployAutoscalePolicyDefinition = function(policyDefinition){
@@ -117,7 +117,7 @@ RESTCalls = new function(){
};
this.getPolicyDeployment = function(){
- return this.sendReceive("GET","/policy/deployment",{});
+ return this.sendReceive("GET","/deploymentPolicies",{});
};
this.unsubscribeCartridge = function(alias){
return this.send("POST","/cartridge/unsubscribe",alias);