Bug 1076126 - RFE: Canned dynaGroup expressions provided by plugin
Summary: RFE: Canned dynaGroup expressions provided by plugin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server, Plugins
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.11
Assignee: Libor Zoubek
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: JON3-5
TreeView+ depends on / blocked
 
Reported: 2014-03-13 15:42 UTC by Libor Zoubek
Modified: 2015-11-02 00:43 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-07-21 10:13:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Libor Zoubek 2014-03-13 15:42:01 UTC
Description of problem:
Based on  https://docs.jboss.org/author/display/RHQ/Canned+DynaGroup+expressions design document, create a way so plugin can provide predefined dyna-group expressions. 


Version-Release number of selected component (if applicable):
RHQ 4.10

Thinks taken into account (but may change after further discussion)

1. additional plugin descriptor will be introduced - optional for plugin. This descriptor is not touched on agent side at all. 
2. canned expressions are not stored to RHQ database. They're available in server's memory as part of plugin metadata
3. as there is an option for 'createByDefault=true', we're auto-creating dyna-groups based on such expressions.
3.a - dynaGroups are updated as plugin updates expression
3.b - dynaGroups are removed in case plugin no longer provides expression for such dynaGroup
3.c - dynaGroups are removed in case plugin is deleted
3.d - if user edit's such dynaGroup's properties - it will be overwriten on plugin update
3.e - if user deletes such dynaGroup, it will appear again on plugin update
4. All expressions from all loaded plugin are presented in dropDown on UI page, when creating new dynaGroup. Now, there is hardcoded list of expressions - this will be replaced by expressions comming from plugin.
5. When user sees/edits dynaGroup which was auto-created because of 'createByDefault=true', he's notified with consequences (3.d,e)

Comment 1 Heiko W. Rupp 2014-04-22 12:57:13 UTC
Merged to master as 414a2a69691055be0466b18962dbdec698f57d05 - see https://github.com/rhq-project/rhq/commit/414a2a69691055be0466b18962dbdec698f57d05

Comment 3 Heiko W. Rupp 2014-07-21 10:13:24 UTC
Bulk closing of RHQ 4.11 issues, now that RHQ 4.12 is out.

If you find an issue with those, please open a new BZ, linking to the old one.


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