diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-05-26 11:42:49 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-05-26 19:08:14 +0200 |
commit | 981424daf18ee985438af28344b562d2471f3a50 (patch) | |
tree | 4a3283f279e1e9c51bc179d5395a1b06c828f53a /sonar-ws/src | |
parent | fabe47ffc83b50609697e1825a656ffe711d3b57 (diff) | |
download | sonarqube-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.java | 3 |
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()); } |