Red Hat Bugzilla – Bug 1020072
listing cartridges in an app is not backward compatible.
Last modified: 2015-05-14 20:55:54 EDT
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:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
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"
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.
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.