use of org.commonjava.maven.galley.filearc.FileTransportConfig in project galley by Commonjava.
the class TestCDIProvider method start.
@PostConstruct
public void start() {
try {
temp.create();
cacheProvider = new PartyLineCacheProvider(temp.newFolder(), pathGenerator, eventManager, transferDecorator);
fileTransportConfig = new FileTransportConfig(temp.newFolder(), pathGenerator);
} catch (IOException e) {
Assert.fail("Failed to init temp folder fro file cache.");
}
locationExpander = new NoOpLocationExpander();
locationResolver = new SimpleUrlLocationResolver(locationExpander, transportManager);
globalHttpConfiguration = new GlobalHttpConfiguration();
weftConfig = new DefaultWeftConfig();
}
Aggregations