Bug 499473

Summary: Add new XMLRPC APIs for retrieving org <-> entitlement mappings
Product: Red Hat Satellite 5 Reporter: Jay Dobies <jason.dobies>
Component: APIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Sayli Karmarkar <skarmark>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: cperry, pthomas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sat530 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 19:55:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456996    

Description Jay Dobies 2009-05-06 19:15:23 UTC
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):


How reproducible:
N/A

Steps to Reproduce:
N/A
  
Actual results:
N/A

Expected results:
- A parallel set of APIs that support both filtering of zero count entitled orgs and including them.

- The deprecation of the existing calls.

Additional info:

Comment 1 Brad Buckingham 2009-05-08 20:07:49 UTC
master git commit:  aa2613f8cf1e823ae870d9bf10a3e286c186d825
vader git commit: 5d1691c6a104fb2670a2eecbe1b70b77f2214919

deprecated:
org.listSoftwareEntitlements(sessionKey, label)
org.listSystemEntitlements(sessionKey, label)

added:
org.listSoftwareEntitlements(sessionKey, label, includeUnentitled)
org.listSystemEntitlements(sessionKey, label, includeUnentitled)

Comment 2 Brad Buckingham 2009-05-20 13:21:03 UTC
Mass move to ON_QA.

Comment 3 Sayli Karmarkar 2009-05-22 19:10:05 UTC
Verified. Added additional automation tests.

Comment 4 Preethi Thomas 2009-08-27 14:06:10 UTC
Release Pending
sayli helped with the testing.

Comment 5 Brandon Perkins 2009-09-10 19:55:33 UTC
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.

http://rhn.redhat.com/errata/RHEA-2009-1434.html