add graphdb connection setup

pull/2/head
Enrico Ottonello 4 years ago
parent f88231ba18
commit 9174f4df14

@ -379,6 +379,7 @@ public class GraphDBClient {
List <String> identifiers = Collections.emptyList();
try {
log.info("Select "+resourceType+" Identifiers from "+ datasource + " " + collectionId);
runSPQRLQuery.setupConnection( getWriterUser(), getWriterPwd(), this.graphDBServerUrl, getRepository());
if (resourceType.equals("COLLECTION")) {
identifiers = runSPQRLQuery.selectCollectionIds(datasource, collectionId);
log.info(String.format("Found %d collections for datasource %s - %s", identifiers.size(), datasource, collectionId));

Loading…
Cancel
Save