fix autoscaling policies with 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/e6d8c6a4 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/e6d8c6a4 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/e6d8c6a4 Branch: refs/heads/4.1.0-test Commit: e6d8c6a489df92fa9b012bc14f82041251a149ae Parents: 1180786 Author: Dakshika Jayathilaka <[email protected]> Authored: Wed Dec 10 14:14:05 2014 +0530 Committer: Dakshika Jayathilaka <[email protected]> Committed: Wed Dec 10 14:14:05 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/e6d8c6a4/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 5292321..77cce58 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.deployAutoscalePolicyDefinition = function(policyDefinition){ - return this.send("POST","/policy/autoscale",policyDefinition); + return this.send("POST","/autoscalingPolicies",policyDefinition); }; this.deployKubernetesGroupDefinition = function(groupDefinition){ @@ -133,7 +133,7 @@ RESTCalls = new function(){ }; this.getPolicyAutoScale = function(){ - return this.sendReceive("GET","/policy/autoscale",{}); + return this.sendReceive("GET","/autoscalingPolicies",{}); }; this.getPolicyDeployment = function(){
