aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db/src/test/java/org/sonar/db/purge
Commit message (Collapse)AuthorAgeFilesLines
* split sonar-db into server/sonar-db-core and server/sonar-db-daoSébastien Lesaint2017-02-1711-1028/+0
|
* SONAR-8637 Update POM parent versionTeryk Bellahsene2017-02-1011-22/+22
|
* SONAR-8595 enforce organization of component is specified in UTsSébastien Lesaint2017-01-161-2/+2
| | | | for UTs using ComponentTesting and/or ComponentDbTester
* SONAR-8353 purge webhook deliveries when deleting projectSimon Brandhof2016-11-141-0/+12
|
* SONAR-7678 server-side stateless settingsSimon Brandhof2016-09-061-2/+3
| | | | | | | | | | | | | | | | | | | | * Settings class becomes abstract as multiple implementations are used. Can't become an interface for binary backward-compatibility of API * tests should use MapSettings, an in-memory implementation of Settings * web server uses a thread-specific cache of settings when processing HTTP requests * web server does not have a cache of settings during startup, except for the system settings loaded from sonar.properties * Compute Engine uses a thread-specific cache of settings when processing a task. Cache is clear at end of task. * some useless methods of PersistentSettings are removed
* SONAR-7911 don't clean SCANNER_CONTEXT in purge of analysisSébastien Lesaint2016-08-291-21/+0
|
* SONAR-7844 ScannerContextDao => CeScannerContextDaoSébastien Lesaint2016-08-291-1/+1
|
* SONAR-7911 purge scanner_context table when analysis is deletedSébastien Lesaint2016-08-221-6/+31
|
* remove dead code in PurgeCommandSébastien Lesaint2016-08-221-21/+0
|
* SONAR-7700 re-enable ignored UTs on PurgeDaoSébastien Lesaint2016-07-111-17/+7
|
* SONAR-7700 use "B columns" strategy for update of PROJECTSSimon Brandhof2016-07-112-10/+17
| | | | | B columns are used to keep changes in a "functional" transaction but not a DB transaction
* SONAR-7705 stop using SNAPSHOTS tree columns in Java codebaseSimon Brandhof2016-07-062-1/+4
|
* SONAR-7705 remove dead code and dead sql in purgeSébastien Lesaint2016-07-042-13/+13
|
* SONAR-7705 remove Orphan components directly from the rootSébastien Lesaint2016-07-042-13/+15
|
* SONAR-7705 purge: delete measures of FILE and DIR via analysis uuidSébastien Lesaint2016-07-041-1/+1
|
* SONAR-7705 ProjectCleaner now deal with analyses (not snapshots)Sébastien Lesaint2016-07-041-42/+21
|
* SONAR-7705 use uuid in PurgeMapper.deleteSnapshotsSébastien Lesaint2016-07-041-0/+9
|
* SONAR-7705 take deleteAnalyses out of PurgeCommands.deleteComponentsSébastien Lesaint2016-07-041-4/+21
|
* SONAR-7705 remove work Resource from PurgeMapper and use uuidsSébastien Lesaint2016-07-041-3/+5
|
* remove unused PurgeDao#purge overrideSébastien Lesaint2016-07-041-7/+14
|
* remove ids from PurgeSnapshotQuerySébastien Lesaint2016-07-048-72/+72
| | | | in addition, PurgeDao#selectPurgeableSnapshots renamed to selectPurgeableAnalyses and it returns only root snapshots (ie. analyses)
* remove unused PurgeDao.deleteSnapshots(PurgeSnapshotQuery,PurgeProfiler)Sébastien Lesaint2016-07-041-1/+1
|
* SONAR-7690 support EVENTS.ANALYSIS_UUID in codeSébastien Lesaint2016-06-277-59/+51
|
* SONAR-7689 support DUPLICATIONS_INDEX.ANALYSIS_UUID in codeSébastien Lesaint2016-06-221-5/+5
|
* SONAR-7693 support removal of ID columns in SNAPSHOTSSébastien Lesaint2016-06-143-5/+5
|
* SONAR-7653 upgrade to Elasticsearch 2.3.3Simon Brandhof2016-05-311-11/+16
|
* Refactor scope of DbTesterSimon Brandhof2016-05-241-5/+0
| | | | | | so that it is always @Rule but not @ClassRule. That allows to drop calls to truncateTables() from tests. Each db test is ensured to be isolated.
* SONAR-7175 Keep last snapshots in KeepOneFilterJulien Lancelot2016-05-121-2/+1
| | | | Last snapshot is now kept Instead of first snapshot
* SONAR-7108 Fix unpredictable behavior of UTJulien Lancelot2016-05-041-2/+8
|
* SONAR-7108 Delete Issues from index when purging old issuesJulien Lancelot2016-05-041-1/+7
| | | | Purge from index was already working when property 'sonar.dbcleaner.daysBeforeDeletingClosedIssues' was not equal to 0. Now it's working whatever the value is.
* SONAR-7466 Remove ACTION_PLANS table and related codeTeryk Bellahsene2016-03-251-1/+0
|
* Remove unused annotation @DbTestsSimon Brandhof2016-02-292-6/+2
|
* Replace SQL "count(*)" by "count(1)"Simon Brandhof2016-02-291-4/+4
| | | | It can have slight performance improvements on some databases.
* SONAR-7130 group deletion and purges of snapshots all togetherSébastien Lesaint2016-01-261-2/+1
| | | | avoid doing select requests between deletion/purges of snapshots
* Fix project title in copyright headersSimon Brandhof2016-01-1311-11/+11
|
* Upgrade to parent 26 and new copyright headersSimon Brandhof2016-01-0511-50/+44
|
* SONAR-6834 Purge CE_ACTIVITY when deleting a projectJulien Lancelot2015-10-272-2/+45
|
* Improve deletion of project to deal with subviews/tech projectsJulien Lancelot2015-10-021-0/+30
|
* Simplify deletion of a project in PurgeDaoJulien Lancelot2015-09-151-2/+6
| | | | | - Rename deleteResourceTree to deleteProject - deleteProject only takes a uuid as parameter (instead of a IdUUidPair)
* fix incomplete assertionsSébastien Lesaint2015-08-181-2/+2
|
* Rename remaining variables "sut" to "underTest" in testsSimon Brandhof2015-07-161-5/+5
|
* Rename variables "sut" to "underTest" in testsSimon Brandhof2015-07-161-11/+11
|
* Remove no more used PurgeDao.selectPurgeableFileUuids()Julien Lancelot2015-07-161-11/+3
|
* Refactor dao unit tests to use DbTester.create(System2)Julien Lancelot2015-07-072-71/+43
|
* Improve testability of DaoSimon Brandhof2015-07-062-48/+53
|
* Move some classes from sonar-server to sonar-dbSimon Brandhof2015-07-062-13/+15
|
* Extract module sonar-dbSimon Brandhof2015-07-0411-0/+977