aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-dbcleaner-plugin/src/test
Commit message (Collapse)AuthorAgeFilesLines
* SONAR-5628 - Compute Engine - Move DbCleanerTeryk Bellahsene2014-10-277-522/+0
|
* Fix UTJulien Lancelot2014-06-201-1/+1
|
* Improve unit testJulien Lancelot2014-06-201-12/+22
|
* Fix compatibility of hamcrest with java 6Simon Brandhof2014-06-203-44/+29
|
* Upgrade hamcrest and fix conflicts with JUnit and MockitoSimon Brandhof2014-06-202-4/+4
|
* Update copyright headers (replace 2013 by 2014)Simon Brandhof2014-03-117-7/+7
|
* Change order of DBCleaner propertiesSimon Brandhof2013-06-062-4/+4
|
* Fix some quality flawsJulien HENRY2013-05-311-7/+12
|
* SONAR-4308 Update the DBCleaner mechanism to purge closed issues after X weeksSimon Brandhof2013-05-241-9/+27
|
* Replace hamcrest by fest-assertSimon Brandhof2013-05-031-3/+2
|
* Revert Rename PropertyDefinitions to PropertyDefs and ↵Julien Lancelot2013-04-251-3/+3
| | | | PropertyFieldDefinition to PropertyFieldDef
* Rename PropertyDefinitions to PropertyDefs and PropertyFieldDefinition to ↵Julien Lancelot2013-04-241-6/+4
| | | | PropertyFieldDef
* Update copyright headersSimon Brandhof2013-04-227-28/+28
|
* SONAR-4252 rename Sonar to SonarQube in source headersSimon Brandhof2013-04-217-21/+21
|
* SONAR-4147 Implemented profiling of purgeJulien HENRY2013-04-171-6/+26
| | | | + minor changes like display of percents
* Remove deprecated and unused API of dbcleaner pluginSimon Brandhof2013-03-153-347/+0
|
* Technical debt : Replace BaseMatcher with ArgumentMatcherDavid Gageot2012-05-251-10/+10
|
* Remove warningsDavid Gageot2012-04-272-15/+6
|
* Do not use deprecated rule categories (column MEASURES.RULES_CATEGORY_ID, ↵Simon Brandhof2012-03-152-2/+0
| | | | table RULES_CATEGORY_ID), but keep them in API for backward-compatibility
* Improve batch execution of DELETE statements in PurgeDaoSimon Brandhof2012-03-051-2/+17
|
* Improve purge tasks of DbCleanerSimon Brandhof2012-03-051-2/+2
| | | | | * improve logs * decrease the nb of SQL requests required to purge aborted builds and historical data of directories/files
* Add unit tests and fix some quality flawsSimon Brandhof2012-02-201-0/+77
|
* SONAR-3208 use PERSON_ID instead of COMMITTER in PROJECT_MEASURES and ↵Simon Brandhof2012-02-152-16/+16
| | | | RULE_FAILURES
* SONAR-3208 complete database tablesSimon Brandhof2012-02-143-12/+12
| | | | | * add PROJECTS.PERSON_ID * create the table AUTHORS
* Improve the component org.sonar.dbcleaner.api.PurgeTaskSimon Brandhof2012-02-141-3/+3
| | | | | * add javadoc * use simple and generic method names
* SONAR-3120 Resources associated to a module which has been removed from a ↵Simon Brandhof2012-02-141-20/+5
| | | | multi-module project are never purged
* SONAR-2754 change default value of sonar.dbcleaner.cleanDirectorySimon Brandhof2012-02-071-3/+3
|
* Add column PROJECT_MEASURES.COMMITTEREvgeny Mandrikov2012-02-012-0/+8
|
* Do not delete snapshots with eventsSimon Brandhof2012-01-301-2/+2
|
* SONAR-2807 fix support of period cleaner over multiple yearsSimon Brandhof2012-01-301-5/+24
|
* SONAR-2757 extract purge task into a dedicated componentSimon Brandhof2012-01-272-23/+12
|
* SONAR-2757 purge errors should not fail the buildSimon Brandhof2012-01-2739-2462/+91
|
* SONAR-2757 do not delete events on profile changesSimon Brandhof2012-01-271-2/+2
|
* SONAR-2807 + SONAR-3219 : improve the DBCleaner pluginSimon Brandhof2012-01-2615-838/+248
| | | | | * Delete all the wasted data. Some snapshots have been ignored * Keep a single snapshot per day
* SONAR-2061 add the flag Metric#deleteHistoricalData. Default value is false.Simon Brandhof2012-01-258-8/+8
| | | | | * New column METRICS.DELETE_HISTORICAL_DATA (boolean, nullable) * Hidden core metrics and some data metrics have this new field to true
* SONAR-2757 Refactor the purge mechanisms to prevent any fullscan SQL ↵Simon Brandhof2012-01-251-1/+1
| | | | requests on snapshots table
* Move some purge tasks to MyBatissimonbrandhof2012-01-2415-592/+83
| | | | | SONAR-2754 add the parameter sonar.dbcleaner.cleanDirectoryHistory SONAR-2757 remove fullscan requests on the table SNAPSHOTS
* SONAR-2757 add the column SNAPSHOTS.PURGE_STATUS (INTEGER)Simon Brandhof2012-01-1926-172/+172
|
* SONAR-1707 Add the column SNAPSHOTS.BUILD_DATESimon Brandhof2012-01-1827-192/+192
|
* Update copyright header for this new yearSimon Brandhof2012-01-1022-22/+22
|
* Fix PurgeUtilsEvgeny Mandrikov2011-12-291-0/+39
| | | | | createQuery() and createNativeQuery() should be invoked as many times as commit(), because it starts new transaction
* SONAR-983 i18n, better purge, fix NPE when deleted resourcesimonbrandhof2011-12-213-11/+2
|
* SONAR-3090 Fix purge for MySQLEvgeny Mandrikov2011-12-213-1/+3
|
* SONAR-983 resources are indexed during analysissimonbrandhof2011-12-202-2/+10
| | | | | | | * Rename the column RESOURCE_INDEX.PROJECT_ID to ROOT_PROJECT_ID * Increase the size of RESOURCE_INDEX.PROJECT_ID * Clean resource index from dbcleaner plugin * Experimental: indexes all the existing resources during upgrade from sonar < 2.13
* SONAR-3090 Remove DUPLICATIONS_INDEX.IDEvgeny Mandrikov2011-12-192-4/+4
| | | | | In order to do this - remove entity DuplicationBlock and use native query in PurgeUtils.
* SONAR-2973 replace RULE_FAILURES_OVERRIDDEN_SEVERITY by ↵Simon Brandhof2011-12-1212-90/+94
| | | | REVIEWS.MANUAL_SEVERITY (boolean)
* SONAR-2973 add the column RULE_FAILURES.OVERRIDDEN_SEVERITY (BOOLEAN)Simon Brandhof2011-12-0810-56/+60
| | | | The name is not really sexy. If true, then the violation severity has been explicitly changed by user so it must not be reset when analyzing project.
* Add RULE_FAILURES.COMMITTEREvgeny Mandrikov2011-12-0810-56/+56
| | | | | Note that this field is experimental and should not be used by plugins, even if it can be accessed via API classes.
* SONAR-1974 refactor tables RULE_FAILURES and REVIEWSSimon Brandhof2011-12-0212-107/+113
| | | | | | | * Rollback the previous changes on RULE_FAILURES : SNAPSHOT_ID NULLABLE and new column RESOURCE_ID * Add the columns REVIEWS.RULE_ID (nullable) and MANUAL_VIOLATION (boolean) * Add experimental MyBatis mapper for reviews * Add the fields manualViolation (boolean) and permanentId to org.sonar.api.rules.Violation
* SONAR-1974 Add RULE_FAILURES.RESOURCE_IDSimon Brandhof2011-11-2810-130/+268
|