[jboss-jira] [JBoss JIRA] (WFCORE-1751) read-resource-description cannot handle segmented multi-target requests

Brian Stansberry (JIRA) issues at jboss.org
Tue Aug 30 18:42:00 EDT 2016


     [ https://issues.jboss.org/browse/WFCORE-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-1751:
-------------------------------------
    Description: 
This is really low priority; I'm just recording it as I discovered it while writing tests for WFCORE-1737.  Anyone looking at it should talk to me first.

This doesn't work:

{code}
/] /subsystem=[undertow,logging]/server=*:read-resource-description
Failed to get the list of the operation properties: "WFLYCTL0030: No resource definition is registered for address [
    ("subsystem" => "[undertow,logging]"),
    ("server" => "*")
]"
{code}

This does though, finding the subsystem=undertow registration:

{code}
/subsystem=*/server=*:read-resource-description
{code}

The read-resource op works for segmented multi-target requests as GlobalOperationHandlers.ModelAddressResolver has specific logic for it in executeMultiTargetChildren. GlobalOperationHandlers.RegistrationAddressResolver does not.

  was:
This is really low priority; I'm just recording it as I discovered it while writing tests for WFCORE-1737.  Anyone looking at it should talk to me first.

This doesn't work:

{code}
/] /subsystem=[undertow,logging]/server=*:read-resource-description
Failed to get the list of the operation properties: "WFLYCTL0030: No resource definition is registered for address [
    ("subsystem" => "[undertow,logging]"),
    ("server" => "*")
]"
{code}

This does though, finding the subsystem=undertow registration:

/subsystem=*/server=*:read-resource-description

read-resource works for segmented multi-target requests as GlobalOperationHandlers.ModelAddressResolver has specific logic for it in executeMultiTargetChildren. GlobalOperationHandlers.RegistrationAddressResolver does not.



> read-resource-description cannot handle segmented multi-target requests
> -----------------------------------------------------------------------
>
>                 Key: WFCORE-1751
>                 URL: https://issues.jboss.org/browse/WFCORE-1751
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Priority: Minor
>
> This is really low priority; I'm just recording it as I discovered it while writing tests for WFCORE-1737.  Anyone looking at it should talk to me first.
> This doesn't work:
> {code}
> /] /subsystem=[undertow,logging]/server=*:read-resource-description
> Failed to get the list of the operation properties: "WFLYCTL0030: No resource definition is registered for address [
>     ("subsystem" => "[undertow,logging]"),
>     ("server" => "*")
> ]"
> {code}
> This does though, finding the subsystem=undertow registration:
> {code}
> /subsystem=*/server=*:read-resource-description
> {code}
> The read-resource op works for segmented multi-target requests as GlobalOperationHandlers.ModelAddressResolver has specific logic for it in executeMultiTargetChildren. GlobalOperationHandlers.RegistrationAddressResolver does not.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list