#--------------------------------------------------------------------------------------------------
# UPDATE CENTER
-# The Update Center requires an internet connection to request http://update.sonarsource.org
+# The Update Center requires an internet connection to request https://update.sonarsource.org
# It is enabled by default.
#sonar.updatecenter.activate=true
#--------------------------------------------------------------------------------------------------
# UPDATE CENTER
-# The Update Center requires an internet connection to request http://update.sonarsource.org
+# The Update Center requires an internet connection to request https://update.sonarsource.org
# It is enabled by default.
#sonar.updatecenter.activate=true
import org.sonar.updatecenter.common.UpdateCenterDeserializer.Mode;
/**
- * HTTP client to load data from the remote update center hosted at http://update.sonarsource.org.
+ * HTTP client to load data from the remote update center hosted at https://update.sonarsource.org.
*
* @since 2.4
*/
type = PropertyType.BOOLEAN),
@Property(
key = UpdateCenterClient.URL_PROPERTY,
- defaultValue = "http://update.sonarsource.org/update-center.properties",
+ defaultValue = "https://update.sonarsource.org/update-center.properties",
name = "Update Center URL",
category = "Update Center",
project = false,
2015.11.02 09:22:14 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SVN / 1.2 / d04c3cdb21f48905dd8300d1129ec90281aa6db2
2015.11.02 09:22:14 INFO web[o.s.s.d.m.DatabaseMigrator] Create database
2015.11.02 09:22:14 INFO web[o.s.s.p.RailsAppsDeployer] Deploying Ruby on Rails applications
-2015.11.02 09:22:15 INFO web[o.s.s.p.UpdateCenterClient] Update center: http://update.sonarsource.org/update-center.properties (no proxy)
+2015.11.02 09:22:15 INFO web[o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2015.11.02 09:22:15 INFO web[o.s.s.e.IndexCreator] Create index users
2015.11.02 09:22:15 INFO es[o.e.cluster.metadata] [sonar-1446452521489] [users] creating index, cause [api], templates [], shards [5]/[0], mappings []
2015.11.02 09:22:15 INFO web[o.s.s.e.IndexCreator] Create type users/user
public class UpdateCenterClientTest {
- static final String BASE_URL = "http://update.sonarsource.org";
+ static final String BASE_URL = "https://update.sonarsource.org";
UriReader reader;
Settings settings;
public void startServer() throws Exception {
reader = mock(UriReader.class);
settings = new Settings()
- .setProperty(UpdateCenterClient.URL_PROPERTY, BASE_URL)
- .setProperty(UpdateCenterClient.ACTIVATION_PROPERTY, true);
+ .setProperty(UpdateCenterClient.URL_PROPERTY, BASE_URL)
+ .setProperty(UpdateCenterClient.ACTIVATION_PROPERTY, true);
underTest = new UpdateCenterClient(reader, settings);
}
#--------------------------------------------------------------------------------------------------
# UPDATE CENTER
-# Update Center requires an internet connection to request http://update.sonarsource.org
+# Update Center requires an internet connection to request https://update.sonarsource.org
# It is enabled by default.
#sonar.updatecenter.activate=true