You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Shavindri Dissanayake (JIRA)" <ji...@apache.org> on 2015/03/25 10:17:52 UTC
[jira] [Created] (STRATOS-1296) Single group v1 sample - commands
to remove network partition & deployment policy excluded.
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)