|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
Mappings allow a user to add detailed deployment information to a Deployment CI
See:
Description
| Class Summary | |
|---|---|
| KeyValuePair | A key/value pair. |
| Mapping | A ConfigurationItem that can be used to specify that a certain package artifact or resource should be
targeted to a specific environment member |
| SourcePropertyOverridingMapping | A mapping that has a list of key/value pairs that can override values of the source. |
Mappings allow a user to add detailed deployment information to a Deployment CIDeployment Package to
an Environment
with a Deployment you sometimes need to be more precise which artifact in the
Deployment Package should go to which member of an Environment.
Also differences between environments need different settings and/or actions during the deployment of applications/packages.
Database settings for example differ for several environments, hostnames, usernames and password are likely to be different.
Mappings and Mappers can handle the logic to perform different actions and change settings according to the environment.
Mappings even allow you to override properties of artifacts of a Deployment Package with
the SourcePropertyOverridingMapping.
SourcePropertyOverridingMapping.
You specify the source of a mapping and the target and add key value pairs for every property you want to override of that ci.
Deployment newDeployment = deploymentChange.getNewRevision();
List earMappings = newDeployment.getMappingsOfType(EarMapping.class);
Ear ear = earMapping.getSource();
Server server = earMapping.getTarget();
addStep(new DeployEarToServer(ear, server));
com.xebialabs.deployit.mapper package.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||