Version 1

    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 like: core-service.capability-registry.capabilities,, etc.


    Proposed improvements:

    • Provides the possibility to query resources by specifying value of nested resources
    [standalone@localhost:9990 /] /subsystem=security/security-domain=other:query(select=[authentication], where={authentication.login-modules.code=RealmDirect})
        "outcome" => "success",
        "result" => .... // omitted result
    • Provides the possibility to select matched resources only for complex attributes if the matched resources are LIST, like: core-service.capability-registry.capabilities:

    So that the following command lists the possible-capabilities with name equal to instead of listing all:

        .... // other headers are omitted
        "name" => "",
        "dynamic" => true,
        "registration-points" => [
    • The improved output must follow same format as before so that it won't break anything.


    Linked Jiras: