fixed the condition to select results to appear in the eosc dump
This commit is contained in:
parent
e9d7271a1e
commit
5ddae012c1
|
@ -81,19 +81,22 @@ public class SelectEoscResultsJobStep1 implements Serializable {
|
|||
r
|
||||
.getCollectedfrom()
|
||||
.stream()
|
||||
.anyMatch(cf -> cf.getValue().equalsIgnoreCase("B2FIND")))
|
||||
||
|
||||
r.getInstance().stream().anyMatch(i -> i.getHostedby().getValue().equalsIgnoreCase("ARCHE")) ||
|
||||
r
|
||||
.getInstance()
|
||||
.stream()
|
||||
.anyMatch(i -> i.getHostedby().getValue().equalsIgnoreCase("LINDAT/CLARIN repository"))
|
||||
||
|
||||
r
|
||||
.getInstance()
|
||||
.stream()
|
||||
.anyMatch(
|
||||
i -> i.getHostedby().getValue().equalsIgnoreCase("Publications at Bielefeld University")))
|
||||
.anyMatch(cf -> cf.getValue().equalsIgnoreCase("B2FIND"))
|
||||
||
|
||||
r.getInstance().stream().anyMatch(i -> i.getHostedby().getValue().equalsIgnoreCase("ARCHE")) ||
|
||||
r
|
||||
.getInstance()
|
||||
.stream()
|
||||
.anyMatch(i -> i.getHostedby().getValue().equalsIgnoreCase("LINDAT/CLARIN repository"))
|
||||
||
|
||||
r
|
||||
.getInstance()
|
||||
.stream()
|
||||
.anyMatch(
|
||||
i -> i
|
||||
.getHostedby()
|
||||
.getValue()
|
||||
.equalsIgnoreCase("Publications at Bielefeld University"))))
|
||||
|
||||
.map(
|
||||
(MapFunction<R, Result>) r -> (Result) ResultMapper
|
||||
|
|
Loading…
Reference in New Issue