Bug 1562088 - [RFE] Allow Bind Pools (POST /consumers/{consumer_uuid}/entitlements) to accept multiple pool IDs
Summary: [RFE] Allow Bind Pools (POST /consumers/{consumer_uuid}/entitlements) to acce...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: candlepin-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-29 13:49 UTC by Andrew Kofink
Modified: 2023-11-22 10:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-22 10:16:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1482540 0 high CLOSED [RFE] Allow manifest creation and adjustments within the Satellite webui 2021-09-09 12:31:31 UTC

Description Andrew Kofink 2018-03-29 13:49:35 UTC
Description of problem:
Binding multiple pools requires multiple API requests. The candlepin documentation indicates that a body containing multiple pools should be able to be used (http://www.candlepinproject.org/swagger/?url=candlepin/swagger-2.2.0.json#!/consumers/bind).

Version-Release number of selected component (if applicable):
2.1

How reproducible:
Always

Steps to Reproduce:
1. POST /consumers/{consumer_uuid}/entitlements with a body and async param

Actual results:
Candlepin Job is returned and shows success, but no entitlements are bound

Expected results:
Candlepin Job is returned and shows success, and entitlements are bound

Additional info:
This is important for Satellite using this API to add Pools to the manifest consumer (new manage subscriptions Satellite feature).

Relevant code: https://github.com/candlepin/candlepin/blob/d0c93cbdab8452efb36a91bab24eae5f969fe59d/server/src/main/java/org/candlepin/resource/ConsumerResource.java#L1930

Comment 1 Andrew Kofink 2018-03-29 13:53:25 UTC
This is a 'nice to have' API endpoint. We're fine using the serial API (N POSTs for N pools) for this operation, but it'd be more efficient as described in this RFE.

Comment 4 Nikos Moumoulidis 2023-11-22 10:16:13 UTC
The subscription experience has moved to the direction of Simple Content Access mode, making binding/attaching entitlements obsolete, so we will not be implementing this.


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