This commit is contained in:
Miriam Baglioni 2023-11-10 14:42:07 +01:00
parent 6c0ffd9824
commit 998048b494
2 changed files with 2 additions and 5 deletions

View File

@ -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());

View File

@ -27,10 +27,6 @@
<name>sourcePath</name>
<description>the source path</description>
</property>
<property>
<name>isLookUpUrl</name>
<description>the isLookup service endpoint</description>
</property>
<property>
<name>outputPath</name>
<description>the output path</description>