Bug 534520 (RHQ-1309)

Summary: group definitions should support filtering from unset plugin/resource config props
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: Core UIAssignee: Joseph Marques <jmarques>
Status: CLOSED NEXTRELEASE QA Contact: Jeff Weiss <jweiss>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dajohnso
Target Milestone: ---Keywords: SubFeature
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1309
Whiteboard:
Fixed In Version: 1.2 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 536002    

Description Joseph Marques 2008-12-25 06:58:00 UTC
today, it's impossible to find the unsecured JBossAS servers.  if groups could be filtered by unset/null properties, then the user could do something like:

empty resource.pluginConfiguration[principal]
resource.type.plugin = JBossAS
resource.type.name = JBossAS Server

since 'empty' is a type of reference comparison (as opposed to value comparison), might as well support the 'not empty' construct at the same time.  thus, the 3 supported major syntax variants would then be:

"condition = value"
"groupBy condition"
"(not) empty condition" // 'not' is optional

Comment 1 Joseph Marques 2008-12-25 06:59:53 UTC
rev2539 - support filtering on unset/null plugin/resource configuration properties; 
in fact, this commit supports the general nullabllity of any condition that dynagroups supports; 

Comment 2 Jeff Weiss 2009-01-07 20:42:59 UTC
Can now filter on unset values.  rev2561

Comment 3 Red Hat Bugzilla 2009-11-10 20:30:13 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1309