aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver
diff options
context:
space:
mode:
authorAlain Kermis <alain.kermis@sonarsource.com>2024-07-08 17:45:13 +0200
committersonartech <sonartech@sonarsource.com>2024-07-24 20:02:47 +0000
commited02521046020a37140eb84ec536c5cdf31e6d4b (patch)
treef772ac842043dc91aa412adc52e7fbd99b07d13f /server/sonar-webserver
parent2ab4e9ead92e6f6a64152424303b0d7f0feffe8a (diff)
downloadsonarqube-ed02521046020a37140eb84ec536c5cdf31e6d4b.tar.gz
sonarqube-ed02521046020a37140eb84ec536c5cdf31e6d4b.zip
SONAR-22479 Create new telemetry module
Diffstat (limited to 'server/sonar-webserver')
-rw-r--r--server/sonar-webserver/build.gradle1
-rw-r--r--server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java12
2 files changed, 7 insertions, 6 deletions
diff --git a/server/sonar-webserver/build.gradle b/server/sonar-webserver/build.gradle
index ab1bd8f4715..6b055e5d06a 100644
--- a/server/sonar-webserver/build.gradle
+++ b/server/sonar-webserver/build.gradle
@@ -19,6 +19,7 @@ dependencies {
api project(':server:sonar-auth-saml')
api project(':server:sonar-ce-task-projectanalysis')
api project(':server:sonar-process')
+ api project(':server:sonar-telemetry')
api project(':server:sonar-webserver-core')
api project(':server:sonar-webserver-webapi')
api project(':server:sonar-webserver-webapi-v2')
diff --git a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
index d773a9fb10f..39074ba7dba 100644
--- a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
+++ b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
@@ -259,12 +259,6 @@ import org.sonar.server.setting.SettingsChangeNotifier;
import org.sonar.server.setting.ws.SettingsWsModule;
import org.sonar.server.source.ws.SourceWsModule;
import org.sonar.server.startup.LogServerId;
-import org.sonar.server.telemetry.CloudUsageDataProvider;
-import org.sonar.server.telemetry.QualityProfileDataProvider;
-import org.sonar.server.telemetry.TelemetryClient;
-import org.sonar.server.telemetry.TelemetryDaemon;
-import org.sonar.server.telemetry.TelemetryDataJsonWriter;
-import org.sonar.server.telemetry.TelemetryDataLoaderImpl;
import org.sonar.server.ui.PageRepository;
import org.sonar.server.ui.WebAnalyticsLoaderImpl;
import org.sonar.server.ui.ws.NavigationWsModule;
@@ -287,6 +281,12 @@ import org.sonar.server.webhook.WebhookQGChangeEventListener;
import org.sonar.server.webhook.ws.WebhooksWsModule;
import org.sonar.server.ws.WebServiceEngine;
import org.sonar.server.ws.ws.WebServicesWsModule;
+import org.sonar.telemetry.deprecated.CloudUsageDataProvider;
+import org.sonar.telemetry.deprecated.QualityProfileDataProvider;
+import org.sonar.telemetry.deprecated.TelemetryClient;
+import org.sonar.telemetry.deprecated.TelemetryDaemon;
+import org.sonar.telemetry.deprecated.TelemetryDataJsonWriter;
+import org.sonar.telemetry.deprecated.TelemetryDataLoaderImpl;
import static org.sonar.core.extension.CoreExtensionsInstaller.noAdditionalSideFilter;
import static org.sonar.core.extension.PlatformLevelPredicates.hasPlatformLevel4OrNone;