|
|
|
@ -418,6 +418,15 @@ public class GraphDbReaderAndESIndexTest {
|
|
|
|
|
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void uploadINPTest() throws Exception {
|
|
|
|
|
boolean isRecord = true;
|
|
|
|
|
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/INPRAN/99C2A8A2-32A0-344D-9F41-FD8E7B2C21E3";
|
|
|
|
|
String datasource = "inp";
|
|
|
|
|
String collectionId = "sites";
|
|
|
|
|
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void readAndIndexTest(boolean isRecord, String recordId, String datasource, String collectionId) throws Exception {
|
|
|
|
|
final ClassPathResource resource = new ClassPathResource("application.properties");
|
|
|
|
|
Properties appProps = new Properties();
|
|
|
|
|