Created
February 10, 2016 15:52
-
-
Save alistairhenderson/a9393f391eba9f616a68 to your computer and use it in GitHub Desktop.
Pentaho Call Generic Logging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <transformation-steps> | |
| <steps> | |
| <step> | |
| <name>Trace Debug</name> | |
| <type>SimpleMapping</type> | |
| <description/> | |
| <distribute>Y</distribute> | |
| <custom_distribution/> | |
| <copies>1</copies> | |
| <partitioning> | |
| <method>none</method> | |
| <schema_name/> | |
| </partitioning> | |
| <specification_method>rep_name</specification_method> | |
| <trans_object_id/> | |
| <trans_name>Trace Debug</trans_name> | |
| <filename/> | |
| <directory_path>/home/orderinterface/transformations/Debug</directory_path> | |
| <mappings> | |
| <input> | |
| <mapping> <input_step/> | |
| <output_step/> | |
| <main_path>Y</main_path> | |
| <rename_on_output>N</rename_on_output> | |
| <description/> | |
| <connector><parent>LogField</parent><child>LogField</child></connector> | |
| <connector><parent>LogFileName</parent><child>LogFileName</child></connector> | |
| </mapping> </input> | |
| <output> | |
| <mapping> <input_step/> | |
| <output_step/> | |
| <main_path>Y</main_path> | |
| <rename_on_output>N</rename_on_output> | |
| <description/> | |
| </mapping> </output> | |
| <parameters> <inherit_all_vars>Y</inherit_all_vars> | |
| </parameters> | |
| </mappings> | |
| <cluster_schema/> | |
| <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| <xloc>1872</xloc> | |
| <yloc>176</yloc> | |
| <draw>Y</draw> | |
| </GUI> | |
| </step> | |
| <step> | |
| <name>Create Log File Details</name> | |
| <type>ConcatFields</type> | |
| <description/> | |
| <distribute>Y</distribute> | |
| <custom_distribution/> | |
| <copies>1</copies> | |
| <partitioning> | |
| <method>none</method> | |
| <schema_name/> | |
| </partitioning> | |
| <separator>,</separator> | |
| <enclosure/> | |
| <enclosure_forced>N</enclosure_forced> | |
| <enclosure_fix_disabled>N</enclosure_fix_disabled> | |
| <header>N</header> | |
| <footer>N</footer> | |
| <format>DOS</format> | |
| <compression>None</compression> | |
| <encoding/> | |
| <endedLine/> | |
| <fileNameInField>N</fileNameInField> | |
| <fileNameField/> | |
| <create_parent_folder>Y</create_parent_folder> | |
| <file> | |
| <name>file</name> | |
| <is_command>N</is_command> | |
| <servlet_output>N</servlet_output> | |
| <do_not_open_new_file_init>N</do_not_open_new_file_init> | |
| <extention>txt</extention> | |
| <append>N</append> | |
| <split>N</split> | |
| <haspartno>N</haspartno> | |
| <add_date>N</add_date> | |
| <add_time>N</add_time> | |
| <SpecifyFormat>N</SpecifyFormat> | |
| <date_time_format/> | |
| <add_to_result_filenames>Y</add_to_result_filenames> | |
| <pad>N</pad> | |
| <fast_dump>N</fast_dump> | |
| <splitevery>0</splitevery> | |
| </file> | |
| <fields> | |
| <field> | |
| <name>OriginalFilePath</name> | |
| <type>String</type> | |
| <format/> | |
| <currency/> | |
| <decimal/> | |
| <group/> | |
| <nullif/> | |
| <trim_type>both</trim_type> | |
| <length>-1</length> | |
| <precision>-1</precision> | |
| </field> | |
| <field> | |
| <name>InternalKey</name> | |
| <type>String</type> | |
| <format/> | |
| <currency/> | |
| <decimal/> | |
| <group/> | |
| <nullif/> | |
| <trim_type>both</trim_type> | |
| <length>-1</length> | |
| <precision>-1</precision> | |
| </field> | |
| <field> | |
| <name>NewOrderFilePathName</name> | |
| <type>String</type> | |
| <format/> | |
| <currency/> | |
| <decimal/> | |
| <group/> | |
| <nullif/> | |
| <trim_type>both</trim_type> | |
| <length>-1</length> | |
| <precision>-1</precision> | |
| </field> | |
| <field> | |
| <name>NewOrderFileName</name> | |
| <type>String</type> | |
| <format/> | |
| <currency/> | |
| <decimal/> | |
| <group/> | |
| <nullif/> | |
| <trim_type>both</trim_type> | |
| <length>-1</length> | |
| <precision>-1</precision> | |
| </field> | |
| <field> | |
| <name>Process_Ind</name> | |
| <type>String</type> | |
| <format/> | |
| <currency/> | |
| <decimal/> | |
| <group/> | |
| <nullif/> | |
| <trim_type>both</trim_type> | |
| <length>-1</length> | |
| <precision>-1</precision> | |
| </field> | |
| <field> | |
| <name>real_extension</name> | |
| <type>String</type> | |
| <format/> | |
| <currency/> | |
| <decimal/> | |
| <group/> | |
| <nullif/> | |
| <trim_type>both</trim_type> | |
| <length>-1</length> | |
| <precision>-1</precision> | |
| </field> | |
| </fields> | |
| <ConcatFields> | |
| <targetFieldName>LogField</targetFieldName> | |
| <targetFieldLength>0</targetFieldLength> | |
| <removeSelectedFields>N</removeSelectedFields> | |
| </ConcatFields> | |
| <cluster_schema/> | |
| <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| <xloc>1600</xloc> | |
| <yloc>176</yloc> | |
| <draw>Y</draw> | |
| </GUI> | |
| </step> | |
| <step> | |
| <name>LogFileName</name> | |
| <type>Constant</type> | |
| <description/> | |
| <distribute>Y</distribute> | |
| <custom_distribution/> | |
| <copies>1</copies> | |
| <partitioning> | |
| <method>none</method> | |
| <schema_name/> | |
| </partitioning> | |
| <fields> | |
| <field> | |
| <name>LogFileName</name> | |
| <type>String</type> | |
| <format/> | |
| <currency/> | |
| <decimal/> | |
| <group/> | |
| <nullif>RenameOrderFile_1</nullif> | |
| <length>-1</length> | |
| <precision>-1</precision> | |
| <set_empty_string>N</set_empty_string> | |
| </field> | |
| </fields> | |
| <cluster_schema/> | |
| <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| <xloc>1728</xloc> | |
| <yloc>176</yloc> | |
| <draw>Y</draw> | |
| </GUI> | |
| </step> | |
| </steps> | |
| <order> | |
| <hop> <from>Create Log File Details</from><to>LogFileName</to><enabled>Y</enabled> </hop> | |
| <hop> <from>LogFileName</from><to>Trace Debug</to><enabled>Y</enabled> </hop> | |
| </order> | |
| <notepads> | |
| </notepads> | |
| <step_error_handling> | |
| </step_error_handling> | |
| </transformation-steps> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment