[jboss-jira] [JBoss JIRA] (WFCORE-2286) GenericSubsystemDescribeHandler generates duplicates operations for override models

Paul Ferraro (JIRA) issues at jboss.org
Fri Feb 10 15:35:00 EST 2017


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

Paul Ferraro updated WFCORE-2286:
---------------------------------
    Description: Currently, GenericSubsystemDescribeHandler relies on ImmutableManagementResourceRegistration.getChildAddresses(...) to find child resources.  When processing a wildcard address, all resource children are matched. Thus any non-wildcard paths returned by getChildAddresses(...) for the same child type will end up being described twice.  Additionally, child order needs to be preserved, even in the presence of override models.  (was: Currently, GenericSubsystemDescribeHandler relies on ImmutableManagementResourceRegistration.getChildAddresses(...) to find child resources.  When processing a wildcard address, all resource children are matched. Thus any non-wildcard paths returned by getChildAddresses(...) for the same child type will end up being described twice.)


> GenericSubsystemDescribeHandler generates duplicates operations for override models
> -----------------------------------------------------------------------------------
>
>                 Key: WFCORE-2286
>                 URL: https://issues.jboss.org/browse/WFCORE-2286
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 3.0.0.Alpha24
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>
> Currently, GenericSubsystemDescribeHandler relies on ImmutableManagementResourceRegistration.getChildAddresses(...) to find child resources.  When processing a wildcard address, all resource children are matched. Thus any non-wildcard paths returned by getChildAddresses(...) for the same child type will end up being described twice.  Additionally, child order needs to be preserved, even in the presence of override models.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list