The request I have is that this abstract out functions that Zookeeper offers, so:
- please tell me the list of live nodes
- please tell me the state of this collection
We get real craziness when the UI depends upon clusterstate.json, which is replaced by state.json, and then (I assume) the ZookeeperServlet has to rebuild a clusterstate.json file, pretending that it exists in its file system, to keep the UI happy.
For the tree view, we still need the ability to list the contents of nodes, but I'd rather we only ever use that for the tree view.
I can look through the UI source, and give you a list of the API endpoints I would love to have. I doubt they will be many or hard to implement. Would that work?