diff options
author | Belen Pruvost <belen.pruvost@sonarsource.com> | 2022-07-14 11:23:28 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-07-25 20:03:57 +0000 |
commit | 9b1a191c91a20d5551c290e8bab6460824f135e5 (patch) | |
tree | 1d9b9c7bf822280ee262afae36ffddcc144d9503 | |
parent | 34e8dfb83433a7a2d016131c9f1be7373bffb7be (diff) | |
download | sonarqube-9b1a191c91a20d5551c290e8bab6460824f135e5.tar.gz sonarqube-9b1a191c91a20d5551c290e8bab6460824f135e5.zip |
SONAR-16371 - Pull Taint ITs
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java | 17 |
1 files changed, 17 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 6c03868c425..bd8295956c5 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 @@ -319,4 +319,21 @@ public class IssuesService extends BaseService { .setParam("changedSince", request.getChangedSince()) ).contentStream(); } + + /** + * + * This is part of the internal API. + * This is a GET request. + * @see <a href="https://next.sonarqube.com/sonarqube/api/issues/pull_taint">Further information about this action online (including a response example)</a> + * @since 9.5 + */ + public InputStream pullTaint(PullRequest request) { + return call( + new GetRequest(path("pull_taint")) + .setParam("projectKey", request.getProjectKey()) + .setParam("branchName", request.getBranchName()) + .setParam("languages", request.getLanguages()) + .setParam("changedSince", request.getChangedSince()) + ).contentStream(); + } } |