Red Hat Bugzilla – Bug 1032033
Sort unavailable & alerted resources portlet - parent first
Last modified: 2015-11-01 19:43:48 EST
Description of problem:
On our dashboard, there is by default portlet called "Alerted or unavailable resources". It's by default set to display only 20 resources.
Version-Release number of selected component (if applicable):
How reproducible: always
Steps to Reproduce:
1. have EAP6 imported and available
2. stop it
3. go to dashboard and look at above portlet
It shows lot's of resources, direct or undirect children of your EAP6 server. It does not show EAP6 server itself though. When you see this (assuming you don't know you just stopped your server) you have to navigate to any of those resources and find out .. "ah that JMS factory is down is because server is down"
Expected results: portlet should show resources with shortest inventory path (platforms first, servers, services, then rest of resources) so user does not have to navitage.
Author: Libor Zoubek <firstname.lastname@example.org>
Date: Tue May 6 11:41:30 2014 +0200
[BZ 1032033] - Sort unavailable & alerted resources portlet - parent first
Unavailable and alerted resources are now ordered by 1. alert count, 2.
ancestry.length 3. resource name - so when for example platform is DOWN it
will show up in portlet before it's children
Author: Jay Shaughnessy <email@example.com>
Date: Tue May 13 12:04:14 2014 -0400
Fix a few issues with the prior commit for this issue (e429846dd715e0)
- needed to be able to handle null ancestry (for platforms, which can
be problem resources like anything else). This fix fixed the test
failures as well.
- Restore the previous ProblemResourceComposite constructor since this
class *is* exposed remotely. Add new entry for new constructor.
Moving to ON_QA as available to test with brew build of DR01: https://brewweb.devel.redhat.com//buildinfo?buildID=373993