From 369ed1cd8a9a33d7e4a10d1d3cac9d44626f1be3 Mon Sep 17 00:00:00 2001 From: miconis Date: Tue, 13 Apr 2021 09:08:05 +0200 Subject: [PATCH] bug fix: lookupurl parameter added to dedup record job --- .../eu/dnetlib/dhp/oa/dedup/copyOpenorgs_parameters.json | 6 ++++++ .../eu/dnetlib/dhp/oa/dedup/SparkOpenorgsProvisionTest.java | 2 ++ 2 files changed, 8 insertions(+) diff --git a/dhp-workflows/dhp-dedup-openaire/src/main/resources/eu/dnetlib/dhp/oa/dedup/copyOpenorgs_parameters.json b/dhp-workflows/dhp-dedup-openaire/src/main/resources/eu/dnetlib/dhp/oa/dedup/copyOpenorgs_parameters.json index e45efca017..ceb80a52c2 100644 --- a/dhp-workflows/dhp-dedup-openaire/src/main/resources/eu/dnetlib/dhp/oa/dedup/copyOpenorgs_parameters.json +++ b/dhp-workflows/dhp-dedup-openaire/src/main/resources/eu/dnetlib/dhp/oa/dedup/copyOpenorgs_parameters.json @@ -22,5 +22,11 @@ "paramLongName": "numPartitions", "paramDescription": "number of partitions for the similarity relations intermediate phases", "paramRequired": false + }, + { + "paramName": "la", + "paramLongName": "isLookUpUrl", + "paramDescription": "the url for the lookup service", + "paramRequired": true } ] \ No newline at end of file diff --git a/dhp-workflows/dhp-dedup-openaire/src/test/java/eu/dnetlib/dhp/oa/dedup/SparkOpenorgsProvisionTest.java b/dhp-workflows/dhp-dedup-openaire/src/test/java/eu/dnetlib/dhp/oa/dedup/SparkOpenorgsProvisionTest.java index 9ff287c420..41f81547e2 100644 --- a/dhp-workflows/dhp-dedup-openaire/src/test/java/eu/dnetlib/dhp/oa/dedup/SparkOpenorgsProvisionTest.java +++ b/dhp-workflows/dhp-dedup-openaire/src/test/java/eu/dnetlib/dhp/oa/dedup/SparkOpenorgsProvisionTest.java @@ -161,6 +161,8 @@ public class SparkOpenorgsProvisionTest implements Serializable { testGraphBasePath, "-asi", testActionSetId, + "-la", + "lookupurl", "-w", testOutputBasePath });