You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ra...@apache.org on 2015/03/04 16:35:26 UTC

stratos git commit: fixing tomcat-single-signon sample

Repository: stratos
Updated Branches:
  refs/heads/master bdaf9f2d7 -> 9360091bd


fixing tomcat-single-signon sample


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

Branch: refs/heads/master
Commit: 9360091bd1eda78da5b3f4ae2d5296556489d2c0
Parents: bdaf9f2
Author: R-Rajkumar <rr...@gmail.com>
Authored: Wed Mar 4 21:05:14 2015 +0530
Committer: R-Rajkumar <rr...@gmail.com>
Committed: Wed Mar 4 21:05:14 2015 +0530

----------------------------------------------------------------------
 .../applications/tomcat-single-signon/scripts/common/deploy.sh   | 4 ++--
 .../applications/tomcat-single-signon/scripts/common/undeploy.sh | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/9360091b/samples/applications/tomcat-single-signon/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/tomcat-single-signon/scripts/common/deploy.sh b/samples/applications/tomcat-single-signon/scripts/common/deploy.sh
index dfe1a29..2932a40 100755
--- a/samples/applications/tomcat-single-signon/scripts/common/deploy.sh
+++ b/samples/applications/tomcat-single-signon/scripts/common/deploy.sh
@@ -41,12 +41,12 @@ curl -X POST -H "Content-Type: application/json" -d "@${iaas_cartridges_path}/ws
 sleep 1
 
 echo "Adding application policy..."
-curl -X POST -H "Content-Type: application/json" -d "@${application_policies_path}/application-policy.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applicationPolicies
+curl -X POST -H "Content-Type: application/json" -d "@${application_policies_path}/application-policy-2.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applicationPolicies
 
 sleep 1
 
 echo "Creating application..."
-curl -X POST -H "Content-Type: application/json" -d "@${artifacts_path}/application-2.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applications
+curl -X POST -H "Content-Type: application/json" -d "@${artifacts_path}/application.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applications
 
 sleep 1
 

http://git-wip-us.apache.org/repos/asf/stratos/blob/9360091b/samples/applications/tomcat-single-signon/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/tomcat-single-signon/scripts/common/undeploy.sh b/samples/applications/tomcat-single-signon/scripts/common/undeploy.sh
index 3b04551..9e50142 100644
--- a/samples/applications/tomcat-single-signon/scripts/common/undeploy.sh
+++ b/samples/applications/tomcat-single-signon/scripts/common/undeploy.sh
@@ -6,7 +6,7 @@ host_port=9443
 set -e
 
 echo "Undeploying application..."
-curl -X POST -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applications/single-cartridge-app/undeploy
+curl -X POST -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applications/tomcat-single-signon/undeploy
 
 sleep 10