Provide snapshot-topologies support in orchestrator-client (and via api)#912
Conversation
…ble on orchestrator binary)
|
|
|
Well Shlomi, you set it up here. It's getting testing... but to be honest I'm not sure if the content it generates is being used. Were you wanting to get rid of it that would be fine I think. Having said that the PR was because I'm moving all access to orchestrator to use the http interface so that I can switch the orchestrator clusters I talk to more easily (rather than use the config file). So moving to This patch has been running since I made the PR and seems to be working fine. |
orchestratorhas a--snapshot-topologiesoption not available viaorchestrator-client.This patch provides:
orchestrator-clientto support--snapshot-topologies/api/snapshot-topologiescall which will do the same thing.Output of
orchestrator-clientlooks like:Output of a call to the orchestrator api (e.g. https://orchestrator.example.com/api/snapshot-topologies`) shows:
gofmt(please avoidgoimports) # note: using go 1.12 formatting./build.sh