test class merged

Merge branch 'master' of https://code-repo.d4science.org/D-Net/AriadnePlus
This commit is contained in:
Enrico Ottonello 2021-09-10 17:15:25 +02:00
commit 905226390c
1 changed files with 3 additions and 7 deletions

View File

@ -347,9 +347,7 @@ public class GraphDbReaderAndESIndexTest {
appProps.load(resource.getInputStream());
runSPQRLQuery = new RunSPARQLQueryService();
runSPQRLQuery.setupConnection(
appProps.getProperty("graphdb.writer.user"),
appProps.getProperty("graphdb.writer.pwd"),
runSPQRLQuery.setupReadOnlyConnection(
appProps.getProperty("graphdb.serverUrl"),
appProps.getProperty("graphdb.repository"));
ParseRDFJSON parseRDFJSON = new ParseRDFJSON();
@ -398,10 +396,8 @@ public class GraphDbReaderAndESIndexTest {
String datasource = "ads";
String collectionId = "271";
runSPQRLQuery = new RunSPARQLQueryService();
runSPQRLQuery.setupConnection(
appProps.getProperty("graphdb.writer.user"),
appProps.getProperty("graphdb.writer.pwd"),
appProps.getProperty("repository.url"),
runSPQRLQuery.setupReadOnlyConnection(
appProps.getProperty("graphdb.serverUrl"),
appProps.getProperty("graphdb.repository"));
runSPQRLQuery.selectRecordIds(datasource, collectionId);
}