| <?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>0002-pipeline-executor-fromfield</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/11/02 13:11:39.387</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2021/11/02 13:11:39.387</modified_date> |
| <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
| <is_key_private>N</is_key_private> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>Data grid</from> |
| <to>Call processor</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Call processor</from> |
| <to>Group by</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Group by</from> |
| <to>tot = 2</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>tot = 2</from> |
| <to>Abort</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>tot = 2</from> |
| <to>Write to log</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Write to log</from> |
| <to>Success</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>Abort</name> |
| <type>Abort</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <abort_option>ABORT_WITH_ERROR</abort_option> |
| <always_log_rows>Y</always_log_rows> |
| <row_threshold>0</row_threshold> |
| <attributes/> |
| <GUI> |
| <xloc>528</xloc> |
| <yloc>192</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Call processor</name> |
| <type>PipelineExecutor</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <run_configuration>local</run_configuration> |
| <filename>${PROJECT_HOME}/0002-pipeline-executor-fromfield-called2.hpl</filename> |
| <filenameInField>Y</filenameInField> |
| <filenameField>proc_to_run</filenameField> |
| <group_size>1</group_size> |
| <group_field/> |
| <group_time/> |
| <parameters> |
| <inherit_all_vars>Y</inherit_all_vars> |
| </parameters> |
| <execution_result_target_transform/> |
| <execution_time_field>ExecutionTime</execution_time_field> |
| <execution_result_field>ExecutionResult</execution_result_field> |
| <execution_errors_field>ExecutionNrErrors</execution_errors_field> |
| <execution_lines_read_field>ExecutionLinesRead</execution_lines_read_field> |
| <execution_lines_written_field>ExecutionLinesWritten</execution_lines_written_field> |
| <execution_lines_input_field>ExecutionLinesInput</execution_lines_input_field> |
| <execution_lines_output_field>ExecutionLinesOutput</execution_lines_output_field> |
| <execution_lines_rejected_field>ExecutionLinesRejected</execution_lines_rejected_field> |
| <execution_lines_updated_field>ExecutionLinesUpdated</execution_lines_updated_field> |
| <execution_lines_deleted_field>ExecutionLinesDeleted</execution_lines_deleted_field> |
| <execution_files_retrieved_field>ExecutionFilesRetrieved</execution_files_retrieved_field> |
| <execution_exit_status_field>ExecutionExitStatus</execution_exit_status_field> |
| <execution_log_text_field>ExecutionLogText</execution_log_text_field> |
| <execution_log_channelid_field>ExecutionLogChannelId</execution_log_channelid_field> |
| <result_rows_target_transform>Group by</result_rows_target_transform> |
| <result_rows_field> |
| <name>col</name> |
| <type>Integer</type> |
| <length>-1</length> |
| <precision>-1</precision> |
| </result_rows_field> |
| <result_files_target_transform/> |
| <result_files_file_name_field/> |
| <executors_output_transform/> |
| <attributes/> |
| <GUI> |
| <xloc>240</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Data grid</name> |
| <type>DataGrid</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <field> |
| <set_empty_string>N</set_empty_string> |
| <length>-1</length> |
| <name>proc_to_run</name> |
| <precision>-1</precision> |
| <type>String</type> |
| </field> |
| </fields> |
| <data> |
| <line> |
| <item>${PROJECT_HOME}/0002-pipeline-executor-fromfield-called1.hpl</item> |
| </line> |
| <line> |
| <item>${PROJECT_HOME}/0002-pipeline-executor-fromfield-called2.hpl</item> |
| </line> |
| </data> |
| <attributes/> |
| <GUI> |
| <xloc>112</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Group by</name> |
| <type>GroupBy</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <all_rows>N</all_rows> |
| <ignore_aggregate>N</ignore_aggregate> |
| <field_ignore/> |
| <directory>${java.io.tmpdir}</directory> |
| <prefix>grp</prefix> |
| <add_linenr>N</add_linenr> |
| <linenr_fieldname/> |
| <give_back_row>N</give_back_row> |
| <group> |
| </group> |
| <fields> |
| <field> |
| <aggregate>tot</aggregate> |
| <subject>col</subject> |
| <type>SUM</type> |
| <valuefield/> |
| </field> |
| </fields> |
| <attributes/> |
| <GUI> |
| <xloc>400</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Success</name> |
| <type>Dummy</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <attributes/> |
| <GUI> |
| <xloc>768</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>tot = 2</name> |
| <type>FilterRows</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <send_true_to>Write to log</send_true_to> |
| <send_false_to>Abort</send_false_to> |
| <compare> |
| <condition> |
| <negated>N</negated> |
| <leftvalue>tot</leftvalue> |
| <function>=</function> |
| <rightvalue/> |
| <value> |
| <name>constant</name> |
| <type>Integer</type> |
| <text>2</text> |
| <length>-1</length> |
| <precision>0</precision> |
| <isnull>N</isnull> |
| <mask>####0;-####0</mask> |
| </value> |
| </condition> |
| </compare> |
| <attributes/> |
| <GUI> |
| <xloc>528</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Write to log</name> |
| <type>WriteToLog</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <loglevel>log_level_basic</loglevel> |
| <displayHeader>Y</displayHeader> |
| <limitRows>N</limitRows> |
| <limitRowsNumber>0</limitRowsNumber> |
| <logmessage/> |
| <fields> |
| </fields> |
| <attributes/> |
| <GUI> |
| <xloc>640</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |