Bug 1016830 - Alert notification sender, resource operation, relative resource type filter contains ambiguous types
Summary: Alert notification sender, resource operation, relative resource type filter ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Monitoring - Alerts
Version: JON 3.1.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: DR01
: JON 3.2.1
Assignee: Jirka Kremser
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-08 19:03 UTC by Larry O'Leary
Modified: 2018-12-03 20:12 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-08 17:44:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot (15.96 KB, image/png)
2014-02-20 08:43 UTC, Sunil Kondkar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1016833 0 unspecified CLOSED Alert notification sender, resource operation, relative resource type filter drop-down has not logical or usable orderin... 2021-02-22 00:41:40 UTC

Internal Links: 1016833

Description Larry O'Leary 2013-10-08 19:03:34 UTC
Description of problem:
When defining an alert notification sender of type resource operation using a relative resource type, the type filter drop-down can contain multiple resource types with the same name but from different plug-ins and parent types without any way to distinguish the differences.

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

How reproducible:
Always

Steps to Reproduce:
1.  Install and start JBoss ON system and install all plug-ins.
2.  Import platform into inventory.
3.  Attempt to create a new alert definition for the platform resource:

    _General Properties_
        *Name*: `Test Alert`
        
    _Notifications_
        *Notification Sender*:  _Resource Operations_
        *Resource Selection Mode*:  _Relative Resource_ 
        *Start Search From*:    <platform>

Actual results:
*Then Filter By* contains multiple _Threading_ and _JBossAS Server_ resource types.

Expected results:
*Then Filter By* should make parent lineage for the duplicate resource types known. For example, _Threading_ may actually be:
  JBossAS -> JVM -> Threading
  JBossAS5 -> JVM -> Threading
  RHQ Agent -> JVM -> Threading

Additional info:

Comment 1 Larry O'Leary 2013-10-08 19:16:32 UTC
Bug 1016833 was added to see also list as it deals with this same list/field and its sort order.

Comment 2 Jirka Kremser 2014-01-28 16:04:59 UTC
branch:  master
link:    http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=d2aac70ae
time:    2014-01-28 16:03:56 +0100
commit:  d2aac70ae17ea051080a16a92a1ac666d909e520
author:  Jirka Kremser - jkremser
message: [BZ 1016833] - Alert notification sender, resource operation, relative
         resource type filter drop-down has not logical or usable
         ordering - Using the LinkedHashMap that preserves the ordering
         instead of java.util.HashMap. Also adding the plugin name to
         the drop-down list.

Comment 3 Jay Shaughnessy 2014-02-03 21:41:55 UTC
release/jon3.2.x commit c2f37733be994a9237853a7f21733e2459a9f055
Author: Jay Shaughnessy <jshaughn>
Date:   Mon Feb 3 16:39:30 2014 -0500

    Cherry pick of d2aac70ae17ea051080a16a92a1ac666d909e520
    
    Signed-off-by: Jay Shaughnessy <jshaughn>

Comment 4 Simeon Pinder 2014-02-18 15:08:35 UTC
Moving to ON_QA as available for testing in the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=336752

Note: the installed version is still JON 3.2.0.GA by design and this represents part of the payload for JON 3.2.1 also known as cumulative patch 1 for 3.2.0.GA.  How this will be delivered to customers is still being discussed.

Comment 5 Sunil Kondkar 2014-02-20 08:42:58 UTC
Verified on JON 3.2.1 DR01 build (Build Number :c758688:4c03150)

'Then Filter By' drop-down list shows the resource types with plug-in names. Please refer the attached screen-shot.

Comment 6 Sunil Kondkar 2014-02-20 08:43:41 UTC
Created attachment 865381 [details]
Screenshot

Comment 7 Mike Foley 2014-05-08 17:44:07 UTC
JON 3.2.1 released week of 5/5/2014


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