aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao
Commit message (Collapse)AuthorAgeFilesLines
* SONAR-12412 - support import/export of new code periods for projects (#2024)Jacek2019-09-241-4/+5
| | | * SONAR-12412 - support import/export of new code periods for projects
* Improve code quality and test coverageDuarte Meneses2019-09-244-8/+67
|
* New Code Period tableDuarte Meneses2019-09-241-0/+12
|
* Feature/dm/migrate new code period (#2017)Duarte Meneses2019-09-247-8/+28
| | | | | | * SONAR-12396 List new code periods for all branches with effective current values * SONAR-12347 Migrate old definitions of leak period
* SONAR-12393 - support remove new code period on branch, project removal (#2002)Jacek2019-09-245-0/+90
| | | * SONAR-12393 - support remove new code period on branch, project removal
* SONAR-12366 Create WS to read/write New Code PeriodsDuarte Meneses2019-09-244-9/+56
|
* SONAR-12394 Load analysis new code period based on hierarchy of New Code ↵Duarte Meneses2019-09-244-28/+36
| | | | Period settings
* SONAR-12364 Fix update of valuesDuarte Meneses2019-09-249-25/+36
|
* SONAR-12364 - SonarQube analysis fixesJacek2019-09-242-0/+46
|
* SONAR-12364 - IT fixes, add uniq new code period table constraintJacek2019-09-241-0/+4
|
* SONAR-12364 - remove manual baseline column from usageJacek2019-09-246-154/+49
|
* SONAR-12364 - migrate project analysis delete action to new conceptJacek2019-09-244-0/+36
|
* SONAR-12364 - switch from manual baseline to New Code Period conceptJacek2019-09-247-37/+121
|
* SONAR-12366 Create WS to read/write New Code PeriodsDuarte Meneses2019-09-242-38/+5
|
* Create UUID for new_code_periodsDuarte Meneses2019-09-242-14/+26
|
* add Upsert to NewCodePeriodDaoDuarte Meneses2019-09-243-1/+64
|
* SONAR-12366 Create WS to read/write New Code PeriodsDuarte Meneses2019-09-241-0/+32
|
* SONAR-12365 create new_code_period table (#1986)Jacek2019-09-2412-0/+602
| | | * Create new_code_periods table along with dto and dao
* Fix mssql CE activity query and incorrect usage of AlwaysIncreasingSystem2 ↵Jacek2019-09-183-11/+4
| | | | (#2077)
* SONAR-5366 - restore custom rules (#2060)Jacek2019-09-1810-2/+503
| | | | | | - restore custom rules - reduce SQL query executions - code readability improvements
* SONAR-12398 make schedule refresh of porfolios workSébastien Lesaint2019-09-162-22/+40
|
* SONAR-12214 - order by created_at instead of technical id (#2029)Jacek2019-09-0511-120/+214
| | | | * SONAR-12214 - order by created_at instead of technical id
* use testFixtures instead of test configuration of db-daoSébastien Lesaint2019-09-0248-52/+48
|
* use testFixtures instead of test configuration of db-coreSébastien Lesaint2019-09-021-1/+1
|
* SONAR-8520 Make schema dumper cross-platformphilippe-perrin-sonarsource2019-08-141-1/+1
|
* remove DBUnitSébastien Lesaint2019-08-0973-5884/+1347
|
* CreateDb initialize DB without starting full SQSébastien Lesaint2019-08-094-1/+158
| | | | + db-core & db-migration UTS are executed only on H2
* SONAR-8520 remove H2 specific way of creating database in Unit testsSébastien Lesaint2019-08-095-29/+78
|
* SONAR-8520 init H2 with Java code as with all other DBsSébastien Lesaint2019-08-0912-1192/+1291
| | | | | | | schema-h2.ddl file is replaced by autogenerated file schema-sq.ddl (and moved to module sonar-db-dao) files rows-h2.sql and schema_migrations-h2.ddl are dropped command "./gradlew :server:sonar-db-dao:dumpSchema" can be used to update schema-sq.ddl but this is optional as build will always ensure file is up-to-date with java changes and fail the build if it is not (required for CI builds)
* SONAR-8520 fix missing not null in schema-h2.ddl for table PROPERTIESSébastien Lesaint2019-08-091-1/+1
|
* SONAR-8520 move H2 scripts to sonar-db-daoSébastien Lesaint2019-08-0911-72/+1421
|
* SONAR-9882 column should be named ANALYSIS_PROPERTIES.ANALYSIS_UUIDSébastien Lesaint2019-07-3110-62/+62
|
* SONAR-8115 storing project quality gate in table (#1919)Jacek2019-07-3110-68/+52
| | | | | | | * migrate properties to project_qgate table * use project_qgates table instead of property * change usage of project quality gate in CE
* SONAR-12259 - remove deprecated request params, response fields from ↵Jacek2019-07-224-167/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | api/projects (#1881) * remove deprecated params from api/projects/bulk_delete * remove deprecated projectsIds param * update documentation for api/projects/bulk_delete * remove deprecated params from api/projects/bulk_update_key * remove deprecated params: key, projectId, id * update documentation for api/projects/bulk_update_key * remove deprecated params from api/projects/create * remove deprecated param: key * update documentation for api/projects/create * remove deprecated params from api/projects/delete * remove deprecated param: projectId, key * update documentation for api/projects/delete * remove deprecated apis: api/projects/ghosts | index | provisioned * remove deprecated params from api/projects/search * remove deprecated param: projectIds * remove deprecated response fields: id (uuid) * remove all usage of deprecated params: page, pageSize (remove associated tests) * update documentation for api/projects/search * remove deprecated params from api/projects/search_my_projects * remove deprecated response fields: id (uuid) * update documentation for api/projects/search_my_projects * remove deprecated params from api/projects/update_key * remove deprecated params: id, projectId, key, newKey * change "from" param to be mandatory * remove ProjectListTest.java file as endpoint does not exist anymore * bump orchestrator version * remove ComponentDao and ComponentMapper methods associated with deprecated code * use "project" param when calling api/projects/create * update ProjectDumpOperations#renameProjectKey to use api/projects/update_key endpoint * use java api calls instead of URLs * bump orchestrator version to latest released 3.26.0.2111
* SONAR-8115 Storing default qgate in table (blue green deploy safety) (#1925)Jacek2019-07-199-12/+186
| | | | | | | | * add DDL for project_qgate table * support saving/update/delete to project quality gate and properties * add db migration tests
* Clean depsDuarte Meneses2019-07-171-1/+9
|
* MMF-769 User can close their account (#1861)Benoit2019-07-1212-242/+251
|
* Extract implementation from plugin API and create new module ↵Duarte Meneses2019-07-121-1/+1
| | | | sonar-plugin-api-impl
* Extract implementation from plugin API and create new module ↵Duarte Meneses2019-07-1218-24/+22
| | | | sonar-plugin-api-impl
* SONAR-12261 fix project QG search on MsSQLSébastien Lesaint2019-07-101-1/+1
|
* SONAR-12246 remove MySQL dialectSimon Brandhof2019-07-106-155/+0
|
* SONAR-12246 Remove SQL requests specific to MySQLSimon Brandhof2019-07-103-22/+0
|
* SONAR-12246 Remove dependencies on MySQL driverSimon Brandhof2019-07-101-1/+0
|
* MMF-1737 Analyze Bitbucket repositories with Azure Pipelines (#1879)mickael-caro-sonarsource2019-07-104-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SC-762- Tutorial for new BbC projects should mention support of Azure Pipelines * Updated tutorial for bitbucketcloud * SC-801 - Organization and its eventual app install related entity are now mandatory while targeting a bound project on ALMs. * SC-801 --TEMP Added INFO logs * SC-801 - Added back return of alm binding if no project alm is present. * SC-801 - Fixed added log, failing unit tests before. * SC-801 - Added extra logs (TEMP) * SC-801 - Reverted unwanted imports. * SC-801 - Adaptation of UT following the add of logs TO BE REVERTED ONCE OK * SC-801 - Changed newly added log levels to debug to see if they are popping in the CE logs. * SC-801 - Add constant for Bitbucket API Version in its REST client. * SC-760 - Updated documentation to support Azure Pipelines. * SC-801 - Reverted all temporary logs * fixup! SC-760 - remove inside file links to avoid failing of unint tests. * SC-801 - Fixes after review * SC-760 - Splited documentation to 3 in total, with azure pipelines and bitbucket pipelines. * SC-762 - Updated Snapshot * SC-762 - Updated onboarding tutorial + documentation * SC-762 - Updated formating of .tsx following yarn validate. * SC-801 - Added unit tests + removed codesmell * SC-760 - Updated documentation markdowns for Bitbucket. * SC-801 - Removed unused import. * SC-801 - Updated failing unit tests. * SC-801 - Fix typo * SC-801 - Resolving issues following analysis by SQ
* SC-799 Add temporary live migration to delete empty personal orgsJanos Gyerik2019-07-054-0/+109
|
* SC-764 Return alm organization type in /api/organizations/searchBenoît Gianinetti2019-07-054-5/+54
|
* Merge pull request #1789 from ↵Michal Duda2019-06-282-12/+11
| | | | | SonarSource/fix/md/SONAR-11845-project-import-should-handle-external-issues SONAR-11845 project import should handle external issues
* Replace 3 regex with 1 and precompiled patternFranck Arnulfo2019-06-281-4/+6
|
* SONAR-12221 Add pagination to api/qualitygates/searchJulien Lancelot2019-06-284-65/+15
|
* SONAR-11560 fix api/permissions/users sortingMichal Duda2019-06-146-1/+94
|