You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by re...@apache.org on 2015/04/30 14:24:41 UTC

stratos git commit: updated undeploy script for dependency-scaling-cartridges-app

Repository: stratos
Updated Branches:
  refs/heads/master 336a69008 -> 4fb23bfac


updated undeploy script for dependency-scaling-cartridges-app


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

Branch: refs/heads/master
Commit: 4fb23bfac719fb762f5494381f8d4e72fbd749b6
Parents: 336a690
Author: reka <rt...@gmail.com>
Authored: Thu Apr 30 17:54:47 2015 +0530
Committer: reka <rt...@gmail.com>
Committed: Thu Apr 30 17:54:47 2015 +0530

----------------------------------------------------------------------
 .../sample-cartridges/scripts/common/undeploy.sh               | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/4fb23bfa/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/undeploy.sh
index 79ce013..217fa69 100644
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/undeploy.sh
@@ -6,16 +6,16 @@ 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/sample-cartridges-app/undeploy
+curl -X POST -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applications/dependency-scaling-cartridges-app/undeploy
 
 sleep 10
 
 echo "Deleting application..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applications/sample-cartridges-app
+curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applications/dependency-scaling-cartridges-app
 
 echo "Removing cartridges..."
 curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridges/tomcat
 curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridges/php
 
 echo "Removing autoscale policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies/autoscaling-policy-1
\ No newline at end of file
+curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies/autoscaling-policy-1