Hide Forgot
Description of problem: With the new REST URL, the old url for scale up/down is not working Version-Release number of selected component (if applicable): current, PROD/STG How reproducible: always Steps to Reproduce: 1. create a scaleable app 2. try to scale up using rest using the old URL 3. Actual results: [23:22:37] INFO> Rest Request: POST https://openshift.redhat.com/broker/rest/applications/525e303d5973cadfad0000c2/events {"event":"scale-up"} [23:22:38] ERROR> Unable to perform REST request: 404 Resource Not Found Expected results: old url should still work for compatibilty issue. Additional info:
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
Manually merged the PR and verified this bug, the old api format is compatible. Will mark this bug as verified when above PR is merged.
Tested this on devenv_3928, it has been fixed. old format and new format are work well. curl -k -X PUT -H 'Accept: application/xml' --user user:pass https://ec2-54-224-181-209.compute-1.amazonaws.com/broker/rest/domains/zqd/applications/zqphps/events/ -d event=scale-up -X POST