OpenSearch/server
William Brafford 52bebec51f
NodeInfo response should use a collection rather than fields (#54460) (#55132)
This is a first cut at giving NodeInfo the ability to carry a flexible
list of heterogeneous info responses. The trick is to be able to
serialize and deserialize an arbitrary list of blocks of information. It
is convenient to be able to deserialize into usable Java objects so that
we can aggregate nodes stats for the cluster stats endpoint.

In order to provide a little bit of clarity about which objects can and
can't be used as info blocks, I've introduced a new interface called
"ReportingService."

I have removed the hard-coded getters (e.g., getOs()) in favor of a
flexible method that can return heterogeneous kinds of info blocks
(e.g., getInfo(OsInfo.class)). Taking a class as an argument removes the
need to cast in the client code.
2020-04-13 17:18:39 -04:00
..
licenses Upgrade to lucene 8.5.0 release (#54077) 2020-03-24 13:45:50 +00:00
src NodeInfo response should use a collection rather than fields (#54460) (#55132) 2020-04-13 17:18:39 -04:00
build.gradle Remove guava from transitive compile classpath (#54309) (#54695) 2020-04-07 23:20:17 -07:00