]> source.dussan.org Git - sonarqube.git/commit
SONAR-17110 Register events on default quality profile updates
authorKlaudio Sinani <klaudio.sinani@sonarsource.com>
Tue, 4 Oct 2022 06:49:07 +0000 (08:49 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 12 Oct 2022 20:03:43 +0000 (20:03 +0000)
commite0f897e2673d97683ebaeb3751023cd14ea329fe
tree32622d95206175cf422926ccfdf44aecc49f1df0
parent687e4c8d3830ff68fe39f60d8db18e9afe007bc6
SONAR-17110 Register events on default quality profile updates

* SONAR-17110 Exit earlier if `activatedRules` & `activatedRules` are empty
* SONAR-17110 Add unit-tests for `QualityProfileDao#selectDefaultProfileUuid` method + remove logging
* SONAR-17110 Overall improvements
* SONAR-17110 Minor overall improvements
server/sonar-db-dao/src/main/java/org/sonar/db/project/ProjectDao.java
server/sonar-db-dao/src/main/java/org/sonar/db/project/ProjectMapper.java
server/sonar-db-dao/src/main/java/org/sonar/db/qualityprofile/QualityProfileDao.java
server/sonar-db-dao/src/main/java/org/sonar/db/qualityprofile/QualityProfileMapper.java
server/sonar-db-dao/src/main/resources/org/sonar/db/project/ProjectMapper.xml
server/sonar-db-dao/src/main/resources/org/sonar/db/qualityprofile/QualityProfileMapper.xml
server/sonar-db-dao/src/test/java/org/sonar/db/project/ProjectDaoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/qualityprofile/QualityProfileDaoTest.java
server/sonar-webserver-pushapi/src/main/java/org/sonar/server/pushapi/qualityprofile/QualityProfileChangeEventServiceImpl.java
server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/qualityprofile/QualityProfileChangeEventServiceImplTest.java