[jboss-jira] [JBoss JIRA] Issue Comment Edited: (AS7-1832) Fix the descriptors for the Deployment part of the model
Kabir Khan (JIRA)
jira-events at lists.jboss.org
Thu Sep 15 06:02:26 EDT 2011
[ https://issues.jboss.org/browse/AS7-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628588#comment-12628588 ]
Kabir Khan edited comment on AS7-1832 at 9/15/11 6:01 AM:
----------------------------------------------------------
With some tweaks to the validation stuff I am down to one error in the deployment section:
{code}
"subdeployment" => {
"description" => "Runtime resources associated with a child deployment packaged inside another deployment; for examp
le a war packaged inside an ear.",
"min-occurs" => 0,
"model-description" => {"*" => {
"description" => "Runtime resources associated with a child deployment packaged inside another deployment; for e
xample a war packaged inside an ear.",
"attributes" => {},
"operations" => undefined,
"children" => {
"subsystem" => {SNIP},
"subdeployment" => {
"description" => "Runtime resources associated with a child deployment packaged inside another deploymen
t; for example a war packaged inside an ear.",
"min-occurs" => 0,
"model-description" => undefined <--------
}
}
}}
==== VALIDATION FAILURES: 1
No model description for child 'subdeployment' @[
("deployment" => "*"),
("subdeployment" => "*")
]
{code}
is it meant to be a recursive kind of thing, i.e. a sub-deployment may contain nested sub-deployments?
was (Author: kabirkhan):
With some tweaks to the validation stuff I am down to one error in the deployment section:
{code}
"subdeployment" => {
"description" => "Runtime resources associated with a child deployment packaged inside another deployment; for examp
le a war packaged inside an ear.",
"min-occurs" => 0,
"model-description" => {"*" => {
"description" => "Runtime resources associated with a child deployment packaged inside another deployment; for e
xample a war packaged inside an ear.",
"attributes" => {},
"operations" => undefined,
"children" => {
"subsystem" => {SNIP},
"subdeployment" => {
"description" => "Runtime resources associated with a child deployment packaged inside another deploymen
t; for example a war packaged inside an ear.",
"min-occurs" => 0,
"model-description" => undefined <--------
}
}
}}
==== VALIDATION FAILURES: 1
No model description for child 'subdeployment' @[
("deployment" => "*"),
("subdeployment" => "*")
]
{code}
is it meant to be a recursive kind of thing, i.e. a sub-deployment may contain nested sub-deployments?
> 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