Bug 864210

Summary: FEAT catalog should support /systems and /component friendly urls
Product: [Retired] Red Hat Hardware Certification Program Reporter: Rob Landry <rlandry>
Component: Hardware CatalogAssignee: Wei Shen <wshen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.6.4CC: hwcert-catalog, junwang, tfu, wshen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-16 02:00:28 UTC Type: Bug
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: 837717    

Description Rob Landry 2012-10-08 21:17:12 UTC
Description of problem:

The catalog should provide the correct redirection/param values for generic RHEL, systems, and components to be supported in friendly URLs.

For example:

hardware.redhat.com/rhel/systems

would take the user to:

http://hwcert-web2-test.devel.redhat.com/list.cgi?version=&field0-0-0=cf_internal_whiteboard&type0-0-0=substring&value0-0-0=Server&field0-0-1=cf_internal_whiteboard&type0-0-1=substring&value0-0-1=laptop&field0-0-2=cf_internal_whiteboard&type0-0-2=substring&value0-0-2=desktop/workstation

Other required supported formats include:

hardware.redhat.com/Dell/components
hardware.redhat.com/RHEL5/Dell/Systems
hardware.redhat.com/RHEL/Components
hardware.redhat.com/MRG/systems/HP

Should also be case insensitive.




Version-Release number of selected component (if applicable):

To be included in 5.0, and updated in the browse chart to use the friendly URLs.



Additional info:

Comment 1 Rob Landry 2012-10-15 20:44:51 UTC
Index.cgi needs to be updated to use these new links to encourage their adoption.

Comment 2 Wei Shen 2012-10-16 10:14:40 UTC
Created attachment 628077 [details]
the patch for list.cgi

Comment 3 Wei Shen 2012-10-16 10:15:31 UTC
I have applied a patch on web2 please verify it.

Comment 4 Rob Landry 2012-10-16 18:24:57 UTC
works well for me

Comment 8 Tony Fu 2012-11-01 07:28:25 UTC
verified in web2.

Comment 9 Tony Fu 2012-11-16 02:00:28 UTC
verified on live system.