The broker/rest/domains/<id>/applications/<id>/gears call does not return gear_profile for each gear entry. UI needs that in order to display the correct gear info. Not 100% blocking for sprint 11 but would be nice to have it when we implement for the CLI.
https://github.com/openshift/crankcase/pull/10
Closed pull reuest. Making this bug a DUP of 818416 *** This bug has been marked as a duplicate of bug 818416 ***
Need this info on /gear_groups - reopen because the dup didn't solve it (probably cause this defect was vague).
https://github.com/openshift/crankcase/pull/75 has been merged
This bug is fixed on devenv_1809 Output: [gear_groups] [root@localhost ~]# curl -k -H "Accept: application/xml" --user "yquan:asdfasdf1" https://ec2-23-22-34-219.compute-1.amazonaws.com/broker/rest/domains/domaintest0002/applications/php0/gear_groups -X GET <?xml version="1.0" encoding="UTF-8"?> <response> <type>gear_groups</type> <data> <gear-group> <cartridges> <cartridge> <name>php-5.3</name> </cartridge> <cartridge> <name>haproxy-1.4</name> </cartridge> </cartridges> <name>@@app/comp-proxy/cart-haproxy-1.4</name> <gears> <gear> <state>started</state> <id>5c665c90243b4a6d91fe49a246d64056</id> </gear> </gears> </gear-group> <gear-group> <cartridges> <cartridge> <name>php-5.3</name> </cartridge> </cartridges> <name>@@app/comp-web/cart-php-5.3</name> <gears> <gear> <state>started</state> <id>b2d138a662dd4299863824e3ede3cd70</id> </gear> </gears> </gear-group> </data> <supported-api-versions> <supported-api-version>1.0</supported-api-version> </supported-api-versions> <version>1.0</version> <messages/> <status>ok</status> </response> [gears] [root@localhost ~]# curl -k -H "Accept: application/xml" --user "yquan:asdfasdf1" https://ec2-23-22-34-219.compute-1.amazonaws.com/broker/rest/domains/domaintest0002/applications/php0/gears -X GET <?xml version="1.0" encoding="UTF-8"?> <response> <type>gears</type> <data> <gear> <uuid>5c665c90243b4a6d91fe49a246d64056</uuid> <git-url>ssh://5c665c90243b4a6d91fe49a246d64056.rhcloud.com/~/git/php0.git/</git-url> <components> <component> <proxy-port>35531</proxy-port> <name>php-5.3</name> <proxy-host>php0-domaintest0002.dev.rhcloud.com</proxy-host> <internal-port>8080</internal-port> </component> <component> <proxy-port nil="true"></proxy-port> <name>haproxy-1.4</name> <proxy-host nil="true"></proxy-host> <internal-port nil="true"></internal-port> </component> </components> </gear> <gear> <uuid>b2d138a662dd4299863824e3ede3cd70</uuid> <git-url>ssh://b2d138a662dd4299863824e3ede3cd70.rhcloud.com/~/git/php0.git/</git-url> <components> <component> <proxy-port>35536</proxy-port> <name>php-5.3</name> <proxy-host>b2d138a662-domaintest0002.dev.rhcloud.com</proxy-host> <internal-port>8080</internal-port> </component> </components> </gear> </data> <supported-api-versions> <supported-api-version>1.0</supported-api-version> </supported-api-versions> <version>1.0</version> <messages/> <status>ok</status> </response>