Search in sources :

Example 1 with IntelligentPersistenceBatchRunner

use of com.synopsys.integration.blackduck.codelocation.intelligentpersistence.IntelligentPersistenceBatchRunner in project blackduck-common by blackducksoftware.

the class BlackDuckServicesFactory method createIntelligentPersistenceService.

public IntelligentPersistenceService createIntelligentPersistenceService() {
    Bdio2StreamUploader bdio2Uploader = new Bdio2StreamUploader(blackDuckApiClient, apiDiscovery, logger, ApiDiscovery.INTELLIGENT_PERSISTENCE_SCANS_PATH, IntelligentPersistenceService.CONTENT_TYPE);
    Bdio2FileUploadService bdio2FileUploadService = new Bdio2FileUploadService(blackDuckApiClient, apiDiscovery, logger, new Bdio2ContentExtractor(), bdio2Uploader);
    IntelligentPersistenceBatchRunner batchRunner = new IntelligentPersistenceBatchRunner(logger, executorService, bdio2FileUploadService);
    return new IntelligentPersistenceService(blackDuckApiClient, apiDiscovery, logger, batchRunner, createCodeLocationCreationService());
}
Also used : Bdio2FileUploadService(com.synopsys.integration.blackduck.bdio2.Bdio2FileUploadService) Bdio2ContentExtractor(com.synopsys.integration.blackduck.bdio2.util.Bdio2ContentExtractor) IntelligentPersistenceService(com.synopsys.integration.blackduck.codelocation.intelligentpersistence.IntelligentPersistenceService) IntelligentPersistenceBatchRunner(com.synopsys.integration.blackduck.codelocation.intelligentpersistence.IntelligentPersistenceBatchRunner) Bdio2StreamUploader(com.synopsys.integration.blackduck.bdio2.Bdio2StreamUploader)

Aggregations

Bdio2FileUploadService (com.synopsys.integration.blackduck.bdio2.Bdio2FileUploadService)1 Bdio2StreamUploader (com.synopsys.integration.blackduck.bdio2.Bdio2StreamUploader)1 Bdio2ContentExtractor (com.synopsys.integration.blackduck.bdio2.util.Bdio2ContentExtractor)1 IntelligentPersistenceBatchRunner (com.synopsys.integration.blackduck.codelocation.intelligentpersistence.IntelligentPersistenceBatchRunner)1 IntelligentPersistenceService (com.synopsys.integration.blackduck.codelocation.intelligentpersistence.IntelligentPersistenceService)1