diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2023-01-16 11:11:13 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-01-16 20:03:42 +0000 |
commit | e17e32e939418832f04b77d4f61569bc528db49f (patch) | |
tree | fb97b84067eca2ccd553d3072243321b6b3c6228 /server/sonar-webserver-webapi | |
parent | 512bc0b355e44ff095d1fd260662d1e7810fea68 (diff) | |
download | sonarqube-e17e32e939418832f04b77d4f61569bc528db49f.tar.gz sonarqube-e17e32e939418832f04b77d4f61569bc528db49f.zip |
SONAR-18205 Make web service 'analysis_cache/get' public
Diffstat (limited to 'server/sonar-webserver-webapi')
-rw-r--r-- | server/sonar-webserver-webapi/src/main/java/org/sonar/server/scannercache/ws/GetAction.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/scannercache/ws/GetAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/scannercache/ws/GetAction.java index b7dd817e4da..b704ddeb92c 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/scannercache/ws/GetAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/scannercache/ws/GetAction.java @@ -24,6 +24,7 @@ import java.io.OutputStream; import java.util.Arrays; import java.util.zip.GZIPInputStream; import org.apache.commons.io.IOUtils; +import org.sonar.api.server.ws.Change; import org.sonar.api.server.ws.Request; import org.sonar.api.server.ws.Response; import org.sonar.api.server.ws.WebService; @@ -61,9 +62,9 @@ public class GetAction implements AnalysisCacheWsAction { @Override public void define(WebService.NewController context) { WebService.NewAction action = context.createAction("get") - .setInternal(true) .setDescription("Get the scanner's cached data for a branch. Requires scan permission on the project. " + "Data is returned gzipped if the corresponding 'Accept-Encoding' header is set in the request.") + .setChangelog(new Change("9.9", "The web service is no longer internal")) .setSince("9.4") .setHandler(this); |