From 609eb711b3ced031665bd9d7aad95508218034cc Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Thu, 13 May 2021 16:13:28 +0200 Subject: [PATCH] IndexRecordTransformerTest for producing a record that can be manually submitted to solr --- .../dnetlib/dhp/oa/provision/IndexRecordTransformerTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dhp-workflows/dhp-graph-provision/src/test/java/eu/dnetlib/dhp/oa/provision/IndexRecordTransformerTest.java b/dhp-workflows/dhp-graph-provision/src/test/java/eu/dnetlib/dhp/oa/provision/IndexRecordTransformerTest.java index be5f75f05..e1ed4ffe4 100644 --- a/dhp-workflows/dhp-graph-provision/src/test/java/eu/dnetlib/dhp/oa/provision/IndexRecordTransformerTest.java +++ b/dhp-workflows/dhp-graph-provision/src/test/java/eu/dnetlib/dhp/oa/provision/IndexRecordTransformerTest.java @@ -30,6 +30,11 @@ import eu.dnetlib.dhp.schema.oaf.Publication; import eu.dnetlib.dhp.schema.oaf.Relation; import eu.dnetlib.dhp.utils.saxon.SaxonTransformerFactory; +/** + * This test can be used to produce a record that can be manually fed to Solr in XML format. + * + * The input is a JoinedEntity, i.e. a json representation of an OpenAIRE entity that embeds all the linked entities. + */ public class IndexRecordTransformerTest { public static final String VERSION = "2021-04-15T10:05:53Z";