Shavindri Dissanayake created STRATOS-1296:
----------------------------------------------
Summary: Single group v1 sample - commands to remove network
partition & deployment policy excluded.
Key: STRATOS-1296
URL: https://issues.apache.org/jira/browse/STRATOS-1296
Project: Stratos
Issue Type: Improvement
Components: Stratos Samples
Reporter: Shavindri Dissanayake
Priority: Minor
Fix For: 4.1.0 Alpha
The commands to remove the deployment policy and network partition are not
included in the undeploy.sh file found at
<STRATOS_SOURCE_HOME>/samples/application/single-group-v2/scripts/
common/undeploy.sh.
This might not have a big impact for the sample, but since the mentioned are
added in the deploy.sh file [1] , the commands to remove them in the
undeploy.sh file would complete the scenario.
[1]
echo "Adding network partitions..."
curl -X POST -H "Content-Type: application/json" -d
"@${network_partitions_path}/network-partition-3.json" -k -v -u admin:admin
https://${host_ip}:${host_port}/api/networkPartitions
echo "Adding deployment policies..."
curl -X POST -H "Content-Type: application/json" -d
"@${deployment_policies_path}/deployment-policy-3.json" -k -v -u admin:admin
https://${host_ip}:${host_port}/api/deploymentPolicies
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)