Commit Graph

76 Commits

Author SHA1 Message Date
Simon Brandhof
461d876be1 Remove unexpected file header in EsYmlSettingsTest 2018-06-12 20:21:01 +02:00
Eric Hartmann
e6d7fdb0d1 SONAR-SONAR-10294 Ignore ES_JAVA_OPTS env variable 2018-06-08 20:20:51 +02:00
Simon Brandhof
75c5533379 SONAR-10604 property sonar.cluster.hosts is only for app nodes 2018-05-10 20:20:55 +02:00
Simon Brandhof
8282e6a7e3 SONAR-10604 ignore sonar.cluster.node.port on search nodes 2018-05-10 20:20:55 +02:00
Simon Brandhof
4c006dfe39 SONAR-10604 remove cleanup of APP state when all APPs are down 2018-05-10 20:20:54 +02:00
Simon Brandhof
656fa53bd8 SONAR-10604 remove HazelcastMember.Attribute.NODE_TYPE 2018-05-10 20:20:54 +02:00
Eric Hartmann
b93102f205 SONAR-10604 Remove Hazelcast on Search nodes 2018-05-10 20:20:54 +02:00
Simon Brandhof
5097d1877b Fix Quality flaws 2018-05-10 20:20:53 +02:00
Simon Brandhof
47b6860dcd SONAR-10607 fix ability to disable Elasticsearch seccomp check 2018-04-25 20:20:49 +02:00
Julien HENRY
23e4b51cde Fix tests on Windows 2018-03-13 11:04:15 +01:00
Simon Brandhof
35749faa8b Fix some Java compiler warnings 2018-03-12 09:24:23 +01:00
David Rautureau
1a17e4302e Move To Gradle 2018-03-09 11:33:38 +01:00
Julien Lancelot
e737a37b28
SONAR-10300 Forbid system properties in api/settings 2018-02-01 13:36:29 +01:00
Simon Brandhof
b34ff21d16 Set version 7.1-SNAPSHOT 2018-01-24 17:13:45 +01:00
Simon Brandhof
12d555eff6 Upgrade assertJ from 3.4.1 to 3.9.0 2018-01-14 20:37:37 +01:00
Simon Brandhof
d55f047c44 Cleanup code based on Intellij inspections 2018-01-14 20:37:37 +01:00
Simon Brandhof
c0d2705e61 Fix license headers for 2018 2018-01-07 12:40:52 +01:00
Eric Hartmann
35128eb811 Fix ignored Selenium tests 2017-11-14 13:10:17 +01:00
Julien Lancelot
37af5c9084 Prepare for next development iteration 2017-10-27 17:56:31 +02:00
Simon Brandhof
f4c02670df Compute Engine must start after its local web server 2017-10-20 17:44:46 +02:00
Daniel Schwarz
3e15ddb6e8 Fix quality flaws 2017-10-17 10:01:39 +02:00
ssjenka
ba47e7fd39 Automatic merge from branch-6.6
* origin/branch-6.6:
  Prepare for next development iteration
  SONAR-9721 Fix potential OkHttpClient connection leak
  Publish 6.6 Release Candidate 1
  fix quality flaws
  Propagate parameters of SQ analysis required by burgr
  fix unwanted text wrapping in the header in ie11
  SONAR-9908 on Windows, launch Elasticsearch directly, without batch files (#2642)
  SONAR-9694 Ignore when secondary locations are out of current file for backdating
  Fix sidebar position helper in IE
2017-10-11 08:02:23 +02:00
Simon Brandhof
d1eef867e0 Prepare for next development iteration 2017-10-11 07:06:09 +02:00
Simon Brandhof
afa67e093d Publish 6.6 Release Candidate 1 2017-10-10 22:10:01 +02:00
Daniel Schwarz
f363643318 fix quality flaws 2017-10-10 18:49:34 +02:00
Daniel Schwarz
ee8183913d SONAR-9908 on Windows, launch Elasticsearch directly, without batch files (#2642)
SONAR-9908 on Windows, launch Elasticsearch directly, without batch files

When starting the batch files on windows, we were not able to shutdown Elasticsearch gracefully.
2017-10-10 16:10:19 +02:00
Daniel Trebbien
a245107976 Fix two logger calls
One logger call was using incorrect syntax for a formatting anchor
('%s' should be '{}').

The other logger call had three formatting anchors, but only passed two
values.

These issues were found by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/
2017-10-10 14:23:40 +02:00
Daniel Trebbien
6972869252 Incorporate the constant property names into the logger format string
The resulting string concatenation is still a constant expression.
2017-10-10 14:22:53 +02:00
Daniel Trebbien
441b01006f Utilize parameterized logging rather than String.format() 2017-10-10 13:28:44 +02:00
Daniel Trebbien
0c4ab61021 Utilize parameterized logging
As suggested in the SLF4J FAQ:
https://www.slf4j.org/faq.html#logging_performance
.. parameterized logging can improve the efficiency of logger calls when
logging at the specified level is disabled.

In addition, per the FAQ: https://www.slf4j.org/faq.html#paramException
since SLF4J 1.6.0 it is possible to use parameterized logging and also
log an exception/throwable.

These changes were suggested by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/
2017-10-10 13:28:44 +02:00
Simon Brandhof
6810d4b437 Set version to 6.7-SNAPSHOT 2017-10-09 13:34:43 +02:00
Daniel Schwarz
2c819392f3 SONAR-9811 fix quality flaws
Renamed variable to avoid misunderstandings
2017-10-02 10:29:19 +02:00
Daniel Schwarz
0d9953b35b SONAR-9811 change es data dir to data/es5, delete data/es during startup 2017-10-02 08:43:14 +02:00
Sébastien Lesaint
831131a17c fix unstable UT in SearchNodeHealthProviderTest 2017-09-28 10:21:44 +02:00
Eric Hartmann
9045f37146 SONAR-9789 Display once a log message when waiting for ES to be up and running 2017-09-27 08:47:39 +02:00
Simon Brandhof
c8206d355a SONAR-9802 remove useless attributes of HazelcastMember 2017-09-26 23:49:39 +02:00
Simon Brandhof
67e00f09cd SONAR-8153 Do not export sensitive settings in System Info 2017-09-26 23:49:38 +02:00
Simon Brandhof
b3968feb20 SONAR-9802 fix support of overridden cluster name 2017-09-26 23:49:38 +02:00
Daniel Schwarz
0d04932117 SONAR-9802 Fix quality flaws 2017-09-26 23:49:38 +02:00
Simon Brandhof
50a29c569f SONAR-9802 complete system info page 2017-09-26 23:49:38 +02:00
Simon Brandhof
df538630ea SONAR-9802 ability to execute distributed calls
See HazelcastMember#call(DistributedCall, ...)
2017-09-26 23:49:37 +02:00
Simon Brandhof
e4c401f8bc SONAR-9802 replace Hazelcast clients by members
Web Server and Compute Engine processes must use
plain HZ members but not clients so that they can
be involved in distributed computing (contribute to
api/system/info response)
2017-09-26 23:49:37 +02:00
Simon Brandhof
f6226c06c4 Fix Quality flaws 2017-09-26 23:49:37 +02:00
Simon Brandhof
880336975d SONAR-9803 remove bad coupling of processes on sonar-plugin-api 2017-09-26 23:49:37 +02:00
Simon Brandhof
87ce833df2 SONAR-9803 restrict sonar-process to classes shared by all processes only 2017-09-26 23:49:37 +02:00
Sébastien Lesaint
29206c1d0c SONAR-9773 add AbstractCommand#suppressEnvVariable
which allows to remove from a command an env variable defined for current process
and remove support for null value in AbstractCommand#setEnvVariable
2017-09-19 10:24:01 +02:00
Eric Hartmann
061b6a5dcb SONAR-9764 Add a dedicated message when there is no Elasticsearch master 2017-09-14 17:55:38 +02:00
Sébastien Lesaint
a444ad1e6b SONAR-9587 use classpath rather than fat jar for sonar-application 2017-09-13 15:50:55 +02:00
Sébastien Lesaint
58678f9db7 SONAR-9741 fix types of fields in response of WS 2017-09-13 15:50:54 +02:00
Sébastien Lesaint
b49a62254e SONAR-9741 move NodeType to sonar-cluster 2017-09-13 15:50:54 +02:00