-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from DiSSCo/feature/add-batching
Add batching to processing service
- Loading branch information
Showing
18 changed files
with
867 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/main/java/eu/dissco/core/digitalspecimenprocessor/domain/DigitalSpecimenRecordEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package eu.dissco.core.digitalspecimenprocessor.domain; | ||
|
||
import java.util.List; | ||
|
||
public record DigitalSpecimenRecordEvent( | ||
List<String> enrichmentList, | ||
DigitalSpecimenRecord digitalSpecimenRecord) { | ||
|
||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/eu/dissco/core/digitalspecimenprocessor/domain/ProcessResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package eu.dissco.core.digitalspecimenprocessor.domain; | ||
|
||
import java.util.List; | ||
|
||
public record ProcessResult( | ||
List<DigitalSpecimenRecord> equalSpecimens, | ||
List<UpdatedDigitalSpecimenTuple> changedSpecimens, | ||
List<DigitalSpecimenEvent> newSpecimens) { | ||
|
||
} |
6 changes: 6 additions & 0 deletions
6
...main/java/eu/dissco/core/digitalspecimenprocessor/domain/UpdatedDigitalSpecimenTuple.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package eu.dissco.core.digitalspecimenprocessor.domain; | ||
|
||
public record UpdatedDigitalSpecimenTuple(DigitalSpecimenRecord currentSpecimen, | ||
DigitalSpecimen digitalSpecimen) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.