From 1991a49f702e94c8c5935ec7d319759ff33c5a25 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Mon, 10 Aug 2020 18:02:56 +0200 Subject: [PATCH] removed reference to isLookUp to get the communityMap --- .../dump/community/SparkDumpCommunityProducts.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/community/SparkDumpCommunityProducts.java b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/community/SparkDumpCommunityProducts.java index 419d078d7..6a1dced83 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/community/SparkDumpCommunityProducts.java +++ b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/community/SparkDumpCommunityProducts.java @@ -47,15 +47,8 @@ public class SparkDumpCommunityProducts implements Serializable { String communityMapPath = parser.get("communityMapPath"); - final String isLookUpUrl = parser.get("isLookUpUrl"); - log.info("isLookUpUrl: {}", isLookUpUrl); - Class inputClazz = (Class) Class.forName(resultClassName); - queryInformationSystem = new QueryInformationSystem(); - queryInformationSystem.setIsLookUp(Utils.getIsLookUpService(isLookUpUrl)); - CommunityMap communityMap = queryInformationSystem.getCommunityMap(); - DumpProducts dump = new DumpProducts(); dump @@ -63,11 +56,6 @@ public class SparkDumpCommunityProducts implements Serializable { isSparkSessionManaged, inputPath, outputPath, communityMapPath, inputClazz, CommunityResult.class, false); -// dump -// .run( -// isSparkSessionManaged, inputPath, outputPath, communityMap, inputClazz, CommunityResult.class, -// false); - } }