From 1e7583c5a6c68e50a93362fad40c0633a393330a Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Thu, 23 Apr 2020 07:51:34 +0200 Subject: [PATCH] filtered invisible records in data provision workflow --- .../dhp/oa/provision/CreateRelatedEntitiesJob_phase2.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/CreateRelatedEntitiesJob_phase2.java b/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/CreateRelatedEntitiesJob_phase2.java index 20786582f8..eaa18ad0bc 100644 --- a/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/CreateRelatedEntitiesJob_phase2.java +++ b/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/CreateRelatedEntitiesJob_phase2.java @@ -216,6 +216,7 @@ public class CreateRelatedEntitiesJob_phase2 { (MapFunction) value -> OBJECT_MAPPER.readValue(value, entityClazz), Encoders.bean(entityClazz)) + .filter("dataInfo.invisible == false") .map( (MapFunction) value ->