Description of problem: When listing an application, old applications that were created before gear profiles existed, gets reported with a "gear_profile": null. Chat with dmcphers on the 14th of September 2012: <snip> (05:00:24 PM) dmcphers: adietish: is that an older app? (05:00:42 PM) dmcphers: yeah I see it is (05:01:05 PM) dmcphers: it was before we had gear size (05:01:30 PM) dmcphers: can open a bug </snip> Version-Release number of selected component (if applicable): 1.0 How reproducible: 1. ASSERT: make sure you have an application, that was created before gear profiles were introduced. 2. EXEC: list this application: curl -k -H "Accept: application/json" --user "<USER>:<PASS>" https://openshift.redhat.com/broker/rest/domains/<DOMAINNAME>/applications/<APPLICATIONNAME> Result: { "data": { "aliases": [], "app_url": "http://dfdf-man.rhcloud.com/", "creation_time": "2012-01-26T13:07:43-05:00", "domain_id": "man", "embedded": { "mysql-5.1": { "info": "Connection URL: mysql://127.3.163.129:3306/\n" }, "phpmyadmin-3.4": { "info": "URL: https://dfdf-man.rhcloud.com/phpmyadmin/\n" } }, "framework": "jbossas-7", "gear_count": 1, "gear_profile": null, Expected results: The broker should report the default gear this application is running on, not null. The openshift-java-client could assume a default gear here, but this is IHMO backend logic that should not pulled into the client. The broker should report what's the default gear it is running on.
Andre Dietisheim <adietish> made a comment on jira JBIDE-12622 committed to master on github: https://github.com/adietish/openshift-java-client/commit/70dd901c0a26cb3af2d051d173f61428002f6193
Andre Dietisheim <adietish> made a comment on jira JBIDE-12622 committed to master on https://github.com/openshift/openshift-java-client/commit/70dd901c0a26cb3af2d051d173f61428002f6193
Andre Dietisheim <adietish> made a comment on jira JBIDE-12622 committed to TRUNK (JBT)
Andre Dietisheim <adietish> updated the status of jira JBIDE-12622 to Resolved
verified with devenv_2288 "gear_count": 1, "embedded": { }, "gear_profile": "small", <---
Stefan Bunciak <sbunciak> updated the status of jira JBIDE-12622 to Closed
Stefan Bunciak <sbunciak> made a comment on jira JBIDE-12622 Verified in JBoss Tools 4.0.0.Alpha2