Bug 864210 - FEAT catalog should support /systems and /component friendly urls
Summary: FEAT catalog should support /systems and /component friendly urls
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Hardware Catalog
Version: 1.6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Wei Shen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 837717
TreeView+ depends on / blocked
 
Reported: 2012-10-08 21:17 UTC by Rob Landry
Modified: 2014-06-23 01:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-16 02:00:28 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.