]> source.dussan.org Git - sonarqube.git/commit
SONAR-9802 replace Hazelcast clients by members
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 15 Sep 2017 12:05:57 +0000 (14:05 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 26 Sep 2017 21:49:37 +0000 (23:49 +0200)
commite4c401f8bc9100fec7fd28bb93469d3de199f5f7
treee07cd247c43059bedf5b0bc5c85c12d232c8f82a
parentf6226c06c40855028ae7f8266e9ae36c8eeca618
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)
76 files changed:
server/sonar-ce/src/main/java/org/sonar/ce/CeDistributedInformationImpl.java
server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java
server/sonar-ce/src/test/java/org/sonar/ce/CeDistributedInformationImplTest.java
server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java
server/sonar-ce/src/test/java/org/sonar/ce/container/HazelcastTestHelper.java
server/sonar-main/src/main/java/org/sonar/application/AppLogging.java
server/sonar-main/src/main/java/org/sonar/application/AppReloaderImpl.java
server/sonar-main/src/main/java/org/sonar/application/AppStateFactory.java
server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
server/sonar-main/src/main/java/org/sonar/application/cluster/ClusterAppState.java
server/sonar-main/src/main/java/org/sonar/application/cluster/ClusterAppStateImpl.java
server/sonar-main/src/main/java/org/sonar/application/cluster/ClusterProperties.java [deleted file]
server/sonar-main/src/main/java/org/sonar/application/cluster/HazelcastCluster.java [deleted file]
server/sonar-main/src/main/java/org/sonar/application/cluster/SearchNodeHealthProvider.java [deleted file]
server/sonar-main/src/main/java/org/sonar/application/cluster/health/DelegateHealthStateRefresherExecutorService.java [new file with mode: 0644]
server/sonar-main/src/main/java/org/sonar/application/cluster/health/HealthStateSharing.java [new file with mode: 0644]
server/sonar-main/src/main/java/org/sonar/application/cluster/health/HealthStateSharingImpl.java [new file with mode: 0644]
server/sonar-main/src/main/java/org/sonar/application/cluster/health/SearchNodeHealthProvider.java [new file with mode: 0644]
server/sonar-main/src/main/java/org/sonar/application/cluster/health/package-info.java [new file with mode: 0644]
server/sonar-main/src/main/java/org/sonar/application/config/AppSettingsLoaderImpl.java
server/sonar-main/src/main/java/org/sonar/application/config/ClusterSettings.java
server/sonar-main/src/main/java/org/sonar/application/es/EsSettings.java
server/sonar-main/src/test/java/org/sonar/application/AppLoggingTest.java
server/sonar-main/src/test/java/org/sonar/application/AppReloaderImplTest.java
server/sonar-main/src/test/java/org/sonar/application/AppStateFactoryTest.java
server/sonar-main/src/test/java/org/sonar/application/SchedulerImplTest.java
server/sonar-main/src/test/java/org/sonar/application/TestClusterAppState.java
server/sonar-main/src/test/java/org/sonar/application/cluster/ClusterAppStateImplTest.java
server/sonar-main/src/test/java/org/sonar/application/cluster/ClusterPropertiesTest.java [deleted file]
server/sonar-main/src/test/java/org/sonar/application/cluster/HazelcastClusterTest.java [deleted file]
server/sonar-main/src/test/java/org/sonar/application/cluster/HazelcastClusterTestHelper.java [deleted file]
server/sonar-main/src/test/java/org/sonar/application/cluster/HazelcastTesting.java [new file with mode: 0644]
server/sonar-main/src/test/java/org/sonar/application/cluster/SearchNodeHealthProviderTest.java [deleted file]
server/sonar-main/src/test/java/org/sonar/application/cluster/health/DelegateHealthStateRefresherExecutorServiceTest.java [new file with mode: 0644]
server/sonar-main/src/test/java/org/sonar/application/cluster/health/SearchNodeHealthProviderTest.java [new file with mode: 0644]
server/sonar-main/src/test/java/org/sonar/application/config/ClusterSettingsLoopbackTest.java
server/sonar-main/src/test/java/org/sonar/application/config/ClusterSettingsTest.java
server/sonar-main/src/test/java/org/sonar/application/es/EsSettingsTest.java
server/sonar-process/pom.xml
server/sonar-process/src/main/java/org/sonar/process/NetworkUtils.java
server/sonar-process/src/main/java/org/sonar/process/NetworkUtilsImpl.java
server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
server/sonar-process/src/main/java/org/sonar/process/cluster/ClusterObjectKeys.java [deleted file]
server/sonar-process/src/main/java/org/sonar/process/cluster/ClusterProperties.java [deleted file]
server/sonar-process/src/main/java/org/sonar/process/cluster/HazelcastClient.java [deleted file]
server/sonar-process/src/main/java/org/sonar/process/cluster/NodeType.java
server/sonar-process/src/main/java/org/sonar/process/cluster/health/DelegateHealthStateRefresherExecutorService.java [deleted file]
server/sonar-process/src/main/java/org/sonar/process/cluster/health/HealthStateSharing.java [deleted file]
server/sonar-process/src/main/java/org/sonar/process/cluster/health/HealthStateSharingImpl.java [deleted file]
server/sonar-process/src/main/java/org/sonar/process/cluster/health/NodeHealthProvider.java
server/sonar-process/src/main/java/org/sonar/process/cluster/health/SharedHealthStateImpl.java
server/sonar-process/src/main/java/org/sonar/process/cluster/hz/HazelcastMember.java [new file with mode: 0644]
server/sonar-process/src/main/java/org/sonar/process/cluster/hz/HazelcastMemberBuilder.java [new file with mode: 0644]
server/sonar-process/src/main/java/org/sonar/process/cluster/hz/HazelcastMemberImpl.java [new file with mode: 0644]
server/sonar-process/src/main/java/org/sonar/process/cluster/hz/HazelcastObjects.java [new file with mode: 0644]
server/sonar-process/src/main/java/org/sonar/process/cluster/hz/package-info.java [new file with mode: 0644]
server/sonar-process/src/test/java/org/sonar/process/NetworkUtilsImplTest.java [new file with mode: 0644]
server/sonar-process/src/test/java/org/sonar/process/cluster/health/DelegateHealthStateRefresherExecutorServiceTest.java [deleted file]
server/sonar-process/src/test/java/org/sonar/process/cluster/hz/HazelcastMemberBuilderTest.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/cluster/StartableHazelcastMember.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/cluster/package-info.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/es/EsClientProvider.java
server/sonar-server/src/main/java/org/sonar/server/es/NewIndex.java
server/sonar-server/src/main/java/org/sonar/server/health/NodeHealthProviderImpl.java
server/sonar-server/src/main/java/org/sonar/server/hz/HazelcastLocalClient.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/hz/package-info.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/platform/WebServer.java
server/sonar-server/src/main/java/org/sonar/server/platform/WebServerImpl.java
server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
server/sonar-server/src/test/java/org/sonar/server/es/EsClientProviderTest.java
server/sonar-server/src/test/java/org/sonar/server/es/NewIndexTest.java
server/sonar-server/src/test/java/org/sonar/server/health/NodeHealthModuleTest.java
server/sonar-server/src/test/java/org/sonar/server/health/NodeHealthProviderImplTest.java
server/sonar-server/src/test/java/org/sonar/server/rule/index/RuleIndexDefinitionTest.java
sonar-application/src/main/java/org/sonar/application/App.java
tests/src/test/java/org/sonarqube/tests/cluster/ClusterTest.java