[jboss-jira] [JBoss JIRA] (WFCORE-365) inconsistent usage of min/max-occurs in model description

Brian Stansberry (JIRA) issues at jboss.org
Thu Sep 10 14:09:00 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107531#comment-13107531 ] 

Brian Stansberry commented on WFCORE-365:
-----------------------------------------

The code now matches the specification in https://docs.jboss.org/author/display/WFLY10/Admin+Guide#AdminGuide-DescriptionoftheManagementModel which differs from the poorly thought out spec in previous releases. The cardinality information is now part of the data for each resource definition (alongside description, attributes, operations, children, etc) and isn't part of the description of the "child-type".

> inconsistent usage of min/max-occurs in model description
> ---------------------------------------------------------
>
>                 Key: WFCORE-365
>                 URL: https://issues.jboss.org/browse/WFCORE-365
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Emanuel Muckenhuber
>            Assignee: Brian Stansberry
>             Fix For: 2.0.0.CR1
>
>         Attachments: patch.txt
>
>
> The usages of min/max-occurs in the model description are not consistent - e.g. missing in ResourceDescription, mostly wrong when used in the descriptionProvider or outdated examples in the documentation.
> I'll attach a simple patch which should actually fix that issue in line with the documentation [1] (incl. recursive usage) and the usage of the CLI (ls -l). However there might be more to it.
> [1] https://docs.jboss.org/author/display/AS71/Description+of+the+Management+Model



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


More information about the jboss-jira mailing list