aboutsummaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* DOCS update for ES 7.9.3 upgrademichaelbirnstiehl2020-11-053-12/+28
|
* SONAR-12686 upgrade es client to 7.9.3 and move to HTTPJacek2020-11-05119-3690/+2594
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add should minimum match eq 1 to user index queries ES 7.X changed behaviour in case filter query with bool it defaults to '0' https://www.elastic.co/guide/en/elasticsearch/reference/7.x/breaking-changes-7.0.html#_the_filter_context_has_been_removed - fix issue index routing param ES 7.X helped discover this bug as new setting has been auto configured which is 'index.number_of_routing_shards'. This has changed how documents are distributed across shards depending on how many shards the index has. Without that change issues docs has been incorrectly routed to the same shard hash as projects and it worked no matter what routing key you used projectUuid or auth_projectUuid. - update ngram and edge_ngram names to match with es 7.x nGram and edgeNgram has been deprecated in favour of ngram and edge_ngram https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#deprecated-ngram-edgengram-token-filter-cannot-be-used - remove `_all : enabled` usage from UT This field was already deprecated in 6.X, now it has been removed. https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#all-meta-field-removed - add Elasticsearch High Level REST client dependency - use sonar.search.port for ES HTTP - main process use ES Rest client to check ES status - sonar.cluster.search.hosts has HTTP ports on APP nodes also sonar.search.port and sonar.search.host MUST be configured on each Search node with the host and HTTP port of the current node - use Elasticsearch high level rest client - use in EsTester - use as primary es client - use indices api to get all indices name instead of cluster api - use cluster health api to check cluster state - support raw requests for 'nodes/_stats' and '_cluster/stats' - support raw requests for 'indices/_stats' - leave netty4plugin as testCompile dependency it is used in UTs - all ES non-test calls go through EsClient class - add rest client ES profiling
* SONAR-12686 enforce index rebuilding by changing ES data directorySébastien Lesaint2020-11-054-9/+12
|
* SONAR-12686 replace deprecated setting transport.tcp.port by transport.portSébastien Lesaint2020-11-053-3/+5
|
* SONAR-12686 fix ES discovery settings in cluster modeSébastien Lesaint2020-11-053-36/+8
| | | | | deprecated "discovery.zen.ping.unicast.hosts" has been removed, "discovery.seed_hosts" should be used instead "discovery.zen.minimum_master_nodes" is ignored now: stop setting it and drop sonar property "sonar.search.minimumMasterNodes"
* SONAR-12686 add mandatory cluster configuration property ↵Sébastien Lesaint2020-11-051-0/+1
| | | | | | cluster.initial_master_nodes ES 7.5.1 refuses to start without this option
* SONAR-12686 use node.store.allow_mmap instead of node.store.allow_mmapfsSébastien Lesaint2020-11-052-4/+35
| | | | node.store.allow_mmapfs was deprecated and is now dropped in 7.5.1
* SONAR-12686 MaxDirectMemorySize JVM option should be defined for ESSébastien Lesaint2020-11-051-1/+1
| | | | | | | | This option was set by default in ES 6.X already but we had missed it. ES sets it to half the max heap from Java code (see class JvmErgonomics) To not have to get into the complexity of interpreting options to know what is the configured max heap, we just add this option to the defaults and document it
* SONAR-12686 update JVM options to match defaults in ES 7.XSébastien Lesaint2020-11-052-47/+63
| | | | | | Elastic introduced "system" JVM settings in 7.X: * "system" settings are set from Java code (class SystemJvmOptions) * which means these JVM settings are not defined in "jvm.options" file anymore
* SONAR-12686 use Jetty for TCP ElasticSearch transport in unit testsSébastien Lesaint2020-11-052-544/+95
| | | | LocalTransport is dropped in ElasticSearch 7.X
* SONAR-13988 better handle errorsJeremy Davis2020-11-0432-2187/+784
|
* SONAR-13996 Add warning when configuring second instanceJeremy Davis2020-11-049-39/+290
|
* SONAR-13987 Display validation for Bitbucket serverJeremy Davis2020-11-042-2/+4
|
* SONAR-13978 Display validation for GitLabJeremy Davis2020-11-042-4/+14
|
* SONAR-13988 - GitHub ALM settings validationMark Rekveld2020-11-041-1/+2
|
* SONAR-13988 Display validation status for GitHub integrationJeremy Davis2020-11-0431-159/+1169
|
* SONAR-13122 Reduce Log Level of rule indexing warnings on startupcolin-mueller-sonarsource2020-11-042-14/+14
|
* Add VSCode extension recommendations for sonar-webJean-Baptiste Lievremont2020-11-041-0/+9
| | | | The recommended extensions are the ones mentioned in the SQ Frontend Guidelines.
* SONAR-13913 Remove tables and indexes clean up used in Integration TestsJulien Lancelot2020-11-036-435/+1
|
* DOCS fix link to Generate Reports postMikeBirnstiehl2020-10-281-1/+1
|
* DOCS add release notes link to upgrade notesmichaelbirnstiehl2020-10-271-0/+2
|
* SONAR-13941 Move and adapt application CE processorZipeng WU2020-10-239-19/+99
|
* SONAR-13950 Move Application UI logic to DEWouter Admiraal2020-10-2358-70/+4458
|
* SONAR-13941 move api/views/app endpoint to DE and rename to ↵Duarte Meneses2020-10-236-1/+150
| | | | api/metrics/user_metrics
* SONAR-13941 Make applications WS available in developer editionDuarte Meneses2020-10-232-3/+3
|
* SONAR-14003 Fix SSF-129Jeremy Davis2020-10-222-5/+5
|
* Revert "SONAR-13913 Remove tables and indexes clean up used in Integration ↵Julien Lancelot2020-10-216-1/+435
| | | | | | Tests" This reverts commit 6d13dd2f
* DOCS Fix Scanner for Gradle doc about propertiesDuarte Meneses2020-10-211-2/+2
|
* SONAR-13913 Remove tables and indexes clean up used in Integration TestsJulien Lancelot2020-10-206-435/+1
| | | | | | | | | | | * SONAR-13913 Remove usage of Orchestrator#resetData * Remove ProjectAnalysisRule * Upgrade to Orchestrator 3.31 * SONAR-13913 Remove BackendCleanup class * Remove code related to no more existing tables
* SONAR-13936 Fix issues sidebar search where in some case we trigger wrong ↵Mathieu Suen2020-10-208-119/+8
| | | | API call.
* [DOCS] added correct LimitNOFILE to systemd templateTobias Trabelsi2020-10-191-2/+2
|
* Update sonar-properties.md (#3233)sylvain-combe-sonarsource2020-10-191-1/+1
| | | Fix broken link to Apache doc page on entropy sources for faster startup
* SONAR-13936 Fix quality flaws after merge to masterJulien Lancelot2020-10-1941-130/+75
|
* SONAR-13936 cleanupMichal Duda2020-10-1634-267/+222
|
* SONAR-13936 Rename OrganizationPermission to GlobalPermissionJulien Lancelot2020-10-16163-400/+391
|
* SONAR-13936 Move default permission templates to internal propertiesJulien Lancelot2020-10-1630-641/+649
|
* SONAR-13936 Remove org on user and group API front-end.Mathieu Suen2020-10-1643-365/+433
|
* SONAR-13936 Remove use of organizations in GroupsMichal Duda2020-10-1644-359/+536
|
* SONAR-13936 Remove use of organizations in Permissions WS and DBJulien Lancelot2020-10-1675-399/+492
| | | | | | | | | | | | * SONAR-13936 Remove organization parameters from permissions WS * SONAR-13936 Remove organization_uuid column from user_roles table * SONAR-13936 Fix developer ITs * SONAR-13936 Remove organization_uuid column from group_roles table * SONAR-13936 Remove organization_uuid column from permission_templates table
* SONAR-13936 Remove organization parameter from UsersJulien Lancelot2020-10-168-33/+113
| | | | | * SONAR-13936 Remove organization parameter from api/users/groups * SONAR-13936 Remove organization_uuid column from users table
* SONAR-13936 Drop some Organization code related to Users/Groups/PermissionDuarte Meneses2020-10-16304-11862/+2984
|
* SONAR-13965 Update column 'change_data' of 'qprofile_changes' table to use ↵Jacek2020-10-164-1/+146
| | | | ruleUuid instead of ruleId
* SONAR-13948 fix migrations to drop default constraints when dropping column ↵Jacek2020-10-154-3/+187
| | | | for mssql
* SONAR-13834 SONAR-13939 SONAR-13938 Cleanup and update tutorials, remove ↵Wouter Admiraal2020-10-1538-1213/+571
| | | | organizations
* SONAR-13943 Hotspots filter dropdowns truncated for anonymous usersWouter Admiraal2020-10-152-1/+2
|
* SONAR-13925 Do not truncate Rules search field at 200 charsWouter Admiraal2020-10-152-0/+4
|
* Update sonar-ui-common to 1.0.25Wouter Admiraal2020-10-154-10/+10
|
* SONAR-13985 Drop associated index with primary key on Oracle DBJacek2020-10-142-2/+3
|
* SONAR-13966 filter new code period issues for application using 'branch' ↵Jacek2020-10-122-3/+58
| | | | field instead 'project'
* SONAR-13733 Upgrade lodashJeremy Davis2020-10-084-9/+14
|