OpenSearch/test
David Turner aec44fecbc Decouple DiskThresholdMonitor & ClusterInfoService (#44105)
Today the `ClusterInfoService` requires the `DiskThresholdMonitor` at
construction time so that it can notify it when nodes report changes in their
disk usage, but this is awkward to construct: the `DiskThresholdMonitor`
requires a `RerouteService` which requires an `AllocationService` which comees
from the `ClusterModule` which requires the `ClusterInfoService`.

Today we break the cycle with a `LazilyInitializedRerouteService` which is
itself a little ugly. This commit replaces this with a more traditional
subject/observer relationship between the `ClusterInfoService` and the
`DiskThresholdMonitor`.
2019-07-09 18:43:32 +01:00
..
fixtures Make sure the clean task doesn't break test fixtures (#43641) 2019-07-08 17:58:27 +03:00
framework Decouple DiskThresholdMonitor & ClusterInfoService (#44105) 2019-07-09 18:43:32 +01:00
logger-usage [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
build.gradle MINOR: Remove some Deadcode in Gradle (#37160) 2019-01-07 09:21:25 +01:00