Deployer 10.7 | Using Project Automator | Creating Projects | Defining Deployment and Deletion Sets for Runtime-Based Deployment
 
Defining Deployment and Deletion Sets for Runtime-Based Deployment
You define the deployment and deletion sets for a runtime-based project using the <DeploymentSet> tag. Each tag can include these attributes:
<DeploymentSet
name="set name" description="set description" type="runtime_type"
mode="{Deploy|Delete}" srcAlias="{source server} alias"
defaultDependencyAction="{Add|Fulladd|Exists|Ignore}"></DeploymentSet>
The following table describes the attributes in the <DeploymentSet> tag:
Attribute
Description
name
Name of the deployment or deletion set. For more information, see the description of the Name field in Creating a Deployment Set from Runtime Assets or Creating a Deletion Set.
description
Optional. Description for the deployment or deletion set. For more information, see the description of the Description field in Creating a Deployment Set from Runtime Assets or Creating a Deletion Set.
type
Runtime type of the server that contains the assets to deploy or delete. Set to:
*Broker
*IS (For Integration Server and Trading Networks servers.)
*MWS (Deployment sets only.)
*Optimize (Deployment sets only.)
*ProcessModel (Deployment sets only.)
*RULES (Deployment sets only.)
*EventServer (Deployment sets only.)
Note:
Deployer supports deployment of assets to Event Servers of version 9.5 or earlier only.
*EDA (Deployment sets only.)
For more information, see the description of the Type field in Creating a Deployment Set from Runtime Assets or Creating a Deletion Set.
packageRegExp
(Optional.) Text that the package names must contain in order to be listed. For more information, see the description of the Packages field in Creating a Deployment Set from Runtime Assets or Creating a Deletion Set.
otherRegExp
(Optional.) The number of assets to display in the list. See the All other assets field in Creating a Deployment Set from Runtime Assets or Creating a Deletion Set.
mode
Specifies whether Deployer should create a deployment or deletion set for the project. Set to:
*deploy to define a deployment set.
*delete to define a deletion set.
For example, to define a deployment set, specify deploy for mode as follows:
<DeploymentSet
name="depSet1" description="depAssets"
packageRegExp="" otherRegExp="" type="IS"
mode="deploy or delete"
srcAlias="ISserver31,ISserver41"
defaultDependencyAction="Add"
tnTreeNodeCount="1000"></DeploymentSet>
srcAlias
The server alias for the source server (for deployment sets) or target server (for deletion sets). This attribute corresponds with the Name field described for the runtime server type in Connecting to webMethods Source and Target Runtimes.
default Dependency Action
(Optional.) Specifies how Deployer should handle unresolved dependencies. Set to:
*add to add the referenced asset.
*fulladd to add the entire package that contains the referenced asset. This value is valid for Integration Server assets only.
*exists to specify that the referenced asset exists on the target server.
Note:
If the dependent asset does not exist on the target server, deployment will fail.
*ignore to ignore unresolved dependencies.
The tags for each type of asset vary. See the sample XML file ProjectAutomatorSample.xml in the Integration Server_directory /instances/instance_name/packages/WmDeployer/config directory for examples for each type of asset. The following additional notes are provided.
Assets
Notes
All
If an asset is located in a folder, the asset tag must include the folder attribute.
Integration Server
*On <Port> asset tags, set the protocol attribute to one of the following:
*HTTP
*FTP
*HTTPS
*FTPS
*Email
*FilePolling
*Package asset tags require the attribute package="name".
*Scheduled task assets require the attribute filterBy="name".
Trading Networks
Sets that include Trading Networks assets must also include the tnTreeNodeCount="number" attribute. This attribute specifies the number of Trading Networks assets Deployer should display. For more information, see the description of the Maximum TN Assets to Display field in Creating a Deployment Set from Runtime Assets or Creating a Deletion Set.
My webMethods Server
<Rule> asset tags require the attribute folder set to:
*Shell Rules
*Skin Rules
*Start Page Rules
*Rendering Rules
*Login Page Rules
*Task Rules\Global Task Rules\Schedule Rules
*Task Rules\Global Task Rules\Trigger Rules