<deployment> element.
INITIAL, UPDATE or UNDEPLOYMENT.
<application element contains a single Configuration Item denoting the application being deployed, upgraded or undeployed.
The XL Deploy Server may return validated CIs. The XML of the CI has then been enhanced with
<validation-messages>.
These elements are metadata about the CI and are not considered as ordinary properties.
Result of a /deployment/prepare/initial call to server. It contains the DeployedApplication CI, that contains the properties for application to be deployed, the available deployables and the containers they can be deployed to.
<deployment type="INITIAL">
<application>
<udm.DeployedApplication id="Environments/0hostEnv0/AnimalZoo-ear">
<version ref="Applications/AnimalZoo-ear/1.0"/>
<environment ref="Environments/0hostEnv0"/>
<deployeds/>
<orchestrator>default</orchestrator>
</udm.DeployedApplication>
</application>
<deployeds/>
<deployables>
<ci ref="Applications/AnimalZoo-ear/1.0/AnimalZooBE" type="test-v3.DummyEar"/>
<ci ref="Applications/AnimalZoo-ear/1.0/AnimalZooFE" type="test-v3.DummyEar"/>
<ci ref="Applications/AnimalZoo-ear/1.0/AnimalZooWeb" type="test-v3.DummyWar"/>
</deployables>
<containers>
<ci ref="Infrastructure/Host-with-hostServer" type="test-v3.DummyHost"/>
<ci ref="Infrastructure/hostServer0" type="test-v3.DummyJeeServer"/>
</containers>
</deployment>
A deployment object that can be sent to the server to create the deployment task using the /deployment/ call. In addition to the DeployedApplication, it contains the deployeds that indicate how the deployables will be mapped to the containers.
<deployment type="INITIAL">
<application>
<udm.DeployedApplication id="Environments/0hostEnv0/AnimalZoo-ear">
<version ref="Applications/AnimalZoo-ear/1.0"/>
<environment ref="Environments/0hostEnv0"/>
<orchestrator>default</orchestrator>
</udm.DeployedApplication>
</application>
<deployeds>
<test-v3.DummyJeeServerDeployedEar id="Infrastructure/hostServer0/AnimalZooFE">
<deployable ref="Applications/AnimalZoo-ear/1.0/AnimalZooFE"/>
<container ref="Infrastructure/hostServer0"/>
</test-v3.DummyJeeServerDeployedEar>
<test-v3.DummyJeeServerDeployedEar id="Infrastructure/hostServer0/AnimalZooBE">
<deployable ref="Applications/AnimalZoo-ear/1.0/AnimalZooBE"/>
<container ref="Infrastructure/hostServer0"/>
</test-v3.DummyJeeServerDeployedEar>
</deployeds>
</deployment>
Server response of a /deployment/validate call, where the deployed application has validation errors.
<deployment type="INITIAL">
<application>
<udm.DeployedApplication id="Environments/0hostEnv0/AnimalZoo-ear"
token=""
created-by="admin"
created-at="2014-08-18T13:42:09.555+0200"
last-modified-by="admin"
last-modified-at="2014-08-18T13:42:09.555+0200" >
<version ref="Applications/AnimalZoo-ear/1.0"/>
<environment ref="Environments/0hostEnv0"/>
<deployeds/>
<orchestrator>default</orchestrator>
<validation-messages>
<validation-message ci="Environments/0hostEnv0/AnimalZoo-ear" property="username">
Value is required
</validation-message>
<validation-message ci="Environments/0hostEnv0/AnimalZoo-ear" property="password">
Value is required
</validation-message>
</validation-messages>
</udm.DeployedApplication>
</application>
<deployeds>
<test-v3.DummyJeeServerDeployedEar id="Infrastructure/hostServer0/AnimalZooFE" token="">
<deployable ref="Applications/AnimalZoo-ear/1.0/AnimalZooFE"/>
<container ref="Infrastructure/hostServer0"/>
<placeholders/>
<dummySetOfStrings/>
</test-v3.DummyJeeServerDeployedEar>
</deployeds>
<deployables/>
<containers/>
</deployment>