Commit Graph

56 Commits

Author SHA1 Message Date
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
Sébastien Lesaint
562cc41a1d SONAR-9741 add HazelcastClient#getClusterTime 2017-09-13 15:50:53 +02:00
Sébastien Lesaint
4b0d1ba16e SONAR-9741 remove NodeHealth#date field 2017-09-13 15:50:53 +02:00
Sébastien Lesaint
fd6e8e2666 SONAR-9740 rename HazelcastClient#getConnectedClients to getMemberUuids
which now return UUID of all members of the HZ cluster, both members and local clients to these member
also rename #getClientUuid to getUuid
2017-09-13 15:50:52 +02:00
Sébastien Lesaint
fa0fe58b05 SONAR-9741 search nodes share startup health status 2017-09-13 15:50:51 +02:00
Sébastien Lesaint
84422d2ca5 SONAR-9741 app shares search node info in hazelcast 2017-09-13 15:50:51 +02:00
Sébastien Lesaint
7ad97d0f0c SONAR-9741 populate default value of sonar.cluster.node.name
and propagate it through main process and sub processes
2017-09-13 15:50:51 +02:00
Sébastien Lesaint
0d06d27d3c SONAR-9741 make NetworkUtils an interface
to allow unit testing
2017-09-13 15:50:50 +02:00
Sébastien Lesaint
80269a5d22 SONAR-9741 move shared cluster related classes to sonar-cluster 2017-09-13 15:50:49 +02:00
Simon Brandhof
1a6b9d21db Bring 6.6-SNAPSHOT back 2017-09-12 10:52:16 +02:00
Simon Brandhof
c0943b57d9 Release 6.6-M1 2017-09-12 10:51:02 +02:00
Eric Hartmann
22022d06b6 Fix quality flaws 2017-09-11 18:38:21 +02:00
Daniel Schwarz
16e3aa9ae4 remove obsolete elasticsearch.yml 2017-09-11 13:40:02 +02:00
Daniel Schwarz
d77cf9f654 Add test for EsProcessMonitor 2017-09-11 13:40:02 +02:00
Simon Brandhof
6608409f23 Fix Quality flaws 2017-09-05 16:14:25 +02:00
Eric Hartmann
ac2ea1796c Make HazelcastClusterTest more robust. 2017-09-05 14:24:13 +02:00
Simon Brandhof
4276d4569c SONAR-9712 sonar.auth.jwtBase64Hs256Secret is mandatory on app nodes 2017-09-05 14:24:13 +02:00
Simon Brandhof
c9f779dc00 SONAR-9715 improve documentation of process management 2017-09-05 14:24:13 +02:00
Eric Hartmann
c6a730d384 SONAR-6966 Implement node name for Hazelcast 2017-09-05 14:24:13 +02:00
Daniel Schwarz
2c35d9b2f0 SONAR-9738 Fail if the cluster name differs from node to node 2017-09-05 14:24:13 +02:00
Daniel Schwarz
cac5ac482c SONAR-9714 Pass Elasticsearch settings in a yaml file
instead of command line arguments
2017-09-05 14:24:13 +02:00