Shavindri Dissanayake created STRATOS-1171:
----------------------------------------------

             Summary: Dependency scaling with cartridges on OpenStack adds and 
deletes different cartridges
                 Key: STRATOS-1171
                 URL: https://issues.apache.org/jira/browse/STRATOS-1171
             Project: Stratos
          Issue Type: Bug
          Components: Sample Applications
    Affects Versions: 4.1.0 Alpha
            Reporter: Shavindri Dissanayake


The <samples>/dependency-scaling/sample-cartridges/iasses/openstack/deploy.sh  
[1] file adds the tomcat1.json, but in the undeploy.sh [2] file it deletes a 
cartridge with the type php. Please look into this and correct the sample.

------------------------------------------------------------------------------------------------------
 [1] deploy.sh
        # Adding php cartridge
echo "Adding php cartridge..."
curl -X POST -H "Content-Type: application/json" -d @'tomcat1.json' -k -v -u 
admin:admin https://${host_ip}:9443/api/cartridges
popd

-----------------------------------------------------------------------------------------------------
[2] undeploy.sh
curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:9443/api/cartridges/php



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

Reply via email to