aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main/src
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers for 2022 [update headers]Pierre2022-01-28114-114/+114
|
* SONAR-13997 Allow to override 'sonar.es.bootstrap.checks.disable'Jacek2022-01-272-1/+54
| | | | | - default for jdbc other than H2 to check es bootstrap at startup - default for H2 to not check es bootstrap at startup
* SONAR-15840 Fix SSF-219Jacek2021-12-173-3/+7
|
* SONAR-15827 Fix SSF-219Jacek2021-12-172-12/+4
|
* Improve code qualityDuarte Meneses2021-11-204-6/+6
|
* SONAR-15631 - Refactor UTs to stop using ExpectedExceptionKlaudio Sinani2021-11-1918-249/+168
|
* SONAR-15070 Fix error when sometimes setting sonar.search.host causes SQ to ↵Jacek2021-11-181-2/+4
| | | | fail at start
* DOCKER-27 disable FIPS modeTrabelsi Tobias2021-10-226-2/+15
|
* SONAR-15418 Suppress Elasticsearch timeout exception when waiting for it to ↵Jacek2021-09-282-13/+34
| | | | be UP
* Fix code quality issuesDuarte Meneses2021-09-241-12/+0
|
* [NO-JIRA] Addressing some code smellsBelen Pruvost2021-09-161-3/+5
|
* SONAR-15375 Fix SSF-191Jacek2021-09-134-7/+56
|
* SONAR-15244 Use G1GC for ElasticsearchJacek2021-08-113-6/+6
|
* SONAR-11094 Add nodename to logs for DCE onlyJacek2021-08-113-8/+47
|
* SONAR-15243 Enable JSON logging on Elasticsearch processJacek2021-08-112-15/+21
|
* SONAR-15244 Despite sonar.log.useJsonOutput is enabled some logs are still ↵Duarte Meneses2021-08-113-6/+3
| | | | not in a JSON format
* SONAR-15230 Hazelcast clean upDuarte Meneses2021-07-294-83/+39
|
* SONAR-15231 Pool ES status in clustersDuarte Meneses2021-07-292-2/+73
|
* SONAR-15230 Fix JVM startup args for HazelcastDuarte Meneses2021-07-294-2/+29
|
* SONAR-15230 Enable DNS lookup in k8s for HZJacek2021-07-292-4/+7
|
* SONAR-15192 Disable ip addr validation for sonar.cluster.es.hostsJacek2021-07-213-10/+14
| | | | * provide new propert sonar.cluster.es.discovery.seed.hosts to allow dynamic node discovery in k8s
* SONAR-14854 Support TLSv1.3,TLSv1.2 for Elasticsearch transport connection ↵Jacek2021-06-232-1/+4
| | | | encryption
* SONAR-14960 Fix Elasticsearch deprecation warning for JAVA_HOMEJacek2021-06-172-4/+4
|
* SONAR-14951 Scanners require Java 11Sébastien Lesaint2021-06-097-90/+25
|
* SONAR-14583 Use Elasticsearch password in HTTP clientsJacek2021-04-234-6/+42
|
* SONAR-14583 add elasticsearch-keystore CLI utility classJacek2021-04-236-21/+596
|
* SONAR-14583 Added properties needed for elasticsearch authenticationLukasz Jarocki2021-04-232-0/+112
|
* SONAR-14625 Upgrade to Hazelcast 4.2Zipeng WU2021-04-156-36/+58
|
* SONAR-14676 Shade core jars into a single jarDuarte Meneses2021-04-142-11/+12
|
* SONAR-14455 Turn-off Elasticsearch 7.10.2 deprecation loggingJacek2021-02-122-2/+15
|
* Getting Hazelcast to play nice in Dockerized environment (#3693)Mark Rekveld2021-02-122-2/+4
| | | [MMF-2168] Hazelcast adjustments and documentation for DCE Docker Images
* Update license headers for 2021 [update headers]Wouter Admiraal2021-01-08113-113/+113
|
* fix code smellsPierre2020-12-141-3/+3
|
* Fix AssertJ assertionsPhilippe Perrin2020-12-141-0/+2
|
* Fix various code smellsJacek2020-12-094-17/+39
|
* clean code smells (unused import)Pierre Guillot2020-11-261-1/+0
|
* SONAR-12686 Fix Elasticsearch properties for a single nodeMichal Duda2020-11-052-3/+6
| | | | - https://www.elastic.co/guide/en/elasticsearch/reference/7.x/breaking-changes-7.0.html#_discovery_configuration_is_required_in_production
* SONAR-14039 replace 'sonar.search.transportPort' with 'sonar.es.port' on non-DCEJacek2020-11-052-18/+21
|
* SONAR-13972 Remove 'sonar.search.httpPort' propertyMichal Duda2020-11-051-1/+0
|
* SONAR-13979 Fail when sonar.search.host or sonar.search.port are defined in DCEMichal Duda2020-11-0510-258/+338
| | | | - Orchestrator upgrade was required as by default it was setting these properties
* SONAR-13971 Add properties to configure ES network in DCEMichal Duda2020-11-056-178/+364
|
* SONAR-12686 upgrade es client to 7.9.3 and move to HTTPJacek2020-11-0516-190/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-052-6/+9
|
* 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-052-35/+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 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
* use try-with-ressource to write log4j ES propertiesPierre Guillot2020-08-111-5/+5
|
* SONAR-13461 fix SSF-112Jacek2020-06-302-2/+2
|