added record for testing normalizer on dating filter
This commit is contained in:
parent
9d778bf75b
commit
66a5677e88
|
@ -371,6 +371,26 @@ public class GraphDbReaderAndESIndexTest {
|
||||||
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
// @Ignore
|
||||||
|
public void uploadNormalizerAllUppercaseTest() throws Exception {
|
||||||
|
boolean isRecord = true;
|
||||||
|
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/E644B5AD-3DC2-3FEC-A070-B7FD434B0E90";
|
||||||
|
String datasource = "ads";
|
||||||
|
String collectionId = "304";
|
||||||
|
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
// @Ignore
|
||||||
|
public void uploadNormalizerMinusTest() throws Exception {
|
||||||
|
boolean isRecord = true;
|
||||||
|
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/9F96015D-84FA-3BDE-AE3C-90CF3CC7CEDB";
|
||||||
|
String datasource = "ads";
|
||||||
|
String collectionId = "1788";
|
||||||
|
readAndIndexTest(isRecord, recordId, datasource, collectionId);
|
||||||
|
}
|
||||||
|
|
||||||
private void readAndIndexTest(boolean isRecord, String recordId, String datasource, String collectionId) throws Exception {
|
private void readAndIndexTest(boolean isRecord, String recordId, String datasource, String collectionId) throws Exception {
|
||||||
final ClassPathResource resource = new ClassPathResource("application.properties");
|
final ClassPathResource resource = new ClassPathResource("application.properties");
|
||||||
Properties appProps = new Properties();
|
Properties appProps = new Properties();
|
||||||
|
|
Loading…
Reference in New Issue