Skip to content

Commit

Permalink
add split condition to mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
nr23730 committed Feb 23, 2024
1 parent ac91d51 commit 46a2699
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/de/uksh/medic/etl/settings/Mapping.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public class Mapping {
private String sourceVersion;
private String target;
private String targetVersion;
private boolean split;

public String getSource() {
return source;
Expand Down Expand Up @@ -42,4 +43,12 @@ public void setTargetVersion(String targetVersion) {
this.targetVersion = targetVersion;
}

public boolean getSplit() {
return split;
}

public void setSplit(boolean split) {
this.split = split;
}

}
1 change: 1 addition & 0 deletions src/main/resources/settings.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ mapping:
sourceVersion: 1
target:
targetVersion: 1
split: false
depthLimit: 4

0 comments on commit 46a2699

Please sign in to comment.