Hide Forgot
Description of problem: With the membership and related changes, it's discovered that old route for gear_groups results in a 404, Version-Release number of selected component (if applicable): current How reproducible: always Steps to Reproduce: 1. go to broker/rest/applications/<app-id>/gear_groups.json 2. 3. Actual results: 404 Expected results: should be backward compatible. Additional info:
Master: https://github.com/openshift/origin-server/pull/3821 Stage: https://github.com/openshift/origin-server/pull/3822
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/bed222457797870ec5a433af9c789bae0624463e Bug 1017000 - Expose correct form of gear-groups
Verified on devenv-stage_491 and devenv_3880, both routes are supported. 0 % curl -k -H 'Accept: application/xml' --user jhou:x https://ec2-54-227-176-213.compute-1.amazonaws.com/broker/rest/applications/52560f31c28ef71a0d000001/gear_groups.json | json_reformat % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 683 100 683 0 0 422 0 0:00:01 0:00:01 --:--:-- 422 { "api_version": 1.6, "data": [ { "additional_gear_storage": 0, "base_gear_storage": 1, "cartridges": [ { "name": "ruby-1.9", "display_name": "Ruby 1.9", "tags": [ "service", "ruby", "web_framework" ] } ], "gear_profile": "small", "gears": [ { "id": "52560f31c28ef71a0d000001", "state": "started", "ssh_url": "ssh://52560f31c28ef71a0d000001.rhcloud.com" } ], "id": "52560f31c28ef71a0d000003", "name": "52560f31c28ef71a0d000003", "scales_from": 1, "scales_to": 1 } ], "messages": [ { "exit_code": 0, "field": null, "index": null, "severity": "info", "text": "Showing gear groups for application 'app1' with domain 'jhou'" } ], "status": "ok", "supported_api_versions": [ 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 ], "type": "gear_groups", "version": "1.6" }