Consider a request like: > https://<server>/broker/rest/domain/vr0c0j/applications { > "name":"kzhklrgu", > "cartridges":"php-5.4", > "gear_size":"small", > "cartridge":[ > {"url":"https://raw.githubusercontent.com/openshift-qe/download-cart-mysql/master/metadata/manifest.yml"} > ] > } Description of problem: A php-5.4 app is created but the cartridges parameter is silently ignored thus the additional add-on cart is not added to the app. I think `cartridges` and `cartridge` parameters should be both processed or an error should be returned to the user. Version-Release number: current int environment How reproducible: always
this works for me (notice cartridge=, not cartridges= ) curl -k -X POST https://<server>/broker/rest/domain/mydomain/applications --user username --data-urlencode name=myapp2 --data-urlencode cartridge=ruby-2.0 --data-urlencode scale=true --data-urlencode gear_size=small (not able to reproduce) QA: there have been no other complaints since this initial report.
Checked with devenv_5760, can not reproduce this issue.
We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause.