-
ipatini authored
EMS: Baguette Server: Added 'IClusterZoneDetector' interface. Moved 'getZoneIdFor()' methods from 'IZoneManagementStrategy' to the newly added 'IClusterZoneDetector' interface. Removed 'getZoneIdFor()' methods from the classes implementing 'IZoneManagementStrategy'. Added 'ClusterZoneDetector' class, implementing 'IClusterZoneDetector', that determines the cluster/zone id of a node based on node's preregistration info, using a configurable set of rules. Updated 'ClusteringCoordinator' to initialize and use a 'ClusterZoneDetector' instance for determining cluster/zone id, instead of using 'IZoneManagementStrategy' instance. Added sample settings for cluster detector in 'eu.melodic.event.baguette-server.properties'. A few more code and setting improvements.
7edf71d3