Related to bug 837078. It seems there is no bug requesting this feature, yet. I have two traits for a resource. I would like to set up a group for this. resource.trait[group].contains = prod resource.trait[enabled].contains = true Even if the Hibernate query doesn't support it, can't RHQ evaluate secondary conditions on the server side? I'm also bugged that on the alerting side, you can't evaluate traits only measurement values. I'm fairly stuck since the RHQ CLI also doesn't support defining alerts.
Jay, could you please have a look?
I think the dynagroup feature of having groups subset of existing groups (basically subgroups) makes this request obsolete, although it's a little less intuitive than simply adding more qualifying expressions. I don't actually need this feature anymore, as I figured out another way to do this.
Given the complexity of the underlying request, and the lack of need, I'm closing this as wont fix, letting "memberof" do the work as needed.