From 998048b49419ec540f18a67e41c21a27375182c3 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Fri, 10 Nov 2023 14:42:07 +0100 Subject: [PATCH] - --- .../java/eu/dnetlib/dhp/oa/graph/dump/UtilCommunityAPI.java | 3 ++- .../dnetlib/dhp/oa/graph/dump/wf/main/oozie_app/workflow.xml | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/UtilCommunityAPI.java b/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/UtilCommunityAPI.java index 34b3ef0..30737e7 100644 --- a/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/UtilCommunityAPI.java +++ b/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/UtilCommunityAPI.java @@ -67,7 +67,8 @@ public class UtilCommunityAPI { .readValue(eu.dnetlib.dhp.communityapi.QueryCommunityAPI.communities(), CommunitySummary.class) .stream() .filter( - community -> (community.getStatus().equals("all") || community.getStatus().equalsIgnoreCase("public")) && + community -> (community.getStatus().equals("all") || community.getStatus().equalsIgnoreCase("public")) + && (community.getType().equals("ri") || community.getType().equals("community"))) .collect(Collectors.toList()); diff --git a/dump/src/main/resources/eu/dnetlib/dhp/oa/graph/dump/wf/main/oozie_app/workflow.xml b/dump/src/main/resources/eu/dnetlib/dhp/oa/graph/dump/wf/main/oozie_app/workflow.xml index e17c6ce..d0b7427 100644 --- a/dump/src/main/resources/eu/dnetlib/dhp/oa/graph/dump/wf/main/oozie_app/workflow.xml +++ b/dump/src/main/resources/eu/dnetlib/dhp/oa/graph/dump/wf/main/oozie_app/workflow.xml @@ -27,10 +27,6 @@ sourcePath the source path - - isLookUpUrl - the isLookup service endpoint - outputPath the output path