Skip to content

Commit e06107a

Browse files
Another test ETL for remote source (#2278)
- Add new ETL - Fix remote ETLs
1 parent 9e2ab1f commit e06107a

3 files changed

Lines changed: 20 additions & 2 deletions

File tree

modules/ETLtest/resources/ETLs/remoteConnectionTargetMerge.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<name>Remote connection with target option</name>
33
<description>User Defined ETL</description>
44
<transforms>
5-
<transform id="step1forEditTest" type="org.labkey.di.pipeline.TransformTask">
5+
<transform id="step1forEditTest" type="RemoteQueryTransformStep">
66
<description>Copy to target via remote connection</description>
77
<source queryName="source" remoteSource="EtlTest_RemoteConnection" schemaName="etltest"/>
88
<destination queryName="target2" schemaName="etltest" targetOption="merge"/>

modules/ETLtest/resources/ETLs/remoteConnectionTargetMergeWithFilter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<name>Remote connection with target option and sourceFilter</name>
33
<description>User Defined ETL With Filter</description>
44
<transforms>
5-
<transform id="step1forEditTest" type="org.labkey.di.pipeline.TransformTask">
5+
<transform id="step1forEditTest" type="RemoteQueryTransformStep">
66
<description>Copy to target via remote connection</description>
77
<source queryName="source" remoteSource="EtlTest_RemoteConnection" schemaName="etltest">
88
<sourceFilters>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<etl xmlns="http://labkey.org/etl/xml">
2+
<name>Remote connection with truncate target option, sourceFilter and no incremental filter</name>
3+
<description>User Defined ETL With Filter</description>
4+
<transforms>
5+
<transform id="step1forEditTest" type="RemoteQueryTransformStep">
6+
<description>Copy to target via remote connection</description>
7+
<source queryName="source" remoteSource="EtlTest_RemoteConnection" schemaName="etltest">
8+
<sourceFilters>
9+
<sourceFilter column="name" operator="neqornull" value="Patient 16"/>
10+
</sourceFilters>
11+
</source>
12+
<destination queryName="target2" schemaName="etltest" targetOption="truncate"/>
13+
</transform>
14+
</transforms>
15+
<schedule>
16+
<poll interval="5s"/>
17+
</schedule>
18+
</etl>

0 commit comments

Comments
 (0)