Generic Model Plugin Reference
The Generic Model plugin provides a way to extend XL Deploy with new middleware support, without having to write Java code. Instead, using XL Deploy's flexible type system and the base CIs from the Generic Model plugin, new CIs can be defined by writing XML and providing scripts for functionality.
This document provides information that is specific to this version of the Generic plugin. For general information about the plugin, refer to Introduction to the XL Deploy Generic plugin.
Using the deployables and deployeds
Deployable vs. container table
The following table describes which deployable/container combinations are possible.
Deployable | Containers | Generated deployed |
---|---|---|
generic.File generic.Archive | overthere.HostContainer | generic.CopiedArtifact |
any deployable | overthere.HostContainer | generic.ExecutedScript |
any deployable | overthere.HostContainer | generic.ManualProcess |
any folder deployable | overthere.HostContainer | generic.ExecutedFolder |
any deployable | overthere.HostContainer | generic.ProcessedTemplate |
Deployed actions table
The following table describes the effect a deployed has on its container.
Deployed | Create | Destroy | Modify |
---|---|---|---|
generic.CopiedArtifact |
|
|
|
generic.ExecutedScript |
|
|
|
generic.ManualProcess |
|
|
|
generic.ExecutedFolder |
For each installation script in the folder (ordered alphabetically by name, ascending):
|
For each rollback script in the folder (ordered alphabetically by name, descending):
|
For each installation script in the folder that was not part of the deployment being upgraded (ordered alphabetically by name, ascending):
|
generic.ProcessedTemplate |
|
|
|
CI Reference
Configuration Item Overview
Deployables
CI | Description |
---|---|
generic.Archive | A generic, compressed binary artifact |
generic.File | A generic binary artifact |
generic.Folder | A generic folder artifact |
generic.Resource | A generic resource specification |
Deployeds
CI | Description |
---|---|
generic.AbstractDeployed | Abstract deployed that can target any deployable to a generic container |
generic.AbstractDeployedArtifact | Abstract deployed that can target any artifact to a generic container |
generic.CopiedArtifact | An artifact deployed on a generic container |
generic.ExecutedFolder | Scripts in the folder are executed against a Container based on a naming convention |
generic.ExecutedScript | A script executed on a generic container |
generic.ExecutedScriptWithDerivedArtifact | A script executed on a generic container whose deployable artifact supports placeholder replacement |
generic.ManualProcess | A manual process that needs to be performed on a generic container |
generic.ProcessedTemplate | A template deployed to a generic container |
Containers
CI | Description |
---|---|
generic.BaseGenericContainer | The supertype of all Containers |
generic.Container | A container to which generic CIs can be deployed |
generic.NestedContainer | A container that is nested with another container |
Other Configuration Items
CI | Description |
---|---|
generic.AbstractDeployed | Abstract deployed that can target any deployable to a generic container |
generic.AbstractDeployedArtifact | Abstract deployed that can target any artifact to a generic container |
generic.Archive | A generic, compressed binary artifact |
generic.BaseGenericContainer | The supertype of all Containers |
generic.Container | A container to which generic CIs can be deployed |
generic.CopiedArtifact | An artifact deployed on a generic container |
generic.ExecutedFolder | Scripts in the folder are executed against a Container based on a naming convention |
generic.ExecutedScript | A script executed on a generic container |
generic.ExecutedScriptWithDerivedArtifact | A script executed on a generic container whose deployable artifact supports placeholder replacement |
generic.File | A generic binary artifact |
generic.Folder | A generic folder artifact |
generic.ManualProcess | A manual process that needs to be performed on a generic container |
generic.NestedContainer | A container that is nested with another container |
generic.ProcessedTemplate | A template deployed to a generic container |
generic.Resource | A generic resource specification |
mail.SmtpServer | SMTP Mail Server Configuration |
Configuration Item Details
generic.AbstractDeployed
Virtual Type | |
---|---|
Type Hierarchy | udm.BaseDeployed >> udm.BaseConfigurationItem |
Interfaces | udm.EmbeddedDeployedContainer, udm.Deployed, udm.ConfigurationItem |
Abstract deployed that can target any deployable to a generic container
Parent | ||
---|---|---|
|
|
container
:
CI<udm.Container>
|
The container on which this deployed runs.
|
Public Properties | ||
---|---|---|
|
|
deployable
:
CI<udm.Deployable>
|
The deployable that this deployed is derived from.
|
Hidden Properties | ||
---|---|---|
|
|
createOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the create step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
createOrder
:
INTEGER
= 50
|
The order of the step in the step list for the create operation.
|
||
|
|
createVerb
:
STRING
= Create
|
Create Verb
|
||
|
|
destroyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the destroy step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
destroyOrder
:
INTEGER
= 40
|
The order of the step in the step list for the destroy operation.
|
||
|
|
destroyVerb
:
STRING
= Destroy
|
Destroy Verb
|
||
|
|
modifyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the modify step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
modifyOrder
:
INTEGER
= 50
|
The order of the step in the step list for the modify operation.
|
||
|
|
modifyVerb
:
STRING
= Modify
|
Modify Verb
|
||
|
|
noopOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the noop step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
noopOrder
:
INTEGER
= 50
|
The order of the step in the step list for the noop operation.
|
||
|
|
noopVerb
:
STRING
= Modify
|
Noop Verb
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
restartRequired
:
BOOLEAN
= false
|
The generic container requires a restart for the action performed by this deployed.
|
||
|
|
restartRequiredForNoop
:
BOOLEAN
= false
|
The generic container requires a restart for the NOOP action performed by this deployed.
|
generic.AbstractDeployedArtifact
Virtual Type | |
---|---|
Type Hierarchy | generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem |
Interfaces | udm.EmbeddedDeployedContainer, udm.Deployed, udm.ConfigurationItem |
Abstract deployed that can target any artifact to a generic container
Parent | ||
---|---|---|
|
|
container
:
CI<udm.Container>
|
The container on which this deployed runs.
|
Public Properties | ||
---|---|---|
|
|
deployable
:
CI<udm.Deployable>
|
The deployable that this deployed is derived from.
|
||
|
|
targetFile
:
STRING
|
Name of the artifact on the generic server.
|
Hidden Properties | ||
---|---|---|
|
|
createOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the create step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
createOrder
:
INTEGER
= 50
|
The order of the step in the step list for the create operation.
|
||
|
|
createVerb
:
STRING
= Create
|
Create Verb
|
||
|
|
destroyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the destroy step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
destroyOrder
:
INTEGER
= 40
|
The order of the step in the step list for the destroy operation.
|
||
|
|
destroyVerb
:
STRING
= Destroy
|
Destroy Verb
|
||
|
|
modifyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the modify step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
modifyOrder
:
INTEGER
= 50
|
The order of the step in the step list for the modify operation.
|
||
|
|
modifyVerb
:
STRING
= Modify
|
Modify Verb
|
||
|
|
noopOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the noop step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
noopOrder
:
INTEGER
= 50
|
The order of the step in the step list for the noop operation.
|
||
|
|
noopVerb
:
STRING
= Modify
|
Noop Verb
|
||
|
|
targetDirectory
:
STRING
|
Path to which artifact must be copied to on the generic server.
|
||
|
|
createTargetDirectory
:
BOOLEAN
= false
|
Create the target directory on the generic server if it does not exist.
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
restartRequired
:
BOOLEAN
= false
|
The generic container requires a restart for the action performed by this deployed.
|
||
|
|
restartRequiredForNoop
:
BOOLEAN
= false
|
The generic container requires a restart for the NOOP action performed by this deployed.
|
||
|
|
targetDirectoryShared
:
BOOLEAN
= true
|
Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.
|
generic.Archive
Virtual Type | |
---|---|
Type Hierarchy | udm.BaseDeployableArchiveArtifact >> udm.BaseDeployableFileArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem |
Interfaces | udm.SourceArtifact, udm.Artifact, udm.ConfigurationItem, udm.Taggable, udm.ArchiveArtifact, udm.DeployableArtifact, udm.Deployable, udm.FileArtifact |
A generic, compressed binary artifact
Public Properties | ||
---|---|---|
|
|
checksum
:
STRING
|
The checksum used to detect differences on the artifact. If not provided, it will be calculated by XL Deploy.
|
||
|
|
excludeFileNamesRegex
:
STRING
|
Regular expression that matches file names that must be excluded from scanning
|
||
|
|
fileUri
:
STRING
|
The URI pointing to the (remote) location of the file this artifact represents
|
||
|
|
placeholders
:
SET_OF_STRING
|
Placeholders detected in this artifact
|
||
|
|
scanPlaceholders
:
BOOLEAN
= false
|
Whether to scan this artifact for placeholders when it is imported
|
||
|
|
tags
:
SET_OF_STRING
|
If set, this deployable will only be mapped automatically to containers with the same tag.
|
Hidden Properties | ||
---|---|---|
|
|
textFileNamesRegex
:
STRING
= .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)
|
Regular expression that matches file names of text files
|
||
|
|
delimiters
:
STRING
= {{ }}
|
The delimiters used indicate placeholders, defaults to '{{ }}'. This is a 5 character string with a space in the middle, the first two are the leading delimiter, the last two are the closing delimiter
|
||
|
|
fileEncodings
:
MAP_STRING_STRING
= {.+\.properties=ISO-8859-1}
|
A map that maps regular expressions matching the full path of file(s) in the artifact to character set encodings
|
generic.BaseGenericContainer
Virtual Type | |
---|---|
Type Hierarchy | udm.BaseContainer >> udm.BaseConfigurationItem |
Interfaces | udm.Container, overthere.HostContainer, udm.ConfigurationItem, udm.Taggable, generic.GenericContainer |
The supertype of all Containers.
Public Properties | ||
---|---|---|
|
|
envVars
:
MAP_STRING_STRING
|
Environment variables for container
|
||
|
|
stopStartRestartConnection
:
CI<overthere.Host>
|
If set, the connection settings to use to connect to the target system to execute start, stop, restart etc. operations for the container.
|
||
|
|
tags
:
SET_OF_STRING
|
If set, only deployables with the same tag will be automatically mapped to this container.
|
Hidden Properties | ||
---|---|---|
|
|
restartOrder
:
INTEGER
= 90
|
The order of the restart container step in the step list.
|
||
|
|
restartWaitTime
:
INTEGER
= 0
|
The time to wait in seconds for a container restart action.
|
||
|
|
startOrder
:
INTEGER
= 90
|
The order of the start container step in the step list.
|
||
|
|
startWaitTime
:
INTEGER
= 0
|
The time to wait in seconds for a container start action.
|
||
|
|
stopOrder
:
INTEGER
= 10
|
The order of the stop container step in the step list.
|
||
|
|
stopWaitTime
:
INTEGER
= 0
|
The time to wait in seconds for a container stop action.
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
restartClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the restart script.
|
||
|
|
restartScript
:
STRING
|
Classpath to the script used to restart the generic container.
|
||
|
|
restartTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the restart script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
startClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the start script.
|
||
|
|
startScript
:
STRING
|
Classpath to the script used to start the generic container.
|
||
|
|
startTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the start script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
stopClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the stop script.
|
||
|
|
stopScript
:
STRING
|
Classpath to the script used to stop the generic container.
|
||
|
|
stopTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the stop script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
generic.Container
Virtual Type | |
---|---|
Type Hierarchy | generic.BaseGenericContainer >> udm.BaseContainer >> udm.BaseConfigurationItem |
Interfaces | udm.Container, overthere.HostContainer, udm.ConfigurationItem, udm.Taggable, generic.GenericContainer |
A container to which generic CIs can be deployed. Start, stop and restart behavior of this container can be controlled using the corresponding script properties.
Parent | ||
---|---|---|
|
|
host
:
CI<overthere.Host>
|
Host upon which the container resides
|
Public Properties | ||
---|---|---|
|
|
envVars
:
MAP_STRING_STRING
|
Environment variables for container
|
||
|
|
stopStartRestartConnection
:
CI<overthere.Host>
|
If set, the connection settings to use to connect to the target system to execute start, stop, restart etc. operations for the container.
|
||
|
|
tags
:
SET_OF_STRING
|
If set, only deployables with the same tag will be automatically mapped to this container.
|
Hidden Properties | ||
---|---|---|
|
|
restartOrder
:
INTEGER
= 90
|
The order of the restart container step in the step list.
|
||
|
|
restartWaitTime
:
INTEGER
= 0
|
The time to wait in seconds for a container restart action.
|
||
|
|
startOrder
:
INTEGER
= 90
|
The order of the start container step in the step list.
|
||
|
|
startWaitTime
:
INTEGER
= 0
|
The time to wait in seconds for a container start action.
|
||
|
|
stopOrder
:
INTEGER
= 10
|
The order of the stop container step in the step list.
|
||
|
|
stopWaitTime
:
INTEGER
= 0
|
The time to wait in seconds for a container stop action.
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
restartClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the restart script.
|
||
|
|
restartScript
:
STRING
|
Classpath to the script used to restart the generic container.
|
||
|
|
restartTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the restart script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
startClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the start script.
|
||
|
|
startScript
:
STRING
|
Classpath to the script used to start the generic container.
|
||
|
|
startTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the start script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
stopClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the stop script.
|
||
|
|
stopScript
:
STRING
|
Classpath to the script used to stop the generic container.
|
||
|
|
stopTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the stop script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
generic.CopiedArtifact
Virtual Type | |
---|---|
Type Hierarchy | generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem |
Interfaces | udm.DerivedArtifact, udm.EmbeddedDeployedContainer, udm.Artifact, udm.Deployed, udm.ConfigurationItem |
An artifact deployed on a generic container
Parent | ||
---|---|---|
|
|
container
:
CI<udm.Container>
|
The container on which this deployed runs.
|
Public Properties | ||
---|---|---|
|
|
deployable
:
CI<udm.Deployable>
|
The deployable that this deployed is derived from.
|
||
|
|
placeholders
:
MAP_STRING_STRING
|
A Map containing all the placeholders mapped to their values. Special values are <ignore> or <empty>
|
||
|
|
targetFile
:
STRING
|
Name of the artifact on the generic server.
|
Hidden Properties | ||
---|---|---|
|
|
createOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the create step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
createOrder
:
INTEGER
= 50
|
The order of the step in the step list for the create operation.
|
||
|
|
createVerb
:
STRING
= Create
|
Create Verb
|
||
|
|
destroyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the destroy step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
destroyOrder
:
INTEGER
= 40
|
The order of the step in the step list for the destroy operation.
|
||
|
|
destroyVerb
:
STRING
= Destroy
|
Destroy Verb
|
||
|
|
modifyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the modify step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
modifyOrder
:
INTEGER
= 50
|
The order of the step in the step list for the modify operation.
|
||
|
|
modifyVerb
:
STRING
= Modify
|
Modify Verb
|
||
|
|
noopOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the noop step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
noopOrder
:
INTEGER
= 50
|
The order of the step in the step list for the noop operation.
|
||
|
|
noopVerb
:
STRING
= Modify
|
Noop Verb
|
||
|
|
targetDirectory
:
STRING
|
Path to which artifact must be copied to on the generic server.
|
||
|
|
copyDirectlyToTargetPath
:
BOOLEAN
= false
|
If set to true, files are directly copied to the target directory without first being uploaded to the staging or temporary directory (like versions of XL Deploy prior to 4.0.0)
|
||
|
|
createTargetDirectory
:
BOOLEAN
= false
|
Create the target directory on the generic server if it does not exist.
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
preserveExistingFiles
:
BOOLEAN
= false
|
If set to true, preserve the existing files on the remote host (do not delete the copied files during the destroy operation).
|
||
|
|
restartRequired
:
BOOLEAN
= false
|
The generic container requires a restart for the action performed by this deployed.
|
||
|
|
restartRequiredForNoop
:
BOOLEAN
= false
|
The generic container requires a restart for the NOOP action performed by this deployed.
|
||
|
|
targetDirectoryShared
:
BOOLEAN
= true
|
Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.
|
||
|
|
targetPathSharedSubDirectories
:
BOOLEAN
= false
|
If set to true, the sub directories on the target machine are not deleted if files other than that copied by XL Deploy are present. Please note that setting this option to true will cause the removal process to be a slower.
|
generic.ExecutedFolder
Virtual Type | |
---|---|
Type Hierarchy | generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem |
Interfaces | udm.DerivedArtifact, udm.EmbeddedDeployedContainer, udm.Artifact, udm.Deployed, udm.ConfigurationItem |
Scripts in the folder are executed against a Container based on a naming convention
Parent | ||
---|---|---|
|
|
container
:
CI<udm.Container>
|
The container on which this deployed runs.
|
Public Properties | ||
---|---|---|
|
|
executorScript
:
STRING
|
Name of the executor script that will be executed for each script found in the folder.
|
||
|
|
rollbackScriptPostfix
:
STRING
|
A script's associated rollback script is derived by using the 1st group identified by the scriptRecognitionRegex and then appending this postfix to it. e.g give name '01-myscript.sql', regex '([0-9]*-.*)\.sql' and rollback script postfix '-rollback.sql', we can derive the name of the associated rollback script to be '01-myscript-rollback.sql'
|
||
|
|
rollbackScriptRecognitionRegex
:
STRING
|
Regular expression used to identify a rollback script in the folder. A successful match should returns a single group, ie the logical script name. e.g. [0-9]*-.*-rollback\.sql
|
||
|
|
scriptRecognitionRegex
:
STRING
|
Regular expression used to identify a script in the folder. A successful match should returns a single group to which the rollbackScriptPostfix can be appended in order to find the associated rollback script or the script's dependent subfolder. e.g.([0-9]*-.*)\.sql
|
||
|
|
deployable
:
CI<udm.Deployable>
|
The deployable that this deployed is derived from.
|
||
|
|
placeholders
:
MAP_STRING_STRING
|
A key/value pair mapping of placeholders in the deployed artifact to their values. Special values are
|
Hidden Properties | ||
---|---|---|
|
|
commonScriptFolderName
:
STRING
= common
|
Common folder that should be uploaded to the working directory.
|
||
|
|
createOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the create step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
createOrder
:
INTEGER
= 50
|
The order of the step in the step list for the create operation.
|
||
|
|
createVerb
:
STRING
= Create
|
Create Verb
|
||
|
|
destroyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the destroy step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
destroyOrder
:
INTEGER
= 40
|
The order of the step in the step list for the destroy operation.
|
||
|
|
destroyVerb
:
STRING
= Destroy
|
Destroy Verb
|
||
|
|
modifyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the modify step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
modifyOrder
:
INTEGER
= 50
|
The order of the step in the step list for the modify operation.
|
||
|
|
modifyVerb
:
STRING
= Modify
|
Modify Verb
|
||
|
|
noopOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the noop step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
noopOrder
:
INTEGER
= 50
|
The order of the step in the step list for the noop operation.
|
||
|
|
noopVerb
:
STRING
= Modify
|
Noop Verb
|
||
|
|
checkpointAfterFirstScript
:
BOOLEAN
= true
|
If set to true, the checkpoint is set after the first script in a folder has been executed. Otherwise the checkpoint is set after the last script in a folder has been executed.
|
||
|
|
classpathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the script.
|
||
|
|
executeModifiedScripts
:
BOOLEAN
= true
|
If set to true, modified scripts are also executed on a MODIFY or a NOOP.
|
||
|
|
executeRollbackForModifiedScripts
:
BOOLEAN
= true
|
If set to true, rollback scripts for modified scripts are also executed on a MODIFY or a NOOP.
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
restartRequired
:
BOOLEAN
= false
|
The generic container requires a restart for the action performed by this deployed.
|
||
|
|
restartRequiredForNoop
:
BOOLEAN
= false
|
The generic container requires a restart for the NOOP action performed by this deployed.
|
||
|
|
templateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
generic.ExecutedScript
Virtual Type | |
---|---|
Type Hierarchy | generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem |
Interfaces | udm.EmbeddedDeployedContainer, udm.Deployed, udm.ConfigurationItem |
A script executed on a generic container
Parent | ||
---|---|---|
|
|
container
:
CI<udm.Container>
|
The container on which this deployed runs.
|
Public Properties | ||
---|---|---|
|
|
deployable
:
CI<udm.Deployable>
|
The deployable that this deployed is derived from.
|
Hidden Properties | ||
---|---|---|
|
|
createOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the create step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
createOrder
:
INTEGER
= 50
|
The order of the step in the step list for the create operation.
|
||
|
|
createScript
:
STRING
|
Classpath to the script that is uploaded and executed on the generic container for the create operation.
|
||
|
|
createVerb
:
STRING
= Create
|
Create Verb
|
||
|
|
destroyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the destroy step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
destroyOrder
:
INTEGER
= 40
|
The order of the step in the step list for the destroy operation.
|
||
|
|
destroyVerb
:
STRING
= Destroy
|
Destroy Verb
|
||
|
|
modifyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the modify step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
modifyOrder
:
INTEGER
= 50
|
The order of the step in the step list for the modify operation.
|
||
|
|
modifyVerb
:
STRING
= Modify
|
Modify Verb
|
||
|
|
noopOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the noop step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
noopOrder
:
INTEGER
= 50
|
The order of the step in the step list for the noop operation.
|
||
|
|
noopVerb
:
STRING
= Modify
|
Noop Verb
|
||
|
|
classpathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the script.
|
||
|
|
destroyScript
:
STRING
|
Classpath to the script that is uploaded and executed on the generic container for the destroy operation.
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
modifyScript
:
STRING
|
Classpath to the script that is uploaded and executed on the generic container for the modify operation.
|
||
|
|
noopScript
:
STRING
|
Classpath to the script that is uploaded and executed on the generic container for the noop operation.
|
||
|
|
remoteWorkingDirectoryPath
:
STRING
|
Name of working directory on target host. Default is to create a temporary directory which is deleted when connection is closed.
|
||
|
|
restartRequired
:
BOOLEAN
= false
|
The generic container requires a restart for the action performed by this deployed.
|
||
|
|
restartRequiredForNoop
:
BOOLEAN
= false
|
The generic container requires a restart for the NOOP action performed by this deployed.
|
||
|
|
retainRemoteWorkingDirectory
:
BOOLEAN
= false
|
Retain the specified working directory on target host after completion.
|
||
|
|
templateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
generic.ExecutedScriptWithDerivedArtifact
Virtual Type | |
---|---|
Type Hierarchy | generic.ExecutedScript >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem |
Interfaces | udm.DerivedArtifact, udm.EmbeddedDeployedContainer, udm.Artifact, udm.Deployed, udm.ConfigurationItem |
A script executed on a generic container whose deployable artifact supports placeholder replacement
Parent | ||
---|---|---|
|
|
container
:
CI<udm.Container>
|
The container on which this deployed runs.
|
Public Properties | ||
---|---|---|
|
|
deployable
:
CI<udm.Deployable>
|
The deployable that this deployed is derived from.
|
||
|
|
placeholders
:
MAP_STRING_STRING
|
A key/value pair mapping of placeholders in the deployed artifact to their values. Special values are
|
Hidden Properties | ||
---|---|---|
|
|
createOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the create step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
createOrder
:
INTEGER
= 50
|
The order of the step in the step list for the create operation.
|
||
|
|
createScript
:
STRING
|
Classpath to the script that is uploaded and executed on the generic container for the create operation.
|
||
|
|
createVerb
:
STRING
= Create
|
Create Verb
|
||
|
|
destroyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the destroy step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
destroyOrder
:
INTEGER
= 40
|
The order of the step in the step list for the destroy operation.
|
||
|
|
destroyVerb
:
STRING
= Destroy
|
Destroy Verb
|
||
|
|
modifyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the modify step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
modifyOrder
:
INTEGER
= 50
|
The order of the step in the step list for the modify operation.
|
||
|
|
modifyVerb
:
STRING
= Modify
|
Modify Verb
|
||
|
|
noopOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the noop step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
noopOrder
:
INTEGER
= 50
|
The order of the step in the step list for the noop operation.
|
||
|
|
noopVerb
:
STRING
= Modify
|
Noop Verb
|
||
|
|
classpathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the script.
|
||
|
|
destroyScript
:
STRING
|
Classpath to the script that is uploaded and executed on the generic container for the destroy operation.
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
modifyScript
:
STRING
|
Classpath to the script that is uploaded and executed on the generic container for the modify operation.
|
||
|
|
noopScript
:
STRING
|
Classpath to the script that is uploaded and executed on the generic container for the noop operation.
|
||
|
|
remoteWorkingDirectoryPath
:
STRING
|
Name of working directory on target host. Default is to create a temporary directory which is deleted when connection is closed.
|
||
|
|
restartRequired
:
BOOLEAN
= false
|
The generic container requires a restart for the action performed by this deployed.
|
||
|
|
restartRequiredForNoop
:
BOOLEAN
= false
|
The generic container requires a restart for the NOOP action performed by this deployed.
|
||
|
|
retainRemoteWorkingDirectory
:
BOOLEAN
= false
|
Retain the specified working directory on target host after completion.
|
||
|
|
templateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
generic.File
Virtual Type | |
---|---|
Type Hierarchy | udm.BaseDeployableFileArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem |
Interfaces | udm.SourceArtifact, udm.Artifact, udm.ConfigurationItem, udm.Taggable, udm.DeployableArtifact, udm.Deployable, udm.FileArtifact |
A generic binary artifact
Public Properties | ||
---|---|---|
|
|
checksum
:
STRING
|
The checksum used to detect differences on the artifact. If not provided, it will be calculated by XL Deploy.
|
||
|
|
excludeFileNamesRegex
:
STRING
|
Regular expression that matches file names that must be excluded from scanning
|
||
|
|
fileUri
:
STRING
|
The URI pointing to the (remote) location of the file this artifact represents
|
||
|
|
placeholders
:
SET_OF_STRING
|
Placeholders detected in this artifact
|
||
|
|
scanPlaceholders
:
BOOLEAN
= true
|
Whether to scan this artifact for placeholders when it is imported
|
||
|
|
tags
:
SET_OF_STRING
|
If set, this deployable will only be mapped automatically to containers with the same tag.
|
Hidden Properties | ||
---|---|---|
|
|
textFileNamesRegex
:
STRING
= .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)
|
Regular expression that matches file names of text files
|
||
|
|
delimiters
:
STRING
= {{ }}
|
The delimiters used indicate placeholders, defaults to '{{ }}'. This is a 5 character string with a space in the middle, the first two are the leading delimiter, the last two are the closing delimiter
|
||
|
|
fileEncodings
:
MAP_STRING_STRING
= {.+\.properties=ISO-8859-1}
|
A map that maps regular expressions matching the full path of file(s) in the artifact to character set encodings
|
generic.Folder
Virtual Type | |
---|---|
Type Hierarchy | udm.BaseDeployableFolderArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem |
Interfaces | udm.FolderArtifact, udm.SourceArtifact, udm.Artifact, udm.ConfigurationItem, udm.Taggable, udm.DeployableArtifact, udm.Deployable |
A generic folder artifact
Public Properties | ||
---|---|---|
|
|
checksum
:
STRING
|
The checksum used to detect differences on the artifact. If not provided, it will be calculated by XL Deploy.
|
||
|
|
excludeFileNamesRegex
:
STRING
|
Regular expression that matches file names that must be excluded from scanning
|
||
|
|
fileUri
:
STRING
|
The URI pointing to the (remote) location of the file this artifact represents
|
||
|
|
placeholders
:
SET_OF_STRING
|
Placeholders detected in this artifact
|
||
|
|
scanPlaceholders
:
BOOLEAN
= true
|
Whether to scan this artifact for placeholders when it is imported
|
||
|
|
tags
:
SET_OF_STRING
|
If set, this deployable will only be mapped automatically to containers with the same tag.
|
Hidden Properties | ||
---|---|---|
|
|
textFileNamesRegex
:
STRING
= .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)
|
Regular expression that matches file names of text files
|
||
|
|
delimiters
:
STRING
= {{ }}
|
The delimiters used indicate placeholders, defaults to '{{ }}'. This is a 5 character string with a space in the middle, the first two are the leading delimiter, the last two are the closing delimiter
|
||
|
|
fileEncodings
:
MAP_STRING_STRING
= {.+\.properties=ISO-8859-1}
|
A map that maps regular expressions matching the full path of file(s) in the artifact to character set encodings
|
generic.ManualProcess
Virtual Type | |
---|---|
Type Hierarchy | generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem |
Interfaces | udm.EmbeddedDeployedContainer, udm.Deployed, udm.ConfigurationItem |
A manual process that needs to be performed on a generic container
Parent | ||
---|---|---|
|
|
container
:
CI<udm.Container>
|
The container on which this deployed runs.
|
Public Properties | ||
---|---|---|
|
|
deployable
:
CI<udm.Deployable>
|
The deployable that this deployed is derived from.
|
||
|
|
fromAddress
:
STRING
|
From mail address. Defaults to SMTPServer fromAddress.
|
||
|
|
subject
:
STRING
|
Mail subject
|
||
|
|
toAddresses
:
LIST_OF_STRING
|
Mail addresses of recepients.
|
Hidden Properties | ||
---|---|---|
|
|
createOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the create step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
createOrder
:
INTEGER
= 50
|
The order of the step in the step list for the create operation.
|
||
|
|
createScript
:
STRING
|
Classpath to the script that generates the instructions for the create operation.
|
||
|
|
createVerb
:
STRING
= Create
|
Create Verb
|
||
|
|
destroyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the destroy step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
destroyOrder
:
INTEGER
= 40
|
The order of the step in the step list for the destroy operation.
|
||
|
|
destroyVerb
:
STRING
= Destroy
|
Destroy Verb
|
||
|
|
modifyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the modify step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
modifyOrder
:
INTEGER
= 50
|
The order of the step in the step list for the modify operation.
|
||
|
|
modifyVerb
:
STRING
= Modify
|
Modify Verb
|
||
|
|
noopOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the noop step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
noopOrder
:
INTEGER
= 50
|
The order of the step in the step list for the noop operation.
|
||
|
|
noopVerb
:
STRING
= Modify
|
Noop Verb
|
||
|
|
destroyScript
:
STRING
|
Classpath to the script that generates the instructions for the destroy operation.
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
modifyScript
:
STRING
|
Classpath to the script that generates the instructions for the modify operation.
|
||
|
|
noopScript
:
STRING
|
Classpath to the script that generates the instructions for the noop operation.
|
||
|
|
restartRequired
:
BOOLEAN
= false
|
The generic container requires a restart for the action performed by this deployed.
|
||
|
|
restartRequiredForNoop
:
BOOLEAN
= false
|
The generic container requires a restart for the NOOP action performed by this deployed.
|
generic.NestedContainer
Virtual Type | |
---|---|
Type Hierarchy | generic.BaseGenericContainer >> udm.BaseContainer >> udm.BaseConfigurationItem |
Interfaces | udm.Container, overthere.HostContainer, udm.ConfigurationItem, udm.Taggable, generic.GenericContainer |
A container that is nested with another container
Public Properties | ||
---|---|---|
|
|
envVars
:
MAP_STRING_STRING
|
Environment variables for container
|
||
|
|
stopStartRestartConnection
:
CI<overthere.Host>
|
If set, the connection settings to use to connect to the target system to execute start, stop, restart etc. operations for the container.
|
||
|
|
tags
:
SET_OF_STRING
|
If set, only deployables with the same tag will be automatically mapped to this container.
|
Hidden Properties | ||
---|---|---|
|
|
restartOrder
:
INTEGER
= 90
|
The order of the restart container step in the step list.
|
||
|
|
restartWaitTime
:
INTEGER
= 0
|
The time to wait in seconds for a container restart action.
|
||
|
|
startOrder
:
INTEGER
= 90
|
The order of the start container step in the step list.
|
||
|
|
startWaitTime
:
INTEGER
= 0
|
The time to wait in seconds for a container start action.
|
||
|
|
stopOrder
:
INTEGER
= 10
|
The order of the stop container step in the step list.
|
||
|
|
stopWaitTime
:
INTEGER
= 0
|
The time to wait in seconds for a container stop action.
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
restartClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the restart script.
|
||
|
|
restartScript
:
STRING
|
Classpath to the script used to restart the generic container.
|
||
|
|
restartTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the restart script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
startClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the start script.
|
||
|
|
startScript
:
STRING
|
Classpath to the script used to start the generic container.
|
||
|
|
startTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the start script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
stopClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the stop script.
|
||
|
|
stopScript
:
STRING
|
Classpath to the script used to stop the generic container.
|
||
|
|
stopTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the stop script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
generic.ProcessedTemplate
Virtual Type | |
---|---|
Type Hierarchy | generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem |
Interfaces | udm.EmbeddedDeployedContainer, udm.Deployed, udm.ConfigurationItem |
A template deployed to a generic container
Parent | ||
---|---|---|
|
|
container
:
CI<udm.Container>
|
The container on which this deployed runs.
|
Public Properties | ||
---|---|---|
|
|
deployable
:
CI<udm.Deployable>
|
The deployable that this deployed is derived from.
|
||
|
|
targetFile
:
STRING
|
Name of the artifact on the generic server.
|
Hidden Properties | ||
---|---|---|
|
|
createOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the create step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
createOrder
:
INTEGER
= 50
|
The order of the step in the step list for the create operation.
|
||
|
|
createVerb
:
STRING
= Create
|
Create Verb
|
||
|
|
destroyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the destroy step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
destroyOrder
:
INTEGER
= 40
|
The order of the step in the step list for the destroy operation.
|
||
|
|
destroyVerb
:
STRING
= Destroy
|
Destroy Verb
|
||
|
|
modifyOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the modify step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
modifyOrder
:
INTEGER
= 50
|
The order of the step in the step list for the modify operation.
|
||
|
|
modifyVerb
:
STRING
= Modify
|
Modify Verb
|
||
|
|
noopOptions
:
SET_OF_STRING
= [uploadArtifactData, uploadClasspathResources, uploadTemplateClasspathResources]
|
Options for the noop step (1 or more of: none,uploadArtifactData,uploadClasspathResources,uploadTemplateClasspathResources).
|
||
|
|
noopOrder
:
INTEGER
= 50
|
The order of the step in the step list for the noop operation.
|
||
|
|
noopVerb
:
STRING
= Modify
|
Noop Verb
|
||
|
|
targetDirectory
:
STRING
|
Path to which artifact must be copied to on the generic server.
|
||
|
|
template
:
STRING
|
Classpath to the freemarker template used to generate the content of the final text base artifact.
|
||
|
|
createTargetDirectory
:
BOOLEAN
= false
|
Create the target directory on the generic server if it does not exist.
|
||
|
|
inspectClasspathResources
:
SET_OF_STRING
|
Additional classpath resources that should be uploaded to the working directory before executing the inspect script.
|
||
|
|
inspectScript
:
STRING
|
Classpath to the script used to inspect the generic container.
|
||
|
|
inspectTemplateClasspathResources
:
SET_OF_STRING
|
Additional template classpath resources that should be uploaded to the working directory before executing the inspect script.The template is first rendered and the rendered content copied to a file, with the same name as the template, in the working directory.
|
||
|
|
restartRequired
:
BOOLEAN
= false
|
The generic container requires a restart for the action performed by this deployed.
|
||
|
|
restartRequiredForNoop
:
BOOLEAN
= false
|
The generic container requires a restart for the NOOP action performed by this deployed.
|
||
|
|
targetDirectoryShared
:
BOOLEAN
= true
|
Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.
|
generic.Resource
Virtual Type | |
---|---|
Type Hierarchy | udm.BaseDeployable >> udm.BaseConfigurationItem |
Interfaces | udm.ConfigurationItem, udm.Taggable, udm.Deployable |
A generic resource specification
Public Properties | ||
---|---|---|
|
|
tags
:
SET_OF_STRING
|
If set, this deployable will only be mapped automatically to containers with the same tag.
|
mail.SmtpServer
Interfaces | udm.ConfigurationItem |
---|
SMTP Mail Server Configuration
Public Properties | ||
---|---|---|
|
|
fromAddress
:
STRING
|
Default from address to use for messages sent with this server.
|
||
|
|
host
:
STRING
|
SMTP host
|
||
|
|
port
:
INTEGER
= 25
|
SMTP port
|
||
|
|
password
:
STRING
|
Password to authenticate with host
|
||
|
|
smtpProperties
:
MAP_STRING_STRING
|
Refer to http://javamail.kenai.com/nonav/javadocs/com/sun/mail/smtp/package-summary.html for all properties that can be used.
|
||
|
|
testAddress
:
STRING
|
The address to which a test mail is sent when using the 'Send Test Mail' control task.
|
||
|
|
username
:
STRING
|
Username to authenticate with host
|
Control task | Parameter CI | Attributes | Description |
---|---|---|---|
sendTestMail |
no description |