Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update license headers for 2022 [update headers] | Pierre | 2022-01-28 | 114 | -114/+114 |
| | |||||
* | SONAR-13997 Allow to override 'sonar.es.bootstrap.checks.disable' | Jacek | 2022-01-27 | 2 | -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-219 | Jacek | 2021-12-17 | 3 | -3/+7 |
| | |||||
* | SONAR-15827 Fix SSF-219 | Jacek | 2021-12-17 | 2 | -12/+4 |
| | |||||
* | Improve code quality | Duarte Meneses | 2021-11-20 | 4 | -6/+6 |
| | |||||
* | SONAR-15631 - Refactor UTs to stop using ExpectedException | Klaudio Sinani | 2021-11-19 | 18 | -249/+168 |
| | |||||
* | SONAR-15070 Fix error when sometimes setting sonar.search.host causes SQ to ↵ | Jacek | 2021-11-18 | 1 | -2/+4 |
| | | | | fail at start | ||||
* | DOCKER-27 disable FIPS mode | Trabelsi Tobias | 2021-10-22 | 6 | -2/+15 |
| | |||||
* | SONAR-15418 Suppress Elasticsearch timeout exception when waiting for it to ↵ | Jacek | 2021-09-28 | 2 | -13/+34 |
| | | | | be UP | ||||
* | Fix code quality issues | Duarte Meneses | 2021-09-24 | 1 | -12/+0 |
| | |||||
* | [NO-JIRA] Addressing some code smells | Belen Pruvost | 2021-09-16 | 1 | -3/+5 |
| | |||||
* | SONAR-15375 Fix SSF-191 | Jacek | 2021-09-13 | 4 | -7/+56 |
| | |||||
* | SONAR-15244 Use G1GC for Elasticsearch | Jacek | 2021-08-11 | 3 | -6/+6 |
| | |||||
* | SONAR-11094 Add nodename to logs for DCE only | Jacek | 2021-08-11 | 3 | -8/+47 |
| | |||||
* | SONAR-15243 Enable JSON logging on Elasticsearch process | Jacek | 2021-08-11 | 2 | -15/+21 |
| | |||||
* | SONAR-15244 Despite sonar.log.useJsonOutput is enabled some logs are still ↵ | Duarte Meneses | 2021-08-11 | 3 | -6/+3 |
| | | | | not in a JSON format | ||||
* | SONAR-15230 Hazelcast clean up | Duarte Meneses | 2021-07-29 | 4 | -83/+39 |
| | |||||
* | SONAR-15231 Pool ES status in clusters | Duarte Meneses | 2021-07-29 | 2 | -2/+73 |
| | |||||
* | SONAR-15230 Fix JVM startup args for Hazelcast | Duarte Meneses | 2021-07-29 | 4 | -2/+29 |
| | |||||
* | SONAR-15230 Enable DNS lookup in k8s for HZ | Jacek | 2021-07-29 | 2 | -4/+7 |
| | |||||
* | SONAR-15192 Disable ip addr validation for sonar.cluster.es.hosts | Jacek | 2021-07-21 | 3 | -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 ↵ | Jacek | 2021-06-23 | 2 | -1/+4 |
| | | | | encryption | ||||
* | SONAR-14960 Fix Elasticsearch deprecation warning for JAVA_HOME | Jacek | 2021-06-17 | 2 | -4/+4 |
| | |||||
* | SONAR-14951 Scanners require Java 11 | Sébastien Lesaint | 2021-06-09 | 7 | -90/+25 |
| | |||||
* | SONAR-14583 Use Elasticsearch password in HTTP clients | Jacek | 2021-04-23 | 4 | -6/+42 |
| | |||||
* | SONAR-14583 add elasticsearch-keystore CLI utility class | Jacek | 2021-04-23 | 6 | -21/+596 |
| | |||||
* | SONAR-14583 Added properties needed for elasticsearch authentication | Lukasz Jarocki | 2021-04-23 | 2 | -0/+112 |
| | |||||
* | SONAR-14625 Upgrade to Hazelcast 4.2 | Zipeng WU | 2021-04-15 | 6 | -36/+58 |
| | |||||
* | SONAR-14676 Shade core jars into a single jar | Duarte Meneses | 2021-04-14 | 2 | -11/+12 |
| | |||||
* | SONAR-14455 Turn-off Elasticsearch 7.10.2 deprecation logging | Jacek | 2021-02-12 | 2 | -2/+15 |
| | |||||
* | Getting Hazelcast to play nice in Dockerized environment (#3693) | Mark Rekveld | 2021-02-12 | 2 | -2/+4 |
| | | | [MMF-2168] Hazelcast adjustments and documentation for DCE Docker Images | ||||
* | Update license headers for 2021 [update headers] | Wouter Admiraal | 2021-01-08 | 113 | -113/+113 |
| | |||||
* | fix code smells | Pierre | 2020-12-14 | 1 | -3/+3 |
| | |||||
* | Fix AssertJ assertions | Philippe Perrin | 2020-12-14 | 1 | -0/+2 |
| | |||||
* | Fix various code smells | Jacek | 2020-12-09 | 4 | -17/+39 |
| | |||||
* | clean code smells (unused import) | Pierre Guillot | 2020-11-26 | 1 | -1/+0 |
| | |||||
* | SONAR-12686 Fix Elasticsearch properties for a single node | Michal Duda | 2020-11-05 | 2 | -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-DCE | Jacek | 2020-11-05 | 2 | -18/+21 |
| | |||||
* | SONAR-13972 Remove 'sonar.search.httpPort' property | Michal Duda | 2020-11-05 | 1 | -1/+0 |
| | |||||
* | SONAR-13979 Fail when sonar.search.host or sonar.search.port are defined in DCE | Michal Duda | 2020-11-05 | 10 | -258/+338 |
| | | | | - Orchestrator upgrade was required as by default it was setting these properties | ||||
* | SONAR-13971 Add properties to configure ES network in DCE | Michal Duda | 2020-11-05 | 6 | -178/+364 |
| | |||||
* | SONAR-12686 upgrade es client to 7.9.3 and move to HTTP | Jacek | 2020-11-05 | 16 | -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 directory | Sébastien Lesaint | 2020-11-05 | 2 | -6/+9 |
| | |||||
* | SONAR-12686 replace deprecated setting transport.tcp.port by transport.port | Sébastien Lesaint | 2020-11-05 | 3 | -3/+5 |
| | |||||
* | SONAR-12686 fix ES discovery settings in cluster mode | Sébastien Lesaint | 2020-11-05 | 2 | -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 Lesaint | 2020-11-05 | 1 | -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_mmapfs | Sébastien Lesaint | 2020-11-05 | 2 | -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.X | Sébastien Lesaint | 2020-11-05 | 2 | -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 properties | Pierre Guillot | 2020-08-11 | 1 | -5/+5 |
| | |||||
* | SONAR-13461 fix SSF-112 | Jacek | 2020-06-30 | 2 | -2/+2 |
| |