]> source.dussan.org Git - sonarqube.git/commit
SONAR-8351 Configure HTTP proxy URL from bootstrap process
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 8 Nov 2016 14:30:44 +0000 (15:30 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 9 Nov 2016 19:46:58 +0000 (20:46 +0100)
commit64bbc7c5078cd0b2ac4251d4a8a407247065ccea
tree0b717d9cff9c3c1b9d50ebbc22d113383c177b73
parent15cd248b047daa72b37bf45b06f597ebab659187
SONAR-8351 Configure HTTP proxy URL from bootstrap process

Proxy is configured in conf/sonar.properties. The related properties
are propagated to system properties by the first call  to DefaultHttpDownloader.
The correct approach is to directly configure the JVM properties when
the bootstrap process creates web server and CE processes.
server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
sonar-application/src/main/java/org/sonar/application/App.java
sonar-application/src/test/java/org/sonar/application/AppTest.java
sonar-core/src/main/java/org/sonar/core/util/DefaultHttpDownloader.java
sonar-core/src/test/java/org/sonar/core/util/DefaultHttpDownloaderTest.java