[wildfly-dev] Improve query() operation for complex attributes?

Lin Gao lgao at redhat.com
Tue Nov 22 03:51:18 EST 2016


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


More information about the wildfly-dev mailing list