]> source.dussan.org Git - sonarqube.git/commit
SONAR-6315 no indexing active rules in MassRegisterQualityProfiles 2010/head
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Tue, 9 May 2017 09:25:58 +0000 (11:25 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 12 May 2017 09:18:19 +0000 (11:18 +0200)
commit9e7cede058c62b5785f5619b90d5e93331929871
treee702fddf153397bc0397af2fb9d7fd902a2f7aea
parent701d8fad28b2b10f5e12eb76de895b77c9cab54c
SONAR-6315 no indexing active rules in MassRegisterQualityProfiles

there is no need to index active rules at all during registration of Quality Profile as only deactivation changes trigger changes in the Active Rule index and registering quality profiles only activates active rules
removal of this indexing in RegisterQualityProfiles can't be done now as it requires to make initial indexing of Active Rule index when it doesn't exist be handled by another piece of code
server/sonar-server/src/main/java/org/sonar/server/qualityprofile/DefinedQProfileInsert.java
server/sonar-server/src/main/java/org/sonar/server/qualityprofile/DefinedQProfileInsertImpl.java
server/sonar-server/src/main/java/org/sonar/server/qualityprofile/MassRegisterQualityProfiles.java