Transformer List - tsgrp/OpenMigrate GitHub Wiki
All transformers are used during the mapping process of a migration. They utilize attributes as parameters, each delimited by a ~
. Transformers are formatted like this: @{idNameOfTransformer~param1~param2~...}
.
Here's an example of attributes using transformers during the mapping of a migration:
...
<!-- Example of original attribute om_name: PW-HU001_123456.PDF -->
<attribute-mapping attr="om_ge_id_temp" type="java.lang.String">
<value val="@{XSubstringBeforeFirst~om_name~_}" />
</attribute-mapping>
<attribute-mapping attr="om_ge_id" type="java.lang.String">
<value val="@{XSubstringAfterLast~om_ge_id_temp~-}" />
</attribute-mapping>
<!-- Resulting value for om_ge_id: HU001_123456 -->
...
Below is a list of all transformers, including an explanation of the transformation, a list of parameters and the expected output.
Please see the OpenMigrate Javadoc for a list of available Transformers.