Feature #22853
[RFE] (MANAGE SUBS) As an API or CLI user, I want to add available subscriptions to my allocation.
Description
Note: once a subscription is added to the allocation, it is no longer available to other allocations
Acceptance:
- Interfacing with the Portal should not require the user to provide username/password. Instead, the certificate from the manifest may be used.
- Interfacing with the Portal should work with or without a proxy located between it and the Satellite server.
- The ability to add subscriptions is controlled by the 'add subscriptions' permission.
- The 'available' subscriptions provided by the user are added to the allocation.
- If the user provides subscriptions that were not in the 'available' list, they are not added to the allocation and an error is returned.
- The user may add 1 or more subscritions at a time.
- The subscription allocations are updated on both the Portal and Katello.
- At this time, this will be accomplished by a task that updates the Portal and upon success initiates a 'refresh manifest' on Satellite.
http://www.candlepinproject.org/swagger/?url=candlepin/swagger-2.1.3.json#!/consumers/bind
Related issues
Associated revisions
History
#1
Updated by Andrew Kofink over 4 years ago
- Blocks Tracker #22595: Upstream Subscription Management from Katello added
#2
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/Katello/katello/pull/7235 added
#3
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
#4
Updated by Andrew Kofink over 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset katello|1015edbcdb73b6e18bf89acf5c5d6de35ca75f91.
#5
Updated by Andrew Kofink about 4 years ago
- Bugzilla link set to 1606348
Fixes #22853: Allow add entitlements to manifest
Allow adding entitlements to your manifest from Katello!
```js
POST katello/api/v2/organizations/1/upstream_subscriptions
{
"pools": {
"id": "8a85f98c60c4fc0e0160c50f7eea0411",
"quantity": 1
}
}
```