moved to openaire-solr-payload-mapper 1.0.2
This commit is contained in:
parent
fe2e496e1f
commit
ecf7f2ae33
10
pom.xml
10
pom.xml
|
@ -154,8 +154,8 @@
|
|||
<!-- DHP SCHEMAS -->
|
||||
<dependency>
|
||||
<groupId>eu.dnetlib.dhp</groupId>
|
||||
<artifactId>dhp-schemas</artifactId>
|
||||
<version>${dhp-schemas-version}</version>
|
||||
<artifactId>openaire-solr-payload-mapper</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
|
@ -168,12 +168,6 @@
|
|||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>eu.dnetlib.dhp</groupId>
|
||||
<artifactId>openaire-solr-payload-mapper</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Postgres Driver -->
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
|
|
|
@ -10,7 +10,6 @@ import static org.mockito.Mockito.verify;
|
|||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.solr.common.SolrInputDocument;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
|
@ -29,7 +28,7 @@ import eu.dnetlib.app.directindex.input.ResultEntry;
|
|||
import eu.dnetlib.dhp.schema.solr.SolrRecord;
|
||||
import eu.dnetlib.dhp.solr.mapping.SolrInputDocumentMapper;
|
||||
|
||||
@Disabled
|
||||
// @Disabled
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class SolrRecordMapperTest {
|
||||
|
||||
|
@ -159,8 +158,6 @@ class SolrRecordMapperTest {
|
|||
|
||||
final SolrRecord solrRecord = solrRecordMapper.toSolrRecord(result);
|
||||
|
||||
// System.out.println(solrRecord.getLinks().get(0).getFunding().getLevel1());
|
||||
|
||||
final String xml = XMLSolrSerializer.generateXML(solrRecord);
|
||||
|
||||
final SolrInputDocument solrInputDocumentMapper = SolrInputDocumentMapper.map(solrRecord, xml);
|
||||
|
|
Loading…
Reference in New Issue