Bug 587325

Summary: Do not nest singleton resources in autogroups in the left nav tree
Product: [Other] RHQ Project Reporter: Lukas Krejci <lkrejci>
Component: Core UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Rajan Timaniya <rtimaniy>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0.0CC: cwelton, rtimaniy, smohan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:57:24 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: 577848    

Description Lukas Krejci 2010-04-29 15:37:19 UTC
Description of problem:

The new tree creates an autogroup for every resource type. It has been found that doing this for singletons creates unnecessary clicking because there is only ever going to be a single singleton of given type (under a parent).

As part of this change, revisit all the singleton resources in all plugins and make sure they are assigned names that clearly identify them (which hopefully is the case already).

Steps to Reproduce:
1. View a page with left nav tree (for example a summary page of a resource)
2. All resources should be nested inside autogroups except the singleton resources
  
Additional info:

The only way to find a singleton resource is to look in the plugin desciptor inside the plugin jars (META-INF/rhq-plugin.xml) and look for a resource type with singleton="true" attribute.

Comment 1 Lukas Krejci 2010-04-30 14:59:40 UTC
Implemented in commit 98d7db9 (currently in bugfixes branch).

Comment 2 gneelaka@redhat.com 2010-05-03 15:32:59 UTC
Tested on JON#123 Revision: 10615

this build does not contain the fix so moving it to modified.

Comment 3 gneelaka@redhat.com 2010-05-06 15:26:38 UTC
tested on JON#124 Revision:10615

Steps:

1)View the page with left navigation tree.
2)RHQ agent appears twice as three box structure as well as terminal structure.

this build does not seem to contain the fix so moving it back to on_dev.

Comment 5 Rajan Timaniya 2010-05-19 09:51:40 UTC
Verified on JON build #154 - Revision: 10620
http://hudson-qe.rhq.rdu.redhat.com:8080/job/jon/154/

Steps:
1) Install JON (build #154) and agent
2) All resources shows nested inside autogroups except the singleton
resources

Comment 6 Corey Welton 2010-08-12 16:57:24 UTC
Mass-closure of verified bugs against JON.