You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/03/17 18:59:54 UTC

[33/50] [abbrv] stratos git commit: Fixing undeploy.sh - deployment policy id

Fixing undeploy.sh - deployment policy id


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

Branch: refs/heads/master-deployment-policy-fix-merge
Commit: 7426582c88cec1630c7fe56d3c31e1eb511db030
Parents: 2e39193
Author: anuruddhal <an...@gmail.com>
Authored: Thu Mar 12 11:41:09 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Sat Mar 14 11:20:56 2015 +0530

----------------------------------------------------------------------
 .../applications/app-bursting-pattern/scripts/common/undeploy.sh   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/7426582c/samples/applications/app-bursting-pattern/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/app-bursting-pattern/scripts/common/undeploy.sh b/samples/applications/app-bursting-pattern/scripts/common/undeploy.sh
index 1e7be1a..2a05ba5 100644
--- a/samples/applications/app-bursting-pattern/scripts/common/undeploy.sh
+++ b/samples/applications/app-bursting-pattern/scripts/common/undeploy.sh
@@ -20,7 +20,7 @@ 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
 
 echo "Removing deployment policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/deploymentPolicies/deployment-policy-1
+curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/deploymentPolicies/deployment-policy-4
 
 echo "Removing network partitions..."
 curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/networkPartitions/network-partition-1