Mapping File Schema

Element Name and Path Description Attributes
Integration Defines the mapping contents of the file. Must be the outermost block in the file except for the beginning line and any comments.  
info (integration) Defines information about the data repositories being integrated.  
source (info) The source product

Name: name

Description: the name of the product

Is required?: required

Type: String

Name: vendor

Description: the vendor of the product

Is required?: required

Type: String

Name: versions

Description: the version of the product

Is required?: required

Type: decimal

target (info) The target product

Name: name

Description: the name of the product

Is required?: required

Type: String

Name: vendor

Description: the vendor of the product

Is required?: required

Type: String

Name: versions

Description: the version of the product

Is required?: required

Type: decimal

Import (integration) A container element for imported script files.  
scriptFile (integration>import) Defines the groovy script file to be imported.

Name: path

Description: the path of the script file

Is required?: required

Type: string

Targetcis (integration) A container element for Target CI types.  
Source_instance_type (integration>targetcis) Defines the source CI instance type. Must be the root element as defined in the TQL.

Name: query-name.

Description: The name of the relevant TQL

Is required?: required

Type: String

Name: name

Description: The root element as defined in the TQL.

Is required?: required

Type: String

dynamic_mapping (integration>targetcis> source_instance_type) Defines a map that is created once per chunk.

Name: name

Description: the name of the map

Is required?: required

Type: String

Name: keys-unique

Description: States if the keys are unique or not.

Is required?: required

Type: boolean

target_ci_type (integration>targetcis> source_instance_type) -OR- (integration>targetcis> source_instance_type> for-each-source-ci) Defines the target CI type to be added to the RTN.

Name: name

Description: the name of the target CI type

Is required?: required

Type: String

Name: is-valid

Description: checks if the current target CI valid according to the given script.

Is required?: not required

Type: String (groovy script)

Variable (target_ci_type) Defines a variable for the target CI type.

Name: name

Description: the name of the variable

Is required?: required

Type: String

Name: datatype

Description: the data type of the variable.

Is required?: required

Type: type-enum (can be one of the following: INTEGER, LONG, FLOAT, DOUBLE, STRING, BYTES, XML, BOOLEAN, DATE, INTEGER_LIST, STRING_LIST)

Name: value

Description: The value to assign to the variable

Is required?: required

Type: groovy script

target_mapping (target_ci_type) Defines an attribute for the target CI type.

Name: name

Description: the name of the attribute

Is required?: required

Type: String

Name: datatype

Description: the data type of the variable.

Is required?: required

Type: type-enum (can be one of the following: INTEGER, LONG, FLOAT, DOUBLE, STRING, BYTES, XML, BOOLEAN, DATE, INTEGER_LIST, STRING_LIST)

Name: value

Description: The value to assign to the variable

Is required?: required

Type: groovy script

Name: ignore-on-null

Description: If the target mapping value is null and this attribute is TRUE, ignore the attribute

Is required?: not required

Type: Boolean (groovy script)

before-mapping (target_ci_type) A groovy script that is executed before the mapping of the target CI type.  
after-mapping (target_ci_type) A groovy script that is executed after the mapping of the target CI type.  
for-each-source-ci (target_ci_type) Defines an iteration of specific CIs of the root instance.

Name: count-index

Description: the index of the current iterated CI

Is required?: required

Type: String

Name: var-name

Description: the variable that refers to the current iterated CI.

Is required?: not required

Type: String

Name: source-cis

Description: The CI name in the query that is to be iterated

Is required?: required

Type: String (groovy script)