aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-05-26 11:42:49 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-05-26 19:08:14 +0200
commit981424daf18ee985438af28344b562d2471f3a50 (patch)
tree4a3283f279e1e9c51bc179d5395a1b06c828f53a /sonar-ws/src
parentfabe47ffc83b50609697e1825a656ffe711d3b57 (diff)
downloadsonarqube-981424daf18ee985438af28344b562d2471f3a50.tar.gz
sonarqube-981424daf18ee985438af28344b562d2471f3a50.zip
SONAR-8888 index active rules when creating organization
Diffstat (limited to 'sonar-ws/src')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java
index 6b874052273..9d3cf61c216 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java
@@ -74,7 +74,8 @@ public class QualityProfilesService extends BaseService {
.setParam(PARAM_DEFAULTS, request.getDefaults())
.setParam(PARAM_LANGUAGE, request.getLanguage())
.setParam(PARAM_PROFILE_NAME, request.getProfileName())
- .setParam(PARAM_PROJECT_KEY, request.getProjectKey()),
+ .setParam(PARAM_PROJECT_KEY, request.getProjectKey())
+ .setParam(PARAM_ORGANIZATION, request.getOrganizationKey()),
SearchWsResponse.parser());
}