Search in sources :

Example 1 with BlackDuckRequestFactory

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);
}
Also used : NoThreadExecutorService(com.synopsys.integration.util.NoThreadExecutorService) IntEnvironmentVariables(com.synopsys.integration.util.IntEnvironmentVariables) BlackDuckRequestFactory(com.synopsys.integration.blackduck.http.BlackDuckRequestFactory) ExecutorService(java.util.concurrent.ExecutorService) NoThreadExecutorService(com.synopsys.integration.util.NoThreadExecutorService) Gson(com.google.gson.Gson) BlackDuckServicesFactory(com.synopsys.integration.blackduck.service.BlackDuckServicesFactory)

Aggregations

Gson (com.google.gson.Gson)1 BlackDuckRequestFactory (com.synopsys.integration.blackduck.http.BlackDuckRequestFactory)1 BlackDuckServicesFactory (com.synopsys.integration.blackduck.service.BlackDuckServicesFactory)1 IntEnvironmentVariables (com.synopsys.integration.util.IntEnvironmentVariables)1 NoThreadExecutorService (com.synopsys.integration.util.NoThreadExecutorService)1 ExecutorService (java.util.concurrent.ExecutorService)1