aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2017-01-31 09:41:49 +0100
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2017-01-31 10:38:09 +0100
commit3c9ec8364571e24b3031a756d19993c03fb9a846 (patch)
tree5f4623834f495a26b10d6c59b7a3daa93b0d6617 /sonar-ws
parentd72c2fe6dcdd585af8b1cdb26e69d5b4a2162478 (diff)
downloadsonarqube-3c9ec8364571e24b3031a756d19993c03fb9a846.tar.gz
sonarqube-3c9ec8364571e24b3031a756d19993c03fb9a846.zip
fix OrganizationIt
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsService.java
index bd555b39a44..64bf9753360 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsService.java
@@ -58,6 +58,7 @@ public class ComponentsService extends BaseService {
public SearchWsResponse search(SearchWsRequest request) {
GetRequest get = new GetRequest(path(ACTION_SEARCH))
+ .setParam(PARAM_ORGANIZATION, request.getOrganization())
.setParam(PARAM_QUALIFIERS, Joiner.on(",").join(request.getQualifiers()))
.setParam(Param.PAGE, request.getPage())
.setParam(Param.PAGE_SIZE, request.getPageSize())