Description of problem: a bug with the rails routing will have problem returning anything if the cartridge name has a '.' in the name. "type":null,"supported_api_versions":["1.0"],"data":null,"messages":[{"exit_code":129,"severity":"error","text":"Cartridge not found for application myphp.","field":null}],"version":"1.0","status":"not_found"} Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. create an app and embed mysql5.1 2. goto a link similiar to https://openshift.redhat.com/broker/rest/domains/pppx9/applications/myphp/cartridges/mysql-5.1.json 3. Actual results: returns nothing on the web and the json ret value above Expected results: cartridge information. Additional info:
Krishna and I had fixed this last week. I just verified it on the devenv.
It is fixed on devenv_1815. The result is : {"supported_api_versions":["1.0"],"data":{"type":"embedded","name":"mysql-5.1","links":{"DELETE":{"required_params":[],"method":"DELETE","optional_params":[],"rel":"Delete embedded cartridge","href":"https://ec2-23-22-159-8.compute-1.amazonaws.com/broker/rest/domains/domaintest0005/applications/php0/cartridges/mysql-5.1"},"RESTART":{"required_params":[{"description":"event","name":"event","type":"string","valid_options":"restart"}],"method":"POST","optional_params":[],"rel":"Restart embedded cartridge","href":"https://ec2-23-22-159-8.compute-1.amazonaws.com/broker/rest/domains/domaintest0005/applications/php0/cartridges/mysql-5.1/events"},"GET":{"required_params":[],"method":"GET","optional_params":[],"rel":"Get embedded cartridge","href":"https://ec2-23-22-159-8.compute-1.amazonaws.com/broker/rest/domains/domaintest0005/applications/php0/cartridges/mysql-5.1"},"START":{"required_params":[{"description":"event","name":"event","type":"string","valid_options":"start"}],"method":"POST","optional_params":[],"rel":"Start embedded cartridge","href":"https://ec2-23-22-159-8.compute-1.amazonaws.com/broker/rest/domains/domaintest0005/applications/php0/cartridges/mysql-5.1/events"},"RELOAD":{"required_params":[{"description":"event","name":"event","type":"string","valid_options":"reload"}],"method":"POST","optional_params":[],"rel":"Reload embedded cartridge","href":"https://ec2-23-22-159-8.compute-1.amazonaws.com/broker/rest/domains/domaintest0005/applications/php0/cartridges/mysql-5.1/events"},"STOP":{"required_params":[{"description":"event","name":"event","type":"string","valid_options":"stop"}],"method":"POST","optional_params":[],"rel":"Stop embedded cartridge","href":"https://ec2-23-22-159-8.compute-1.amazonaws.com/broker/rest/domains/domaintest0005/applications/php0/cartridges/mysql-5.1/events"}}},"version":"1.0","messages":[],"status":"ok","type":"cartridge"}