Description of problem: listing cartridges in an app is not backward compatible. I get a 404 when trying to use the old url format Old URL has the format: https://<server>/broker/rest/domains/<domain_name>/applications/<app_name>/cartridges New format: https://<server>/broker/rest/application/<app_id>/cartridges Version-Release number of selected component (if applicable): DEVENV/PROD/ How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This may break JBoss Tools
(In reply to xiaoli from comment #1) > This may break JBoss Tools Ignore comment 1, confirmed JBoss tools still work well against current STG at least while adding cartridge
This is known and the desired behavior, a few REST API links changed in version 1.6. We suggest the API clients always specify the API version being used through the Accept header, like in: "Accept: application/json; version=1.5"
Fabiano: The bug was referring to changes to the URL within the same API version (1.6). Prior to sprint 34, the old links works. The membership US caused the a lot of the REST URLs to be different but according to Clayton, the old links should still work. Reopening this bug.
https://github.com/openshift/origin-server/pull/3886
This bug is fixed with above PR, will mark as verified once it's merged into master
Tested this bug on devenv_3928, it has been fixed. Both old format and new format are work well. Old format: https://ec2-54-224-181-209.compute-1.amazonaws.com/broker/rest/domains/zqd/applications/zqphp/cartridges New format: https://ec2-54-224-181-209.compute-1.amazonaws.com/broker/rest/domain/zqd/application/zqphp/cartridges