Bug 819511 - [REST API] Service should provide the right list of gear profiles that a user can use to create an application
Summary: [REST API] Service should provide the right list of gear profiles that a user...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: OKD
Classification: Red Hat
Component: Master
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-07 13:07 UTC by Xavier Coulon
Modified: 2015-05-15 00:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-19 22:26:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBIDE-11790 0 None None None Never

Description Xavier Coulon 2012-05-07 13:07:28 UTC
In its current implementation, the service provides a complete list of gear profiles in the 'ADD_APPLICATION' link from a given domain resource, but this list does not take into account the user's profile. 
In the JBoss Tools integration, we display that list into a combo, but we have no way to filter and restrict to the allowed values, which means that users can be tempted to pick a 'medium' or 'large' gear profile event if their account does not allow it, giving an error at creation.

Ideally, the service should only provide the client with a valid list of gear profiles.

Comment 1 Xavier Coulon 2012-05-07 13:17:51 UTC
Adding link to https://issues.jboss.org/browse/JBIDE-11790

Comment 2 Abhishek Gupta 2012-06-15 00:12:22 UTC
This seems like a duplicate of Bug 817170

Comment 3 Peter Ruan 2012-06-19 22:26:17 UTC
verfied in INT 

"valid_options": [

    "small",
    "medium"

],


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