add graphdb connection setup
This commit is contained in:
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…
Reference in New Issue