Collector Plugin for Thanados and support for collections in collections #3
|
@ -18,12 +18,14 @@ import org.eclipse.rdf4j.repository.manager.RemoteRepositoryManager;
|
||||||
import org.eclipse.rdf4j.rio.RDFFormat;
|
import org.eclipse.rdf4j.rio.RDFFormat;
|
||||||
import org.eclipse.rdf4j.rio.RDFWriter;
|
import org.eclipse.rdf4j.rio.RDFWriter;
|
||||||
import org.eclipse.rdf4j.rio.Rio;
|
import org.eclipse.rdf4j.rio.Rio;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.springframework.core.io.ClassPathResource;
|
import org.springframework.core.io.ClassPathResource;
|
||||||
|
|
||||||
import java.io.StringWriter;
|
import java.io.StringWriter;
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
|
|
||||||
|
@Ignore
|
||||||
public class GraphDbReaderTest {
|
public class GraphDbReaderTest {
|
||||||
|
|
||||||
private static final Log log = LogFactory.getLog(GraphDbReaderTest.class);
|
private static final Log log = LogFactory.getLog(GraphDbReaderTest.class);
|
||||||
|
@ -86,9 +88,10 @@ public class GraphDbReaderTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean openConnection() throws Exception {
|
private boolean openConnection() throws Exception {
|
||||||
|
|
||||||
manager = new RemoteRepositoryManager(getGraphDBUrl());
|
manager = new RemoteRepositoryManager(getGraphDBUrl());
|
||||||
manager.init();
|
manager.init();
|
||||||
manager.setUsernameAndPassword(getUsername(), getPwd());
|
// manager.setUsernameAndPassword(getUsername(), getPwd());
|
||||||
try {
|
try {
|
||||||
repository = manager.getRepository(getGraphDBRepository());
|
repository = manager.getRepository(getGraphDBRepository());
|
||||||
} catch (UnauthorizedException e) {
|
} catch (UnauthorizedException e) {
|
||||||
|
|
Loading…
Reference in New Issue