Skip to content

Commit

Permalink
Another test ETL for remote source (#2278)
Browse files Browse the repository at this point in the history
- Add new ETL
- Fix remote ETLs
  • Loading branch information
labkey-martyp authored Feb 16, 2025
1 parent 9e2ab1f commit e06107a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<name>Remote connection with target option</name>
<description>User Defined ETL</description>
<transforms>
<transform id="step1forEditTest" type="org.labkey.di.pipeline.TransformTask">
<transform id="step1forEditTest" type="RemoteQueryTransformStep">
<description>Copy to target via remote connection</description>
<source queryName="source" remoteSource="EtlTest_RemoteConnection" schemaName="etltest"/>
<destination queryName="target2" schemaName="etltest" targetOption="merge"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<name>Remote connection with target option and sourceFilter</name>
<description>User Defined ETL With Filter</description>
<transforms>
<transform id="step1forEditTest" type="org.labkey.di.pipeline.TransformTask">
<transform id="step1forEditTest" type="RemoteQueryTransformStep">
<description>Copy to target via remote connection</description>
<source queryName="source" remoteSource="EtlTest_RemoteConnection" schemaName="etltest">
<sourceFilters>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<etl xmlns="http://labkey.org/etl/xml">
<name>Remote connection with truncate target option, sourceFilter and no incremental filter</name>
<description>User Defined ETL With Filter</description>
<transforms>
<transform id="step1forEditTest" type="RemoteQueryTransformStep">
<description>Copy to target via remote connection</description>
<source queryName="source" remoteSource="EtlTest_RemoteConnection" schemaName="etltest">
<sourceFilters>
<sourceFilter column="name" operator="neqornull" value="Patient 16"/>
</sourceFilters>
</source>
<destination queryName="target2" schemaName="etltest" targetOption="truncate"/>
</transform>
</transforms>
<schedule>
<poll interval="5s"/>
</schedule>
</etl>

0 comments on commit e06107a

Please sign in to comment.