[ 
https://issues.apache.org/jira/browse/STRATOS-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mariangela Hills updated STRATOS-1290:
--------------------------------------
    Description: 
Based on the fix mentioned in JIRA [1], the 
<STRATOS_SOURCE_HOME>/samples/applications/single-group-v2/scripts/common/undeploy.sh
 file needs to also be corrected by changing the application policy ID as 
follows:

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-2


[1] https://issues.apache.org/jira/browse/STRATOS-1288

  was:
Based on the fix mentioned in JIRA [1], the 
<STRATOS_SOURCE_HOME>/samples/applications/single-group-v1/scripts/common/undeploy.sh
 file needs to also be corrected by changing the application policy ID as 
follows:

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-2


[1] https://issues.apache.org/jira/browse/STRATOS-1287


> Error in single-group-v2 undepoly script
> ----------------------------------------
>
>                 Key: STRATOS-1290
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1290
>             Project: Stratos
>          Issue Type: Bug
>          Components: Stratos Samples
>    Affects Versions: 4.1.0 Alpha
>            Reporter: Mariangela Hills
>
> Based on the fix mentioned in JIRA [1], the 
> <STRATOS_SOURCE_HOME>/samples/applications/single-group-v2/scripts/common/undeploy.sh
>  file needs to also be corrected by changing the application policy ID as 
> follows:
> 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-2
> [1] https://issues.apache.org/jira/browse/STRATOS-1288



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to