-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add subscription_allocations property
As part of the Manifester inventory management effort, this PR adds a `subscription_allocations` property (filtered by the `username_prefix` setting) to the `Manifester` object. To enable this change, it abstracts the paginated API data processing functionaliy from the `subscription_pools` property to a helper function capable of handling GET requests to either the `allocations` or `pools` endpoints. Additionally, this PR adds a new unit test and mock endpoint to the RhsmApiStub class's `get()` method.
- Loading branch information
Showing
4 changed files
with
133 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters