Skip to content
Permalink
Browse files
HOP-2918 : Create transform integration tests: Number Range, If null,…
… Null if
  • Loading branch information
mattcasters committed Jun 1, 2021
1 parent 5027087 commit 3753700d9571a69f3652e75f6449d14936d47179
Show file tree
Hide file tree
Showing 25 changed files with 2,002 additions and 71 deletions.
@@ -0,0 +1,284 @@
<?xml version="1.0" encoding="UTF-8"?>
<pipeline>
<info>
<name>neo4j-graph-output-build</name>
<name_sync_with_filename>Y</name_sync_with_filename>
<description/>
<extended_description/>
<pipeline_version/>
<pipeline_type>Normal</pipeline_type>
<pipeline_status>0</pipeline_status>
<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>2019/08/06 16:10:49.753</created_date>
<modified_user>-</modified_user>
<modified_date>2019/08/06 16:10:49.753</modified_date>
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<is_key_private>N</is_key_private>
</info>
<notepads>
<notepad>
<note>Commit size set to 123 to check for dangling records</note>
<xloc>160</xloc>
<yloc>240</yloc>
<width>330</width>
<heigth>29</heigth>
<fontname>Sans</fontname>
<fontsize>14</fontsize>
<fontbold>N</fontbold>
<fontitalic>N</fontitalic>
<fontcolorred>0</fontcolorred>
<fontcolorgreen>0</fontcolorgreen>
<fontcolorblue>0</fontcolorblue>
<backgroundcolorred>136</backgroundcolorred>
<backgroundcolorgreen>138</backgroundcolorgreen>
<backgroundcolorblue>133</backgroundcolorblue>
<bordercolorred>100</bordercolorred>
<bordercolorgreen>100</bordercolorgreen>
<bordercolorblue>100</bordercolorblue>
</notepad>
</notepads>
<order>
<hop>
<from>customers-1k.txt</from>
<to>Update Customers graph</to>
<enabled>Y</enabled>
</hop>
</order>
<transform>
<name>Update Customers graph</name>
<type>Neo4jGraphOutput</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>Test</connection>
<model>Customers</model>
<batch_size>123</batch_size>
<create_indexes>Y</create_indexes>
<returning_graph>N</returning_graph>
<return_graph_field/>
<validate_against_model>N</validate_against_model>
<out_of_order_allowed>Y</out_of_order_allowed>
<mappings>
<mapping>
<source_field>id</source_field>
<target_type>Node</target_type>
<target_name>Customer</target_name>
<target_property>id</target_property>
</mapping>
<mapping>
<source_field>name</source_field>
<target_type>Node</target_type>
<target_name>Customer</target_name>
<target_property>name</target_property>
</mapping>
<mapping>
<source_field>firstname</source_field>
<target_type>Node</target_type>
<target_name>Customer</target_name>
<target_property>firstname</target_property>
</mapping>
<mapping>
<source_field>birthdate</source_field>
<target_type>Node</target_type>
<target_name>Customer</target_name>
<target_property>birthdate</target_property>
</mapping>
<mapping>
<source_field>zip</source_field>
<target_type>Node</target_type>
<target_name>Zip</target_name>
<target_property>zip</target_property>
</mapping>
<mapping>
<source_field>city</source_field>
<target_type>Node</target_type>
<target_name>City</target_name>
<target_property>city</target_property>
</mapping>
<mapping>
<source_field>street</source_field>
<target_type>Node</target_type>
<target_name>Street</target_name>
<target_property>street</target_property>
</mapping>
<mapping>
<source_field>housenr</source_field>
<target_type>Node</target_type>
<target_name>House</target_name>
<target_property>housenr</target_property>
</mapping>
<mapping>
<source_field>stateCode</source_field>
<target_type>Node</target_type>
<target_name>State</target_name>
<target_property>stateCode</target_property>
</mapping>
<mapping>
<source_field>state</source_field>
<target_type>Node</target_type>
<target_name>State</target_name>
<target_property>state</target_property>
</mapping>
</mappings>
<attributes/>
<GUI>
<xloc>464</xloc>
<yloc>128</yloc>
</GUI>
</transform>
<transform>
<name>customers-1k.txt</name>
<type>CSVInput</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<filename>${PROJECT_HOME}/datasets/customers.csv</filename>
<filename_field/>
<rownum_field/>
<include_filename>N</include_filename>
<separator>,</separator>
<enclosure>"</enclosure>
<header>Y</header>
<buffer_size>50000</buffer_size>
<lazy_conversion>N</lazy_conversion>
<add_filename_result>N</add_filename_result>
<parallel>N</parallel>
<newline_possible>N</newline_possible>
<encoding/>
<fields>
<field>
<name>id</name>
<type>Integer</type>
<format>#</format>
<currency>EUR</currency>
<decimal>.</decimal>
<group>,</group>
<length>15</length>
<precision>0</precision>
<trim_type>none</trim_type>
</field>
<field>
<name>name</name>
<type>String</type>
<format/>
<currency>EUR</currency>
<decimal>.</decimal>
<group>,</group>
<length>10</length>
<precision>-1</precision>
<trim_type>none</trim_type>
</field>
<field>
<name>firstname</name>
<type>String</type>
<format/>
<currency>EUR</currency>
<decimal>.</decimal>
<group>,</group>
<length>13</length>
<precision>-1</precision>
<trim_type>none</trim_type>
</field>
<field>
<name>zip</name>
<type>Integer</type>
<format>#</format>
<currency>EUR</currency>
<decimal>.</decimal>
<group>,</group>
<length>15</length>
<precision>0</precision>
<trim_type>none</trim_type>
</field>
<field>
<name>city</name>
<type>String</type>
<format/>
<currency>EUR</currency>
<decimal>.</decimal>
<group>,</group>
<length>8</length>
<precision>-1</precision>
<trim_type>none</trim_type>
</field>
<field>
<name>birthdate</name>
<type>Date</type>
<format>yyyy/MM/dd</format>
<currency>EUR</currency>
<decimal>.</decimal>
<group>,</group>
<length>-1</length>
<precision>-1</precision>
<trim_type>none</trim_type>
</field>
<field>
<name>street</name>
<type>String</type>
<format/>
<currency>EUR</currency>
<decimal>.</decimal>
<group>,</group>
<length>11</length>
<precision>-1</precision>
<trim_type>none</trim_type>
</field>
<field>
<name>housenr</name>
<type>Integer</type>
<format>#</format>
<currency>EUR</currency>
<decimal>.</decimal>
<group>,</group>
<length>15</length>
<precision>0</precision>
<trim_type>none</trim_type>
</field>
<field>
<name>stateCode</name>
<type>String</type>
<format/>
<currency>EUR</currency>
<decimal>.</decimal>
<group>,</group>
<length>9</length>
<precision>-1</precision>
<trim_type>none</trim_type>
</field>
<field>
<name>state</name>
<type>String</type>
<format/>
<currency>EUR</currency>
<decimal>.</decimal>
<group>,</group>
<length>30</length>
<precision>-1</precision>
<trim_type>none</trim_type>
</field>
</fields>
<attributes/>
<GUI>
<xloc>208</xloc>
<yloc>128</yloc>
</GUI>
</transform>
<transform_error_handling>
</transform_error_handling>
<attributes/>
</pipeline>

0 comments on commit 3753700

Please sign in to comment.