Revamp clients to prioritize API #54
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Following the planned lead of how the provisioner will work, revamp the clients such that the CLI talks to the API. The API can no longer be optional. Support all cluster functions (i.e. cluster init) via the API. Revamp pvc-ansible to use this method.
The goal is for the CLI to be able to store some state and connect to multiple API instances, allowing for multiple clusters to be managed from one source.
Alternatively, allow one API to manage multiple clusters, though given how it ties in as well, I think it makes more sense for the CLI to wrap the API than to implement some sort of Zookeeper tunneling for the API. This way only the API must be exposed.
mentioned in issue #55
Phase 1 complete. The API has been rewritten with the nicer and more consistent Flask-RESTful, along with using flask-swagger to generate automatic API documentation. This helps facilitate building clients in general, and the CLI API client specifically by providing a consistent reference.
It looks like some aspects of this might be hard to create drop-in replacements for due to functionality not in the API right now. Found so far:
VM log/log-follow are not in APIImplemented in1f77b382ef
Completed. CLI is now fully an API client.
closed