Open steveyen opened 9 years ago
Here's a simple way of using curl to get the index definitions from a cbft node...
curl http://localhost:9090/api/index | jq .indexDefs.indexDefs
Also, the recent REST api endpoint of /api/diag should have everything in it to make it possible to clone a configuration... manually.
Not yet automated on feeding /api/diag's output into some input of some TBD cloner-tool
See issue https://github.com/couchbaselabs/cbft/issues/36, which is about the related ability to grab as much diagnostic info that we can from a cbft node (AAA).
This issue, then, is the ability to spin up a cbft node (or cluster?) that's based on that diagnostic info, so that the new node will have the same or similar config as AAA, so that supportability is easier.