Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | split sonar-db into server/sonar-db-core and server/sonar-db-dao | Sébastien Lesaint | 2017-02-17 | 11 | -1028/+0 |
| | |||||
* | SONAR-8637 Update POM parent version | Teryk Bellahsene | 2017-02-10 | 11 | -22/+22 |
| | |||||
* | SONAR-8595 enforce organization of component is specified in UTs | Sébastien Lesaint | 2017-01-16 | 1 | -2/+2 |
| | | | | for UTs using ComponentTesting and/or ComponentDbTester | ||||
* | SONAR-8353 purge webhook deliveries when deleting project | Simon Brandhof | 2016-11-14 | 1 | -0/+12 |
| | |||||
* | SONAR-7678 server-side stateless settings | Simon Brandhof | 2016-09-06 | 1 | -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 analysis | Sébastien Lesaint | 2016-08-29 | 1 | -21/+0 |
| | |||||
* | SONAR-7844 ScannerContextDao => CeScannerContextDao | Sébastien Lesaint | 2016-08-29 | 1 | -1/+1 |
| | |||||
* | SONAR-7911 purge scanner_context table when analysis is deleted | Sébastien Lesaint | 2016-08-22 | 1 | -6/+31 |
| | |||||
* | remove dead code in PurgeCommand | Sébastien Lesaint | 2016-08-22 | 1 | -21/+0 |
| | |||||
* | SONAR-7700 re-enable ignored UTs on PurgeDao | Sébastien Lesaint | 2016-07-11 | 1 | -17/+7 |
| | |||||
* | SONAR-7700 use "B columns" strategy for update of PROJECTS | Simon Brandhof | 2016-07-11 | 2 | -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 codebase | Simon Brandhof | 2016-07-06 | 2 | -1/+4 |
| | |||||
* | SONAR-7705 remove dead code and dead sql in purge | Sébastien Lesaint | 2016-07-04 | 2 | -13/+13 |
| | |||||
* | SONAR-7705 remove Orphan components directly from the root | Sébastien Lesaint | 2016-07-04 | 2 | -13/+15 |
| | |||||
* | SONAR-7705 purge: delete measures of FILE and DIR via analysis uuid | Sébastien Lesaint | 2016-07-04 | 1 | -1/+1 |
| | |||||
* | SONAR-7705 ProjectCleaner now deal with analyses (not snapshots) | Sébastien Lesaint | 2016-07-04 | 1 | -42/+21 |
| | |||||
* | SONAR-7705 use uuid in PurgeMapper.deleteSnapshots | Sébastien Lesaint | 2016-07-04 | 1 | -0/+9 |
| | |||||
* | SONAR-7705 take deleteAnalyses out of PurgeCommands.deleteComponents | Sébastien Lesaint | 2016-07-04 | 1 | -4/+21 |
| | |||||
* | SONAR-7705 remove work Resource from PurgeMapper and use uuids | Sébastien Lesaint | 2016-07-04 | 1 | -3/+5 |
| | |||||
* | remove unused PurgeDao#purge override | Sébastien Lesaint | 2016-07-04 | 1 | -7/+14 |
| | |||||
* | remove ids from PurgeSnapshotQuery | Sébastien Lesaint | 2016-07-04 | 8 | -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 Lesaint | 2016-07-04 | 1 | -1/+1 |
| | |||||
* | SONAR-7690 support EVENTS.ANALYSIS_UUID in code | Sébastien Lesaint | 2016-06-27 | 7 | -59/+51 |
| | |||||
* | SONAR-7689 support DUPLICATIONS_INDEX.ANALYSIS_UUID in code | Sébastien Lesaint | 2016-06-22 | 1 | -5/+5 |
| | |||||
* | SONAR-7693 support removal of ID columns in SNAPSHOTS | Sébastien Lesaint | 2016-06-14 | 3 | -5/+5 |
| | |||||
* | SONAR-7653 upgrade to Elasticsearch 2.3.3 | Simon Brandhof | 2016-05-31 | 1 | -11/+16 |
| | |||||
* | Refactor scope of DbTester | Simon Brandhof | 2016-05-24 | 1 | -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 KeepOneFilter | Julien Lancelot | 2016-05-12 | 1 | -2/+1 |
| | | | | Last snapshot is now kept Instead of first snapshot | ||||
* | SONAR-7108 Fix unpredictable behavior of UT | Julien Lancelot | 2016-05-04 | 1 | -2/+8 |
| | |||||
* | SONAR-7108 Delete Issues from index when purging old issues | Julien Lancelot | 2016-05-04 | 1 | -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 code | Teryk Bellahsene | 2016-03-25 | 1 | -1/+0 |
| | |||||
* | Remove unused annotation @DbTests | Simon Brandhof | 2016-02-29 | 2 | -6/+2 |
| | |||||
* | Replace SQL "count(*)" by "count(1)" | Simon Brandhof | 2016-02-29 | 1 | -4/+4 |
| | | | | It can have slight performance improvements on some databases. | ||||
* | SONAR-7130 group deletion and purges of snapshots all together | Sébastien Lesaint | 2016-01-26 | 1 | -2/+1 |
| | | | | avoid doing select requests between deletion/purges of snapshots | ||||
* | Fix project title in copyright headers | Simon Brandhof | 2016-01-13 | 11 | -11/+11 |
| | |||||
* | Upgrade to parent 26 and new copyright headers | Simon Brandhof | 2016-01-05 | 11 | -50/+44 |
| | |||||
* | SONAR-6834 Purge CE_ACTIVITY when deleting a project | Julien Lancelot | 2015-10-27 | 2 | -2/+45 |
| | |||||
* | Improve deletion of project to deal with subviews/tech projects | Julien Lancelot | 2015-10-02 | 1 | -0/+30 |
| | |||||
* | Simplify deletion of a project in PurgeDao | Julien Lancelot | 2015-09-15 | 1 | -2/+6 |
| | | | | | - Rename deleteResourceTree to deleteProject - deleteProject only takes a uuid as parameter (instead of a IdUUidPair) | ||||
* | fix incomplete assertions | Sébastien Lesaint | 2015-08-18 | 1 | -2/+2 |
| | |||||
* | Rename remaining variables "sut" to "underTest" in tests | Simon Brandhof | 2015-07-16 | 1 | -5/+5 |
| | |||||
* | Rename variables "sut" to "underTest" in tests | Simon Brandhof | 2015-07-16 | 1 | -11/+11 |
| | |||||
* | Remove no more used PurgeDao.selectPurgeableFileUuids() | Julien Lancelot | 2015-07-16 | 1 | -11/+3 |
| | |||||
* | Refactor dao unit tests to use DbTester.create(System2) | Julien Lancelot | 2015-07-07 | 2 | -71/+43 |
| | |||||
* | Improve testability of Dao | Simon Brandhof | 2015-07-06 | 2 | -48/+53 |
| | |||||
* | Move some classes from sonar-server to sonar-db | Simon Brandhof | 2015-07-06 | 2 | -13/+15 |
| | |||||
* | Extract module sonar-db | Simon Brandhof | 2015-07-04 | 11 | -0/+977 |