Red Hat Bugzilla – Bug 499473
Add new XMLRPC APIs for retrieving org <-> entitlement mappings
Last modified: 2015-03-22 21:10:02 EDT
Description of problem:
For 433660 and 437361, the logic of the calls to retrieve the mappings of org <-> entitlement counts changed to include entries for when an org has a zero count for an entitlement. These were added as a new calls internally to not disturb the existing APIs.
After discussing with Brad, it sounds like the best approach is to add new API calls for these new calls and work towards deprecating the old versions that do not return 0 entitlement count orgs.
There are two different calls that need to be updated: software channel entitlements and system entitlements
Version-Release number of selected component (if applicable):
Steps to Reproduce:
- A parallel set of APIs that support both filtering of zero count entitled orgs and including them.
- The deprecation of the existing calls.
master git commit: aa2613f8cf1e823ae870d9bf10a3e286c186d825
vader git commit: 5d1691c6a104fb2670a2eecbe1b70b77f2214919
org.listSoftwareEntitlements(sessionKey, label, includeUnentitled)
org.listSystemEntitlements(sessionKey, label, includeUnentitled)
Mass move to ON_QA.
Verified. Added additional automation tests.
sayli helped with the testing.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.