Bug 817170 - [REST API] Valid gear_profile options should be listed on domains endpoint
[REST API] Valid gear_profile options should be listed on domains endpoint
Product: OpenShift Origin
Classification: Red Hat
Component: Pod (Show other bugs)
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Krishna Raman
libra bugs
: Triaged
Depends On:
  Show dependency treegraph
Reported: 2012-04-27 18:00 EDT by Clayton Coleman
Modified: 2014-06-18 03:24 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-05-14 13:22:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Clayton Coleman 2012-04-27 18:00:12 EDT
The ADD_APPLICATION link on broker/rest/domains lists "small", "micro", "medium", "large", "exlarge", "jumbo".  For most users only one or two of these are valid.  The client (site in this case) needs to know which are valid.

Either a) implement a separate call that returns how many gears of each type the user can create or b) limit valid_options according to the current user's VIP status / role from ARIA.

Note: When we implement billing, different plans will allow different gear sizes and possibly allow a certain number of free gears.  Suggest we plan for that when fixing this issue.

Will block UI showing gear size option.
Comment 1 Xiaoli Tian 2012-05-03 05:20:41 EDT
Checked this on devenv_1752, it's still the same as before.
              <description>The size of the gear</description>

These components are still the same with 7 days ago

The change is not built in devenv_1751, need new packages to include this change.
Comment 2 Xiaoli Tian 2012-05-07 02:41:14 EDT
Tested this on devenv_1757, it only shows small and medium now.

#curl  -k -H "Accept: application/xml" --user "xtian+test5@redhat.com:123456"  https://ec2-23-21-38-176.compute-1.amazonaws.com/broker/rest/domains/domx017/   -X GET

              <description>The size of the gear</description>

Note You need to log in before you can comment on or make changes to this bug.