use of org.eclipse.rdf4j.repository.sail.config.ProxyRepositoryConfig in project rdf4j by eclipse.
the class LocalRepositoryManagerTest method setUp.
/**
* @throws java.lang.Exception
*/
@Before
public void setUp() throws Exception {
datadir = tempDir.newFolder("local-repositorymanager-test");
manager = new LocalRepositoryManager(datadir);
manager.initialize();
// Create configurations for the SAIL stack, and the repository
// implementation.
manager.addRepositoryConfig(new RepositoryConfig(TEST_REPO, new SailRepositoryConfig(new MemoryStoreConfig(true))));
// Create configuration for proxy repository to previous repository.
manager.addRepositoryConfig(new RepositoryConfig(PROXY_ID, new ProxyRepositoryConfig(TEST_REPO)));
}
Aggregations