From: Jacek Date: Mon, 10 Oct 2022 07:31:43 +0000 (+0200) Subject: SONAR-17194 Add changelog to `api/system/info` on 'Statistics' field removal X-Git-Tag: 9.7.0.61563~98 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b301174efd153ff8a82342cd5716a85637d2a775;p=sonarqube.git SONAR-17194 Add changelog to `api/system/info` on 'Statistics' field removal --- 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") ); }