You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ma...@apache.org on 2014/12/22 09:37:42 UTC

stratos git commit: Fixed the rest_calls.jag file application issue

Repository: stratos
Updated Branches:
  refs/heads/master 62f2d726e -> 2bb77145d


Fixed the rest_calls.jag file application issue


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

Branch: refs/heads/master
Commit: 2bb77145d0336daaf18e6d0cf8337111d05645d6
Parents: 62f2d72
Author: Manula Thantriwatte <ma...@apache.org>
Authored: Mon Dec 22 08:36:45 2014 +0000
Committer: Manula Thantriwatte <ma...@apache.org>
Committed: Mon Dec 22 08:36:45 2014 +0000

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


http://git-wip-us.apache.org/repos/asf/stratos/blob/2bb77145/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 1df8280..be8beb6 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(applicationID, policyDefinition){
-        return this.send("POST","/application/"+applicationID+"/deploy",policyDefinition);
+        return this.send("POST","/applications/"+applicationID+"/deploy",policyDefinition);
     };
 
     this.deployAutoscalePolicyDefinition = function(policyDefinition){
@@ -352,4 +352,4 @@ RESTCalls = new function(){
 
 
 };
-%>
\ No newline at end of file
+%>