forked from D-Net/dnet-hadoop
Added passing of the following parameters:
-varDataSourceId -varOfficialName in Each transformation Rule
This commit is contained in:
parent
073dcea2aa
commit
6424cd9062
|
@ -20,9 +20,9 @@ public class XSLTTransformationFunction implements MapFunction<MetadataRecord, M
|
|||
|
||||
public final static String QNAME_BASE_URI = "http://eu/dnetlib/transform";
|
||||
|
||||
private final static String DATASOURCE_ID_PARAM="varDataSourceId";
|
||||
private final static String DATASOURCE_ID_PARAM = "varDataSourceId";
|
||||
|
||||
private final static String DATASOURCE_NAME_PARAM="varOfficialName";
|
||||
private final static String DATASOURCE_NAME_PARAM = "varOfficialName";
|
||||
|
||||
private final AggregationCounter aggregationCounter;
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@ import java.util.Map;
|
|||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import eu.dnetlib.dhp.schema.mdstore.Provenance;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.spark.SparkConf;
|
||||
|
@ -28,6 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
|
|||
import eu.dnetlib.dhp.aggregation.AbstractVocabularyTest;
|
||||
import eu.dnetlib.dhp.aggregation.common.AggregationCounter;
|
||||
import eu.dnetlib.dhp.schema.mdstore.MetadataRecord;
|
||||
import eu.dnetlib.dhp.schema.mdstore.Provenance;
|
||||
import eu.dnetlib.dhp.transformation.xslt.DateCleaner;
|
||||
import eu.dnetlib.dhp.transformation.xslt.XSLTTransformationFunction;
|
||||
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpException;
|
||||
|
|
Loading…
Reference in New Issue