]> source.dussan.org Git - sonarqube.git/commit
SONAR-22038 Support new SSL properties (#10987)
authorJulien HENRY <julien.henry@sonarsource.com>
Tue, 23 Apr 2024 07:22:26 +0000 (09:22 +0200)
committerMatteo Mara <matteo.mara@sonarsource.com>
Tue, 30 Apr 2024 08:58:03 +0000 (10:58 +0200)
commitce849ff5f214ccda873a9e43a8aa4827d37caf92
tree885186c6cb15e8733236042dee36e0d153875bf0
parentd42e73cd8ae1c41f60c828375561e9767d941570
SONAR-22038 Support new SSL properties (#10987)

* Move scanner HttpClient code in its own package
* Factorize the computation of the Sonar User Home
73 files changed:
build.gradle
sonar-scanner-engine/build.gradle
sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/DefaultScannerWsClient.java [deleted file]
sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalTempFolderProvider.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/PluginFiles.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerPluginInstaller.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerWsClient.java [deleted file]
sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerWsClientProvider.java [deleted file]
sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/SonarUserHome.java [new file with mode: 0644]
sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/SonarUserHomeProvider.java [new file with mode: 0644]
sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/SpringGlobalContainer.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/cache/DefaultAnalysisCacheLoader.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/http/DefaultScannerWsClient.java [new file with mode: 0644]
sonar-scanner-engine/src/main/java/org/sonar/scanner/http/ScannerWsClient.java [new file with mode: 0644]
sonar-scanner-engine/src/main/java/org/sonar/scanner/http/ScannerWsClientProvider.java [new file with mode: 0644]
sonar-scanner-engine/src/main/java/org/sonar/scanner/http/package-info.java [new file with mode: 0644]
sonar-scanner-engine/src/main/java/org/sonar/scanner/http/ssl/CertificateStore.java [new file with mode: 0644]
sonar-scanner-engine/src/main/java/org/sonar/scanner/http/ssl/SslConfig.java [new file with mode: 0644]
sonar-scanner-engine/src/main/java/org/sonar/scanner/http/ssl/package-info.java [new file with mode: 0644]
sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/qualitygate/QualityGateCheck.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ReportPublisher.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/DefaultMetricsRepositoryLoader.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/DefaultNewCodePeriodLoader.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/DefaultProjectRepositoriesLoader.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/DefaultQualityProfileLoader.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/language/DefaultLanguagesLoader.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/settings/AbstractSettingsLoader.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/settings/DefaultGlobalSettingsLoader.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/settings/DefaultProjectSettingsLoader.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/rule/DefaultActiveRulesLoader.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/DeprecatedPropertiesWarningGenerator.java
sonar-scanner-engine/src/main/resources/logback.xml
sonar-scanner-engine/src/main/resources/org/sonar/batch/bootstrapper/logback.xml
sonar-scanner-engine/src/test/java/org/sonar/scanner/WsTestUtil.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/DefaultScannerWsClientTest.java [deleted file]
sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/GlobalTempFolderProviderTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/PluginFilesTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/ScannerPluginInstallerTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/ScannerWsClientProviderTest.java [deleted file]
sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/SonarUserHomeProviderTest.java [new file with mode: 0644]
sonar-scanner-engine/src/test/java/org/sonar/scanner/cache/DefaultAnalysisCacheLoaderTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/http/DefaultScannerWsClientTest.java [new file with mode: 0644]
sonar-scanner-engine/src/test/java/org/sonar/scanner/http/ScannerWsClientProviderTest.java [new file with mode: 0644]
sonar-scanner-engine/src/test/java/org/sonar/scanner/platform/DefaultServerTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/qualitygate/QualityGateCheckTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/report/ReportPublisherTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/repository/DefaultMetricsRepositoryLoaderTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/repository/DefaultNewCodePeriodLoaderTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/repository/DefaultProjectRepositoriesLoaderTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/repository/DefaultQualityProfileLoaderTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/repository/language/DefaultLanguagesRepositoryTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/repository/settings/DefaultGlobalSettingsLoaderTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/repository/settings/DefaultProjectSettingsLoaderTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/rule/DefaultActiveRulesLoaderTest.java
sonar-scanner-engine/src/test/resources/ssl/README.md [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/ca-client-auth.crt [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/ca-client-auth.key [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/ca.crt [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/ca.key [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/client-truststore.p12 [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/client.csr [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/client.key [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/client.p12 [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/client.pem [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/openssl-client-auth.conf [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/openssl.conf [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/server-with-client-ca.p12 [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/server.csr [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/server.key [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/server.p12 [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/server.pem [new file with mode: 0644]
sonar-scanner-engine/src/test/resources/ssl/v3.ext [new file with mode: 0644]