Search in sources :

Example 6 with ScanPathsUtility

use of com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScanPathsUtility in project blackduck-common by blackducksoftware.

the class ScanBatchRunner method createDefault.

public static ScanBatchRunner createDefault(IntLogger logger, BlackDuckHttpClient blackDuckHttpClient, BlackDuckRegistrationService blackDuckRegistrationService, IntEnvironmentVariables intEnvironmentVariables, ExecutorService executorService, File signatureScannerInstallDirectory) {
    OperatingSystemType operatingSystemType = OperatingSystemType.determineFromSystem();
    ScanPathsUtility scanPathsUtility = new ScanPathsUtility(logger, intEnvironmentVariables, operatingSystemType);
    ScanCommandRunner scanCommandRunner = new ScanCommandRunner(logger, intEnvironmentVariables, scanPathsUtility, executorService);
    return ScanBatchRunner.createDefault(logger, blackDuckHttpClient, blackDuckRegistrationService, intEnvironmentVariables, scanPathsUtility, operatingSystemType, scanCommandRunner, signatureScannerInstallDirectory);
}
Also used : OperatingSystemType(com.synopsys.integration.util.OperatingSystemType) ScanPathsUtility(com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScanPathsUtility) ScanCommandRunner(com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScanCommandRunner)

Aggregations

ScanPathsUtility (com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScanPathsUtility)6 ScanCommandRunner (com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScanCommandRunner)5 BlackDuckRegistrationService (com.synopsys.integration.blackduck.service.dataservice.BlackDuckRegistrationService)4 ScannerZipInstaller (com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScannerZipInstaller)3 BlackDuckServerConfig (com.synopsys.integration.blackduck.configuration.BlackDuckServerConfig)3 BlackDuckHttpClient (com.synopsys.integration.blackduck.http.client.BlackDuckHttpClient)3 SignatureScannerClient (com.synopsys.integration.blackduck.http.client.SignatureScannerClient)3 KeyStoreHelper (com.synopsys.integration.blackduck.keystore.KeyStoreHelper)3 BlackDuckServicesFactory (com.synopsys.integration.blackduck.service.BlackDuckServicesFactory)3 CleanupZipExpander (com.synopsys.integration.util.CleanupZipExpander)3 IntEnvironmentVariables (com.synopsys.integration.util.IntEnvironmentVariables)3 OperatingSystemType (com.synopsys.integration.util.OperatingSystemType)3 BlackDuckServerConfigBuilder (com.synopsys.integration.blackduck.configuration.BlackDuckServerConfigBuilder)2 SignatureScannerLogger (com.synopsys.integration.detect.tool.signaturescanner.SignatureScannerLogger)2 BufferedIntLogger (com.synopsys.integration.log.BufferedIntLogger)2 Slf4jIntLogger (com.synopsys.integration.log.Slf4jIntLogger)2 HttpUrl (com.synopsys.integration.rest.HttpUrl)2 File (java.io.File)2 Test (org.junit.jupiter.api.Test)2 CodeLocationView (com.synopsys.integration.blackduck.api.generated.view.CodeLocationView)1