Bug 788201 - Unable to retrieve all applications I have access to via REST API
Summary: Unable to retrieve all applications I have access to via REST API
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Krishna Raman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-07 17:45 UTC by Clayton Coleman
Modified: 2015-05-15 01:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-14 14:39:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Clayton Coleman 2012-02-07 17:45:58 UTC
The current mechanism for accessing the applications is through a domain.  However, visually we want to display a dashboard with all apps the user is entitled to.  So we'd probably want to start using a REST API endpoint that points directly to the list of applications belonging to a user - perhaps /user/applications.

Right now we have only a single domain per user - which makes the /user/applications alias appropriate.  In the future if we have multiple domains, and the domains are sharded, a /user/applications call could be difficult.  However, it's still the simplest way of accessing content and would allow us not to have to denormalize the domain on every site call (which is going to be a perf/chattiness problem with the REST API)

/user/applications for now could do user => primary domain => list of applications denorm for us.

Comment 1 Rob Millner 2012-02-07 19:46:25 UTC
This looks like a feature request instead of a bug.  It is proposed to move to a user story in Rally so it can be scheduled appropriately.

Krishna, Clayton, agreed?

Comment 2 Clayton Coleman 2012-02-07 20:29:44 UTC
Sure if we can get high priority on it.

Comment 3 Krishna Raman 2012-02-14 14:39:35 UTC
Folded into US1884


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