diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2022-11-03 10:37:39 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-11-03 20:03:33 +0000 |
commit | 5af608fc74ed569941abc7e1633779ca3c078d4a (patch) | |
tree | ccfeb5888faebd472811701ef3de59a9607640dd /server/sonar-webserver-webapi | |
parent | 92b05aba6c1c00989bb64163c61da7ca4255383b (diff) | |
download | sonarqube-5af608fc74ed569941abc7e1633779ca3c078d4a.tar.gz sonarqube-5af608fc74ed569941abc7e1633779ca3c078d4a.zip |
SONAR-17502 Deprecate documentationPath field for plugins/installed endpoint
Diffstat (limited to 'server/sonar-webserver-webapi')
2 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/plugins/ws/InstalledAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/plugins/ws/InstalledAction.java index ed824818842..92660a22639 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/plugins/ws/InstalledAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/plugins/ws/InstalledAction.java @@ -84,6 +84,7 @@ public class InstalledAction implements PluginsWsAction { "Requires authentication.") .setSince("5.2") .setChangelog( + new Change("9.8", "The 'documentationPath' field is deprecated"), new Change("9.7", "Authentication check added"), new Change("8.0", "The 'documentationPath' field is added"), new Change("7.0", "The fields 'compressedHash' and 'compressedFilename' are added"), diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/plugins/ws/PendingAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/plugins/ws/PendingAction.java index fc178005a86..f07ad99f47d 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/plugins/ws/PendingAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/plugins/ws/PendingAction.java @@ -71,7 +71,10 @@ public class PendingAction implements PluginsWsAction { .setDescription("Get the list of plugins which will either be installed or removed at the next startup of the SonarQube instance, sorted by plugin name.<br/>" + "Require 'Administer System' permission.") .setSince("5.2") - .setChangelog(new Change("8.0", "The 'documentationPath' field is added")) + .setChangelog( + new Change("9.8", "The 'documentationPath' field is deprecated"), + new Change("8.0", "The 'documentationPath' field is added") + ) .setHandler(this) .setResponseExample(this.getClass().getResource("example-pending_plugins.json")); } |