aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* Fix code quality issuesDuarte Meneses2021-09-241-5/+4
|
* SONAR-11094 Add nodename to logs for DCE onlyJacek2021-08-115-12/+38
|
* SONAR-15243 Enable JSON logging on Elasticsearch processJacek2021-08-114-81/+122
|
* SONAR-15230 Hazelcast clean upDuarte Meneses2021-07-294-142/+19
|
* SONAR-15230 Enable DNS lookup in k8s for HZJacek2021-07-296-64/+152
|
* SONAR-15192 Disable ip addr validation for sonar.cluster.es.hostsJacek2021-07-211-0/+1
| | | | * provide new propert sonar.cluster.es.discovery.seed.hosts to allow dynamic node discovery in k8s
* Improve test coverageDuarte Meneses2021-06-171-7/+7
|
* SONAR-14886 Plugins should not modify SonarQube's home directoryDuarte Meneses2021-06-093-27/+93
|
* SONAR-14870 DNS cache never expires causing PR decoration to failDuarte Meneses2021-06-031-1/+5
|
* SONAR-14870 DNS cache never expires causing PR decoration to failDuarte Meneses2021-05-271-0/+3
|
* SONAR-14682 - Make webhook validation configurableBelen Pruvost2021-04-291-1/+0
|
* SONAR-14253 fix Authenticated JMX remote access not working with Compute EngineZipeng WU2021-04-291-1/+2
| | | | SecurityManagement is introduced to prevent code injection from community plugins by denying access to our core's classloaders realm, and is not intended to block anything else. AccesscController will return a ProtectionDomain with null classloader when requested for a MBeanPermission.
* SONAR-14583 Added properties needed for elasticsearch authenticationLukasz Jarocki2021-04-231-0/+7
|
* SONAR-14625 Upgrade to Hazelcast 4.2Zipeng WU2021-04-157-36/+38
|
* SONAR-14426 Add support for AES-GCM encryptionZipeng WU2021-02-173-176/+5
|
* Getting Hazelcast to play nice in Dockerized environment (#3693)Mark Rekveld2021-02-122-3/+76
| | | [MMF-2168] Hazelcast adjustments and documentation for DCE Docker Images
* Update license headers for 2021 [update headers]Wouter Admiraal2021-01-0864-64/+64
|
* Remove dead code generating secret AES keyDuarte Meneses2020-12-151-21/+0
|
* SONAR-14039 replace 'sonar.search.transportPort' with 'sonar.es.port' on non-DCEJacek2020-11-051-4/+12
|
* SONAR-13979 Fail when sonar.search.host or sonar.search.port are defined in DCEMichal Duda2020-11-051-5/+13
| | | | - Orchestrator upgrade was required as by default it was setting these properties
* SONAR-13971 Add properties to configure ES network in DCEMichal Duda2020-11-051-0/+7
|
* SONAR-12686 upgrade es client to 7.9.3 and move to HTTPJacek2020-11-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 fix ES discovery settings in cluster modeSébastien Lesaint2020-11-051-1/+0
| | | | | 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 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-13559 - add workaround for JDK-8014008 (fix JMX console on CE)Thomas de Grenier de Latour2020-08-061-0/+20
|
* SONAR-13461 fix SSF-112Jacek2020-06-303-1/+93
|
* SONAR-13341 fix SSF-110Michal Duda2020-06-301-0/+1
|
* SONAR-13272 fix issue with setting some properties through env variablesMichal Duda2020-04-145-21/+78
|
* SONAR-13113 deprecate environment variable interpolation mechanism in ↵Michal Duda2020-02-221-2/+14
| | | | sonar.properties
* SONAR-13078 enable configuring the server by environment variablesMichal Duda2020-02-221-0/+5
|
* SONAR-12955 support IPv6 in cluster propertiesSébastien Lesaint2020-02-203-30/+56
| | | | and consistently valid adresses
* Format all headers for 2020Wouter Admiraal2020-01-0762-62/+62
|
* Fix code quality issues and reduce dependency on GuavaDuarte Meneses2019-12-102-3/+3
|
* SONAR-12617 Security restrictions prevent plugins from reading environment ↵Duarte Meneses2019-11-191-5/+15
| | | | variables
* fix some quality flaws on the new code periodSébastien Lesaint2019-10-091-3/+3
|
* SONAR-12344 es logs must go to stdout too when sonar.log.console=trueSébastien Lesaint2019-09-271-3/+43
|
* SSF-92 Code injection from SonarQube pluginsDuarte Meneses2019-09-201-0/+65
|
* SC-795 drop unused code on Bitbucket CloudSimon Brandhof2019-07-261-3/+0
|
* SONAR-12279 Swap Elasticsearch options to match conventioncolin-mueller-sonarsource2019-07-121-1/+1
|
* SONAR-11874 ignore inaccessible files when cleaning tmp dirSébastien Lesaint2019-06-281-6/+22
|
* SC-702 support new property sonar.log.useJsonOutputSimon Brandhof2019-06-283-2/+149
|
* SC-702 decouple Logback appenders from encodersSimon Brandhof2019-06-281-26/+11
|
* SONAR-12002 Fail startup if JRE < 11Duarte Meneses2019-06-281-18/+0
|
* SONAR-11251 add http.nonProxyHosts to sonar.propertiesSébastien Lesaint2019-06-111-1/+1
|
* SONAR-12042 Apply feedback regarding loggingDuarte Meneses2019-06-031-1/+1
|
* SONAR-12043 Hard stop if stop takes too longDuarte Meneses2019-06-033-10/+18
|
* SONAR-12041 Display warning at startup if list of hosts is not consistent ↵Duarte Meneses2019-06-033-4/+64
| | | | across all cluster nodes
* SONAR-12043 Refactor ProcessEntryPointDuarte Meneses2019-06-031-75/+31
| | | | Simplifies a bit Stop and HardStop operations
* SONAR-12043 stopper threads should be daemonDuarte Meneses2019-06-031-0/+1
|
* SONAR-12043 Refactor CeServerDuarte Meneses2019-06-031-44/+0
| | | | | | * Improves waiting operations: no pooling, no additional threads * Any number of threads can wait for stop (actually required if both stop and hard stop threads end up waiting) * Prevents potentially multiple invocations of 'stopProcessing' by 'stop()' and the 'CeMainThread' after a hard stop