Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 642775

Summary: (E4) Autobind 1: Candlepin should support subscribing a consumer to the "best" product for un-attended registration. [QE]
Product: [Community] Candlepin (Migrated to Jira) Reporter: Devan Goodwin <dgoodwin>
Component: candlepinAssignee: Bryan Kearney <bkearney>
Status: CLOSED NOTABUG QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: bkearney, whayutin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-04 13:50:30 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: 642743    

Description Devan Goodwin 2010-10-13 19:52:19 UTC
1. Verify that the client sends up all product ids.
   1. Ideally, this logic is data driven
   1. Best is:
     1. Filter out subscriptions with no quantity.
     1. Filter out subscriptions which are incompatible with the consumer (architecture, consumer, type, etc).
     1. Select an active subscription which matches the most supplied products.
     1. If there is a tie, select the subscription which expires first 
Version-Release number of selected component (if applicable):