removed the hack to insert B2FIND results in the dump

This commit is contained in:
Miriam Baglioni 2023-07-01 15:46:34 +02:00
parent e9766bd25b
commit 000c88dd79
1 changed files with 1 additions and 5 deletions

View File

@ -77,11 +77,7 @@ 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
.getCollectedfrom()
.stream()
.anyMatch(cf -> cf.getValue().equalsIgnoreCase("B2FIND"))))
&& r.getContext().stream().anyMatch(c -> c.getId().equals("eosc")))
.map(
(MapFunction<R, Result>) r -> (Result) ResultMapper
.map(r, communityMap),