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
|
r
|
||||||
.getCollectedfrom()
|
.getCollectedfrom()
|
||||||
.stream()
|
.stream()
|
||||||
.anyMatch(cf -> cf.getValue().equalsIgnoreCase("B2FIND")))
|
.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("ARCHE")) ||
|
||||||
r
|
r
|
||||||
.getInstance()
|
.getInstance()
|
||||||
.stream()
|
.stream()
|
||||||
.anyMatch(i -> i.getHostedby().getValue().equalsIgnoreCase("LINDAT/CLARIN repository"))
|
.anyMatch(i -> i.getHostedby().getValue().equalsIgnoreCase("LINDAT/CLARIN repository"))
|
||||||
||
|
||
|
||||||
r
|
r
|
||||||
.getInstance()
|
.getInstance()
|
||||||
.stream()
|
.stream()
|
||||||
.anyMatch(
|
.anyMatch(
|
||||||
i -> i.getHostedby().getValue().equalsIgnoreCase("Publications at Bielefeld University")))
|
i -> i
|
||||||
|
.getHostedby()
|
||||||
|
.getValue()
|
||||||
|
.equalsIgnoreCase("Publications at Bielefeld University"))))
|
||||||
|
|
||||||
.map(
|
.map(
|
||||||
(MapFunction<R, Result>) r -> (Result) ResultMapper
|
(MapFunction<R, Result>) r -> (Result) ResultMapper
|
||||||
|
|
Loading…
Reference in New Issue