diff --git a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/graph/Constants.java b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/graph/Constants.java index 41eb172de8..9fd8f70484 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/graph/Constants.java +++ b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/graph/Constants.java @@ -27,5 +27,5 @@ public class Constants implements Serializable { public static final String HARVESTED = "Harvested"; public static final String DEFAULT_TRUST = "0.9"; - public static final String FUNDER_DS = "entityregistry::projects"; + // public static final String FUNDER_DS = "entityregistry::projects"; } diff --git a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/graph/DumpGraphEntities.java b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/graph/DumpGraphEntities.java index 58c8e73682..81b83e54f7 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/graph/DumpGraphEntities.java +++ b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/graph/DumpGraphEntities.java @@ -103,13 +103,13 @@ public class DumpGraphEntities implements Serializable { private static Datasource mapDatasource(eu.dnetlib.dhp.schema.oaf.Datasource d) { Datasource datasource = new Datasource(); - Optional odstype = Optional.ofNullable(d.getDatasourcetype()); - - if(odstype.isPresent()){ - if (odstype.get().getClassid().equals(Constants.FUNDER_DS)){ - return null; - } - } +// Optional odstype = Optional.ofNullable(d.getDatasourcetype()); +// +// if(odstype.isPresent()){ +// if (odstype.get().getClassid().equals(Constants.FUNDER_DS)){ +// return null; +// } +// } datasource.setId(d.getId());