From d1d92c4d8c07caa363d9c8e6e3176a0ac0cd9ed4 Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Thu, 11 Jun 2020 10:12:00 +0200 Subject: [PATCH] fixed integration of claims in the graph --- .../main/java/eu/dnetlib/dhp/oa/graph/clean/OafNavigator.java | 4 ++++ .../dnetlib/dhp/oa/graph/raw/GenerateEntitiesApplication.java | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/OafNavigator.java diff --git a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/OafNavigator.java b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/OafNavigator.java new file mode 100644 index 000000000..c329a3111 --- /dev/null +++ b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/OafNavigator.java @@ -0,0 +1,4 @@ +package eu.dnetlib.dhp.oa.graph.clean; + +public class OafNavigator { +} diff --git a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/raw/GenerateEntitiesApplication.java b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/raw/GenerateEntitiesApplication.java index f52587d73..3568dc52a 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/raw/GenerateEntitiesApplication.java +++ b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/raw/GenerateEntitiesApplication.java @@ -141,8 +141,10 @@ public class GenerateEntitiesApplication { switch (type.toLowerCase()) { case "oaf-store-cleaned": + case "oaf-store-claim": return new OafToOafMapper(vocs, false).processMdRecord(s); case "odf-store-cleaned": + case "odf-store-claim": return new OdfToOafMapper(vocs, false).processMdRecord(s); case "oaf-store-intersection": return new OafToOafMapper(vocs, true).processMdRecord(s);