added workaround to include B2FIND
This commit is contained in:
parent
ff61dca84a
commit
d9993ee5a2
|
@ -77,7 +77,10 @@ public class SelectEoscResultsJobStep1 implements Serializable {
|
|||
.readPath(spark, inputPath, inputClazz)
|
||||
.filter(
|
||||
(FilterFunction<R>) r -> !r.getDataInfo().getDeletedbyinference() && !r.getDataInfo().getInvisible()
|
||||
&& r.getContext().stream().anyMatch(c -> c.getId().equals("eosc")))
|
||||
&& (r.getContext().stream().anyMatch(c -> c.getId().equals("eosc")) || r
|
||||
.getCollectedfrom()
|
||||
.stream()
|
||||
.anyMatch(cf -> cf.getValue().equalsIgnoreCase("B2FIND"))))
|
||||
|
||||
.map(
|
||||
(MapFunction<R, Result>) r -> (Result) ResultMapper
|
||||
|
|
Loading…
Reference in New Issue