Created attachment 929567 [details] process filter missing under platforms other than Windows Description of problem: process and other platform plugins are not listed under group creation search filter Version-Release number of selected component (if applicable): JBoss Operations Network Version : 3.2.0.GA Update 03 Build Number : bca1bc8:e19c43d GWT Version : 2.5.0 SmartGWT Version : 3.0p Browser: Firefox 31.0 OS: Fedora 20 Gnome Desktop, 64 bit How reproducible: always Steps to Reproduce: 1. Create new group, Click on 'New' under 'Inventory->Groups->All Groups' 2. Enter 'Group Name' and check 'Recursive' check box and click 'Next' 3. On the 'Category' drop-down select 'Service' 4. On the 'Type' drop-down select 'Platforms Plugin->Linux' 5. There is no options, says 'No items to display' This is applicable for FreeBSD, AIX, Linux, Solaris, Mac OS X and HP-UX platforms. Workaround: Select 'process' under 'Windows' platform, it lists process services under Linux also. Actual results: There is no options, says 'No items to display' Expected results: Should display supported plugins to filter. Additional info: Screen shot is attached.
The Process resource type is declared to run inside all these platforms. I assume the code creating this drop-down select chooses one the platforms to put the Process type in. Mazz, didn't you fix something similar in the IgnoreResourceTypes view? Would the fix be applicable here? Anyway we won't be able to fix this for ER02
I am pretty sure this is a dup - we already have this written up somewhere. I know I tried fixing this a long time ago, can't remember if it actually got fixed or not. Anyway, this is a known issue - check BZ for the original issue. Its in here somewhere.
Pull request sent: https://github.com/rhq-project/rhq/pull/117 === An issue with the runs-inside feature in plugin descriptors. Now showing resource types under all their parents. For example, the Process service will appear under Linux Platform, Windows Platform, ... etc. On the flip side: this change might lead users to think that they are, for instance, selecting all Process services which run under a Windows Platform. But this is not true. They are actually selecting *all* Process services, regardless of the parent platform. === Larry, what do you think? Should we better shows resources with more than one parent only under the plugin node in the types tree?
Fixed in master commit 98462ee03bbc5000792c56b28752b1a09212e7c4 Author: Thomas Segismont <tsegismo> Date: Mon Sep 1 17:45:02 2014 +0200 An issue with the runs-inside feature in plugin descriptors. Now showing resource types under their parent, if they only have one, under the plugin otherwise.
This looks good, I'll cherry-pick but am also adding one more thing to hopefully make this widget more usable.. release/jon3.3.x commit f877937642d309bfdab34f60a52d87fd6df1e143 Author: Thomas Segismont <tsegismo> Date: Mon Sep 1 17:45:02 2014 +0200 An issue with the runs-inside feature in plugin descriptors. Now showing resource types under their parent, if they only have one under the plugin otherwise. (cherry picked from commit 98462ee03bbc5000792c56b28752b1a09212e7c4) Signed-off-by: Jay Shaughnessy <jshaughn> master commit f41459a9ff11bec97203a3ebf0a62009b90e0280 Author: Jay Shaughnessy <jshaughn> Date: Thu Sep 11 15:41:18 2014 -0400 complement previous work adding sorting of the type names. release/jon3.3.x commit 7b89b7afba129f03f793ccbb7802669355abaa84 Author: Jay Shaughnessy <jshaughn> Date: Thu Sep 11 15:41:18 2014 -0400 (cherry picked from commit f41459a9ff11bec97203a3ebf0a62009b90e0280) Signed-off-by: Jay Shaughnessy <jshaughn>
Moving to ON_QA as available for test with the following brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=385149
Created attachment 938923 [details] process plugin Verified, process is listing under 'Platforms Plugins'. Screen shot is attached. Version: JBoss Operations Network Version : 3.3.0.ER03 Build Number : 4aefe39:44e33a4 GWT Version : 2.5.0 SmartGWT Version : 3.0p