]
Brian Stansberry resolved JBAS-9180.
------------------------------------
Resolution: Done
DomainXml creates invalid operations for deployments
----------------------------------------------------
Key: JBAS-9180
URL:
https://issues.jboss.org/browse/JBAS-9180
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Domain Management
Affects Versions: 7.0.0.Beta1
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Critical
Fix For: 7.0.0.Beta2
This made the wrong choice:
final ModelNode deploymentAdd = new ModelNode();
// TODO decide whether deployments are an attribute of list type or a child
// deploymentAdd.get(OP_ADDR).set(address).add(DEPLOYMENT, uniqueName);
// deploymentAdd.get(OP).set(ADD);
deploymentAdd.get(OP_ADDR).set(address);
deploymentAdd.get(OP).set("add-deployment");
deploymentAdd.get(REQUEST_PROPERTIES,
"unique-name").set(uniqueName);
deploymentAdd.get(REQUEST_PROPERTIES,
"runtime-name").set(runtimeName);
deploymentAdd.get(REQUEST_PROPERTIES, "sha1").set(hash);
deploymentAdd.get(REQUEST_PROPERTIES, "enabled").set(toStart);
list.add(deploymentAdd);
--
This message is automatically generated by JIRA.
For more information on JIRA, see: