| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <pipeline> |
| <info> |
| <name>0015-add-checksum</name> |
| <name_sync_with_filename>Y</name_sync_with_filename> |
| <description/> |
| <extended_description/> |
| <pipeline_version/> |
| <pipeline_type>Normal</pipeline_type> |
| <parameters> |
| </parameters> |
| <capture_transform_performance>N</capture_transform_performance> |
| <transform_performance_capturing_delay>1000</transform_performance_capturing_delay> |
| <transform_performance_capturing_size_limit>100</transform_performance_capturing_size_limit> |
| <created_user>-</created_user> |
| <created_date>2021/05/17 21:01:14.290</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2021/05/17 21:01:14.290</modified_date> |
| <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
| <is_key_private>N</is_key_private> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>Generate rows</from> |
| <to>id</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>id</from> |
| <to>mod</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>mod</from> |
| <to>CRC32</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>CRC32</from> |
| <to>addler32</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>addler32</from> |
| <to>md5</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>md5</from> |
| <to>sha1</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>sha1</from> |
| <to>sha256</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>sha256</from> |
| <to>sha384</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>sha384</from> |
| <to>sha512</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>CRC32</name> |
| <type>CheckSum</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <checksumtype>CRC32</checksumtype> |
| <fields> |
| <field> |
| <name>id</name> |
| </field> |
| <field> |
| <name>mod</name> |
| </field> |
| </fields> |
| <resultfieldName>crc32</resultfieldName> |
| <resultType>hexadecimal</resultType> |
| <attributes/> |
| <GUI> |
| <xloc>96</xloc> |
| <yloc>176</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Generate rows</name> |
| <type>RowGenerator</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| </fields> |
| <interval_in_ms>5000</interval_in_ms> |
| <last_time_field>FiveSecondsAgo</last_time_field> |
| <never_ending>N</never_ending> |
| <limit>100</limit> |
| <row_time_field>now</row_time_field> |
| <attributes/> |
| <GUI> |
| <xloc>96</xloc> |
| <yloc>80</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>addler32</name> |
| <type>CheckSum</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <checksumtype>ADLER32</checksumtype> |
| <fields> |
| <field> |
| <name>id</name> |
| </field> |
| <field> |
| <name>mod</name> |
| </field> |
| </fields> |
| <resultfieldName>addler32</resultfieldName> |
| <resultType>hexadecimal</resultType> |
| <attributes/> |
| <GUI> |
| <xloc>192</xloc> |
| <yloc>176</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>id</name> |
| <type>Sequence</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <use_counter>Y</use_counter> |
| <use_database>N</use_database> |
| <increment_by>1</increment_by> |
| <max_value>999999999</max_value> |
| <seqname>SEQ_</seqname> |
| <start_at>1</start_at> |
| <valuename>id</valuename> |
| <attributes/> |
| <GUI> |
| <xloc>240</xloc> |
| <yloc>80</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>md5</name> |
| <type>CheckSum</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <checksumtype>MD5</checksumtype> |
| <fields> |
| <field> |
| <name>id</name> |
| </field> |
| <field> |
| <name>mod</name> |
| </field> |
| </fields> |
| <resultfieldName>md5</resultfieldName> |
| <resultType>hexadecimal</resultType> |
| <attributes/> |
| <GUI> |
| <xloc>288</xloc> |
| <yloc>176</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>mod</name> |
| <type>Calculator</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <failIfNoFile>Y</failIfNoFile> |
| <calculation> |
| <calc_type>CONSTANT</calc_type> |
| <field_a>3</field_a> |
| <field_name>3</field_name> |
| <remove>Y</remove> |
| <value_length>-1</value_length> |
| <value_precision>-1</value_precision> |
| <value_type>Integer</value_type> |
| </calculation> |
| <calculation> |
| <calc_type>REMAINDER</calc_type> |
| <field_a>id</field_a> |
| <field_b>3</field_b> |
| <field_name>mod</field_name> |
| <remove>N</remove> |
| <value_length>-1</value_length> |
| <value_precision>-1</value_precision> |
| <value_type>Integer</value_type> |
| </calculation> |
| <attributes/> |
| <GUI> |
| <xloc>368</xloc> |
| <yloc>80</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>sha1</name> |
| <type>CheckSum</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <checksumtype>SHA-1</checksumtype> |
| <fields> |
| <field> |
| <name>id</name> |
| </field> |
| <field> |
| <name>mod</name> |
| </field> |
| </fields> |
| <resultfieldName>sha1</resultfieldName> |
| <resultType>hexadecimal</resultType> |
| <attributes/> |
| <GUI> |
| <xloc>384</xloc> |
| <yloc>176</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>sha256</name> |
| <type>CheckSum</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <checksumtype>SHA-256</checksumtype> |
| <fields> |
| <field> |
| <name>id</name> |
| </field> |
| <field> |
| <name>mod</name> |
| </field> |
| </fields> |
| <resultfieldName>sha256</resultfieldName> |
| <resultType>hexadecimal</resultType> |
| <attributes/> |
| <GUI> |
| <xloc>480</xloc> |
| <yloc>176</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>sha384</name> |
| <type>CheckSum</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <checksumtype>SHA-384</checksumtype> |
| <fields> |
| <field> |
| <name>id</name> |
| </field> |
| <field> |
| <name>mod</name> |
| </field> |
| </fields> |
| <resultfieldName>sha384</resultfieldName> |
| <resultType>hexadecimal</resultType> |
| <attributes/> |
| <GUI> |
| <xloc>576</xloc> |
| <yloc>176</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>sha512</name> |
| <type>CheckSum</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <checksumtype>SHA-512</checksumtype> |
| <fields> |
| <field> |
| <name>id</name> |
| </field> |
| <field> |
| <name>mod</name> |
| </field> |
| </fields> |
| <resultfieldName>sha512</resultfieldName> |
| <resultType>hexadecimal</resultType> |
| <attributes/> |
| <GUI> |
| <xloc>672</xloc> |
| <yloc>176</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |