diff options
author | alain <108417558+alain-kermis-sonarsource@users.noreply.github.com> | 2022-10-27 14:08:20 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-10-27 20:03:02 +0000 |
commit | 83bd18d97d9d8e0b858875b253bc52efff70e810 (patch) | |
tree | 6984dfa8964d739eafa615aa9434cb933a899f3e /sonar-ws | |
parent | 0806043b590e1d0f3bf08c4d88627dc9bb6cf913 (diff) | |
download | sonarqube-83bd18d97d9d8e0b858875b253bc52efff70e810.tar.gz sonarqube-83bd18d97d9d8e0b858875b253bc52efff70e810.zip |
SONAR-17497 Add web service to reindex issues
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java index bd8295956c5..a607c6c8c18 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java @@ -195,6 +195,19 @@ public class IssuesService extends BaseService { /** * * This is part of the internal API. + * This is a POST request. + * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/issues/reindex">Further information about this action online (including a response example)</a> + * @since 9.8 + */ + public void reindex() { + call( + new PostRequest(path("reindex")) + .setMediaType(MediaTypes.JSON)).content(); + } + + /** + * + * This is part of the internal API. * This is a GET request. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/issues/search">Further information about this action online (including a response example)</a> * @since 3.6 |