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 13:40:19 UTC

[1/2] stratos git commit: Adding the removal of deployment policy and network partition in undeploy.sh

Repository: stratos
Updated Branches:
  refs/heads/master 472cd1ba0 -> de09c0aee


Adding the removal of deployment policy and network partition in undeploy.sh


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

Branch: refs/heads/master
Commit: 725b83bc8fbeb8b2c523fcc37a8cdb3ae4c9d496
Parents: 87cb763
Author: Vishanth <vi...@gmail.com>
Authored: Thu Apr 30 16:51:15 2015 +0530
Committer: Vishanth <vi...@gmail.com>
Committed: Thu Apr 30 16:51:15 2015 +0530

----------------------------------------------------------------------
 .../nested/complex-app-with-lb/scripts/common/undeploy.sh     | 7 +++++++
 .../single-level-nested-group-app/scripts/common/undeploy.sh  | 7 +++++++
 2 files changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/725b83bc/samples/applications/nested/complex-app-with-lb/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/complex-app-with-lb/scripts/common/undeploy.sh b/samples/applications/nested/complex-app-with-lb/scripts/common/undeploy.sh
index 618348d..a579dc7 100644
--- a/samples/applications/nested/complex-app-with-lb/scripts/common/undeploy.sh
+++ b/samples/applications/nested/complex-app-with-lb/scripts/common/undeploy.sh
@@ -26,6 +26,13 @@ curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://
 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
+
+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
+
+
 echo "Removing application policies..."
 curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applicationPolicies/application-policy-1
 

http://git-wip-us.apache.org/repos/asf/stratos/blob/725b83bc/samples/applications/nested/single-level-nested-group-app/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-group-app/scripts/common/undeploy.sh b/samples/applications/nested/single-level-nested-group-app/scripts/common/undeploy.sh
index 038933e..2335e97 100644
--- a/samples/applications/nested/single-level-nested-group-app/scripts/common/undeploy.sh
+++ b/samples/applications/nested/single-level-nested-group-app/scripts/common/undeploy.sh
@@ -24,6 +24,13 @@ curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://
 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-2
+
+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
+curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/networkPartitions/network-partition-2
+
 echo "Removing application policies..."
 curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applicationPolicies/application-policy-1
 


[2/2] stratos git commit: Merge branch 'sample-app' of https://github.com/Vishanth/stratos

Posted by re...@apache.org.
Merge branch 'sample-app' of https://github.com/Vishanth/stratos


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

Branch: refs/heads/master
Commit: de09c0aeea7695dcc1735255a1620537b8d9a5c5
Parents: 472cd1b 725b83b
Author: reka <rt...@gmail.com>
Authored: Thu Apr 30 17:10:19 2015 +0530
Committer: reka <rt...@gmail.com>
Committed: Thu Apr 30 17:10:19 2015 +0530

----------------------------------------------------------------------
 .../nested/complex-app-with-lb/scripts/common/undeploy.sh     | 7 +++++++
 .../single-level-nested-group-app/scripts/common/undeploy.sh  | 7 +++++++
 2 files changed, 14 insertions(+)
----------------------------------------------------------------------