master #11

Manually merged
claudio.atzori merged 275 commits from :master into enrichment_wfs 2020-05-11 15:14:56 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 24fa81d7e8 - Show all commits

View File

@ -28,7 +28,7 @@ public class SparkBulkTagJob2 {
String jsonConfiguration = String jsonConfiguration =
IOUtils.toString( IOUtils.toString(
SparkBulkTagJob2.class.getResourceAsStream( SparkBulkTagJob2.class.getResourceAsStream(
"/eu/dnetlib/dhp/input_bulktag_parameters.json")); "/eu/dnetlib/dhp/bulktag/input_bulktag_parameters.json"));
final ArgumentApplicationParser parser = new ArgumentApplicationParser(jsonConfiguration); final ArgumentApplicationParser parser = new ArgumentApplicationParser(jsonConfiguration);
@ -74,7 +74,7 @@ public class SparkBulkTagJob2 {
String taggingConf = parser.get("taggingConf"); String taggingConf = parser.get("taggingConf");
if (isTest) { if (isTest) {
cc = CommunityConfigurationFactory.fromJson(taggingConf); cc = CommunityConfigurationFactory.newInstance(taggingConf);
} else { } else {
cc = QueryInformationSystem.getCommunityConfiguration(parser.get("isLookupUrl")); cc = QueryInformationSystem.getCommunityConfiguration(parser.get("isLookupUrl"));
} }