Bug 795431 - more information in JSON results with sourceEntitlement
Summary: more information in JSON results with sourceEntitlement
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Chris Duryee
QA Contact: Eric Sammons
URL:
Whiteboard:
Depends On:
Blocks: 760564
TreeView+ depends on / blocked
 
Reported: 2012-02-20 14:21 UTC by Tom McKay
Modified: 2015-05-14 14:52 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-07-17 13:03:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Tom McKay 2012-02-20 14:21:09 UTC
Description of problem:

For bonus pools (those created when a host consumes a pool and generates a new pool for a guest), it would be very useful to include information about the parent pool in addition to the source entitlement.

Currently, a bonus pool will have sourceEntitlement set w/ the id and href of the entitlement. To avoid having to make further api calls it would be great to have:
1) pool id of the source of the bonus
2) system id of the host that generated the bonus pool

This would let UIs and other tools "roll up" information about available pools.

Comment 1 Chris Duryee 2012-02-20 20:02:28 UTC
Tom,

I am adding the pool ID of the source pool now. For the second part of the request though, I think you can just use the requires_host pool attribute. Let me know if that's not matching up the way you'd expect and we can look into it more.

Comment 2 Chris Duryee 2012-02-21 17:47:03 UTC
70e0810 master 0.5.22+

Comment 3 Bryan Kearney 2012-07-17 13:03:08 UTC
Marking all community bugs modified or beyong as closed.


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