use of com.synopsys.integration.blackduck.http.BlackDuckRequestFactory in project blackduck-docker-inspector by blackducksoftware.
the class BlackDuckClient method createBlackDuckServicesFactory.
private BlackDuckServicesFactory createBlackDuckServicesFactory(IntLogger intLogger, BlackDuckHttpClient httpConnection) {
IntEnvironmentVariables intEnvironmentVariables = IntEnvironmentVariables.empty();
ExecutorService executorService = new NoThreadExecutorService();
BlackDuckRequestFactory blackDuckRequestFactory = new BlackDuckRequestFactory();
return new BlackDuckServicesFactory(intEnvironmentVariables, new Gson(), BlackDuckServicesFactory.createDefaultObjectMapper(), executorService, httpConnection, intLogger, blackDuckRequestFactory);
}
Aggregations