[jboss-jira] [JBoss JIRA] Commented: (AS7-1832) Fix the descriptors for the Deployment part of the model

Emanuel Muckenhuber (JIRA) jira-events at lists.jboss.org
Thu Sep 15 06:20:26 EDT 2011


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

Emanuel Muckenhuber commented on AS7-1832:
------------------------------------------

Not sure if we actually want to support multiple sub-deployments from the deployment layer, but currently one additional constraint we have is that the 'key' as part of an address has to be unique. 

> Fix the descriptors for the Deployment part of the model
> --------------------------------------------------------
>
>                 Key: AS7-1832
>                 URL: https://issues.jboss.org/browse/AS7-1832
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Domain Management
>            Reporter: Kabir Khan
>            Assignee: Brian Stansberry
>             Fix For: 7.1.0.Alpha1
>
>
> This part of the model is currently removed in org.jboss.as.test.surefire.servermodule.ValidateModelTestCase (The test may be moved somewhere else, ping me if you need to find it).
> The missing parts are:
> {code}
> "deployment" => {
>             "description" => "A list of deployments available for use on the server.",
>             "min-occurs" => 0,
>             "model-description" => {"*" => {
>                 "description" => "A deployment represents anything that can be deployed (e.g. an application such as EJB-JAR, WAR, EAR, any 
> kind of standard archive such as RAR or JBoss-specific deployment) into a server.",
>                 "head-comment-allowed" => true,
>                 "tail-comment-allowed" => false,
>                 "attributes" => {SNIP},
>                 "operations" => {SNIP},
>                 "children" => {
>                     "subsystem" => {"model-description" => {"web" 1) NEEDS A DESCRIPTION => {"children" => {"servlet" 2) NEEDS A DESCRIPTION => {"model-description" => {"*" => undefined 4) WHAT GOES HERE?}
> }}}}},
>                     "subdeployment" => {"model-description" => {"*" =>  5) NEEDS A DESCRIPTION {
>                         "description" => "A deployment represents anything that can be deployed (e.g. an application such as EJB-JAR, WAR, E
> AR, any kind of standard archive such as RAR or JBoss-specific deployment) into a server.",
>                         "head-comment-allowed" => true,
>                         "tail-comment-allowed" => false,
>                         "attributes" => {SNIP},
>                         "operations" => {SNIP},
>                         "children" => {"subsystem" 6) NEEDS A DESCRIPTION => {"model-description" => {"web" 7) NEEDS A DESCRIPTION=> {"children" => {"servlet" 8) NEEDS A DESCRIPTION=> {"model-description" =>
>  {"*" => undefined 9) WHAT GOES HERE????}}}}}}}
>                     }}}
>                 }
>             }}
>         },
> {code}
> This currently lives in https://github.com/kabir/jboss-as/tree/subsystem-test-model-fixes

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list