From b301174efd153ff8a82342cd5716a85637d2a775 Mon Sep 17 00:00:00 2001 From: Jacek Date: Mon, 10 Oct 2022 09:31:43 +0200 Subject: [PATCH] SONAR-17194 Add changelog to `api/system/info` on 'Statistics' field removal --- .../org/sonar/server/platform/StandaloneSystemInfoWriter.java | 1 - .../src/main/java/org/sonar/server/platform/ws/InfoAction.java | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/StandaloneSystemInfoWriter.java b/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/StandaloneSystemInfoWriter.java index f5762f4602f..3ae5be33d8a 100644 --- a/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/StandaloneSystemInfoWriter.java +++ b/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/StandaloneSystemInfoWriter.java @@ -28,7 +28,6 @@ import org.sonar.server.ce.http.CeHttpClient; import org.sonar.server.health.Health; import org.sonar.server.health.HealthChecker; import org.sonar.server.telemetry.TelemetryDataJsonWriter; -import org.sonar.server.telemetry.TelemetryDataLoader; import static java.util.Arrays.stream; diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/platform/ws/InfoAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/platform/ws/InfoAction.java index 30059a7bd14..fb9571b901f 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/platform/ws/InfoAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/platform/ws/InfoAction.java @@ -50,7 +50,8 @@ public class InfoAction implements SystemWsAction { action.setChangelog( new Change("5.5", "Becomes internal to easily update result"), - new Change("8.3", "Becomes public") + new Change("8.3", "Becomes public"), + new Change("9.7", "'Statistics' field has been removed from response") ); } -- 2.39.5