Hi,
Each management resource has an operation named 'query()' to filter resources
according to the condition passed by 'selector' and 'where' parameters,
however it does not work for complex attributes.
2 example of complex attributes:
- 'query()' operation cannot find which 'possible-capabilities'
provides the capability with name 'org.wildfly.data-source'
- It cannot find which 'rest-resource-paths' provides the REST endpoint
'resource-path=/helloworld' in jaxrs subsystem of a war deployment either.
Especially for the second case in above examples, it will be helpful for users when
doing troubleshooting in case of large deployment.
Actually, it does not limit to the complex attributes, it would be good to be able to
filter resources by condition specified by attribute value of nested child resources(not
only by the first level of child resource).
WDYT?
Best Regards
--
Lin Gao
Software Engineer
JBoss by Red Hat