Bug 788657

Summary: load time of Systems/Subscriptions tab takes too long for large number of products
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: WebUIAssignee: Tom McKay <tomckay>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: bkearney
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:25:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tom McKay 2012-02-08 18:00:18 UTC
Description of problem:

When manifests contain more than a handful of products, the load time of the Systems/Subscriptions becomes large, making it difficult/impossible to use.

The reason is that for each product in the manifest, the engineering sub-products are listed. Then for each of those, the repo information is listed (GPG, url, etc.). This last detailed information results in both a lot of calls to the backend candlepin as well as a large amount of processing by the javascript in the client browser.

There are several possible remedies:
1) Do not show the detailed information
2) Make the call to get details be AJAX
3) Add a small pagination to the displayed subscriptions

For now R&D will implement #1 with an eye towards picking a better solution in version 1.X

Comment 2 Tom McKay 2012-02-13 19:43:57 UTC
commit 0bbd1de5267cd35d16e29d148db9c178254109b3
Author: Tom McKay <thomasmckay>
Date:   Mon Feb 13 14:35:55 2012 -0500

    788657 - to not display product content details in the System/Subscriptions tab of UI

Went w/ option #1 with an eye toward reworking all the subscription pages later.

To test, import expand the subscriptions listed on the Systems/Subscriptions tab and note the listed products expanded below: Just the name(s) are shown.

Comment 3 Mike McCune 2012-03-07 23:43:58 UTC
mass move ON_QA after brewing

Comment 4 Jeff Weiss 2012-03-17 02:58:59 UTC
I have no access to any manifest with more than about 5 products.  However I did verify that the subscriptions pane just shows the name of the product.  Verified, CloudForms System Engine Version: 0.1.304-1.el6