ADI Transformation Plugin



Version

0.0.6

Overview

This plugin provides ability to convert ADI 1.1 version compliant XML files to ADI 3.0 version and vice versa.

Saved Parameters Description

  • Name: The name used to identify a saved ADI Transformation configured instance.
  • Comments: The comments to identify the Adi Parser template.
  • ADI File path: The file path to the ADI file.
  • XSL File path: The file path to the XSL file.
  • Target path: Target file is the file location where the transformed file will be placed.
  • Conversion: Conversion type, choose from 'Convert from 1.1 to 3.0' OR 'Convert from 3.0 to 1.1'. Default is 'Convert from 1.1 to 3.0'.
  • Jar path: For the 'Convert from 3.0 to 1.1' option in the above option, conversion requires external Java jar library. Currently this parameter is optional and the JAR file is already shipped with the plugin.

Inputs Description

The list of inputs depends on the configuration of the ADI Transformation action template. All required parameters are available as inputs at runtime if not specified by the template. This plug-in does not support value overwrites: if a value is specified in the template it will not be available as input of the step at runtime.

These inputs are mandatory for ADI Parsing and validation:
  • ADI File path: The ADI file path must be provided, for the conversion to happen.
  • XSL File path: The XSL file path must be provided, for the conversion to happen.
These inputs are optional:
  • Name: It is advisable that a name is entered to identify the template.
  • Comments: Information about the template which will help identify the template.
  • Target path: Target file is not mandatory. If not given, by default it will be written in the same directory.
  • Jar path: Currently this parameter is optional and the JAR file is already shipped with the plugin.
Outputs Description
  • Output File Path: File name after conversion.
  • Is_Valid_ADI: This is a flag and is 'true' if XML file is valid after the conversion is successful. 'false' otherwise.
  • Is_Valid_xsl: This is a flag and is 'true' of XSL file is valid after the conversion is successful. 'false' otherwise.
  • ADI_Hash: Content of converted file in for of hash.
  • ADI_XML: Content of the converted XML file.

Operating Instructions

This plug-in allows users convert ADI XML with version 1.1 to version 3 and vice versa.

Providing the mandatory inputs listed above, the plugin converts ADI XML in selected version format and is placed in the provided target path.