]> source.dussan.org Git - sonarqube.git/commit
SONAR-2347 Close a review when its corresponding violation is fixed
authorFabrice Bellingard <bellingard@gmail.com>
Tue, 17 May 2011 09:02:32 +0000 (11:02 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Tue, 17 May 2011 09:02:32 +0000 (11:02 +0200)
commit964adbc73f14ac04385ac7037a1fffc4b819e732
tree6d05e09283788abe35a5899dc0cca97945e0423f
parent095ff83bb255b37cd31d60a12e8716af196b9fa0
SONAR-2347 Close a review when its corresponding violation is fixed

Update the DB Cleaner plugin to delete reviews and review comments
related to deleted projects.
plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DbCleanerPlugin.java
plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/purges/PurgeOrphanReviews.java [new file with mode: 0644]
plugins/sonar-dbcleaner-plugin/src/test/java/org/sonar/plugins/dbcleaner/purges/PurgeOrphanReviewsTest.java [new file with mode: 0644]
plugins/sonar-dbcleaner-plugin/src/test/resources/org/sonar/plugins/dbcleaner/purges/PurgeOrphanReviewsTest/purgeOrphanReviews-result.xml [new file with mode: 0644]
plugins/sonar-dbcleaner-plugin/src/test/resources/org/sonar/plugins/dbcleaner/purges/PurgeOrphanReviewsTest/purgeOrphanReviews.xml [new file with mode: 0644]
sonar-testing-harness/src/main/resources/org/sonar/test/persistence/sonar-test.ddl