14 Commits

Author SHA1 Message Date
c638bdeaee Add configuration file, authentication, pywsgi 2019-07-06 02:04:26 -04:00
e4576c016f Move API client filename 2019-07-05 23:26:41 -04:00
f5644e53bf Add unit file for API client daemon 2019-07-05 22:25:07 -04:00
2ce08b6369 Implement API for Ceph functions 2019-07-05 22:14:58 -04:00
4e94331d1a Implement API for network functions 2019-07-05 21:39:04 -04:00
b7480b3bbc Implement all VM API functions 2019-07-05 18:24:14 -04:00
061b4eb61e Refactor API into separate files
Make it easier to separate the model (i.e. API endpoints) from the
controller (i.e. the actual functions which talk to ZK). Helps to keep
the main API file smaller and more regular.
2019-07-05 14:11:01 -04:00
e31e1264e5 RESTify the API removing specific list endpoints 2019-07-05 13:20:06 -04:00
c7269a092e Use request.values instead of request.args 2019-07-05 13:05:33 -04:00
193567f965 Further work on API client
Add list and info endpoints for all areas; add dummy endpoints for all
remaining endpoints.
2019-07-05 01:19:39 -04:00
8d5549c68f Implement better arg handling and lists 2019-07-04 12:56:41 -04:00
ae1650759b Add new endpoints 2019-05-10 23:26:59 -04:00
e41b3053f7 Update methods to POST where relevant 2019-04-12 12:27:49 -04:00
1126382ac9 Initial API including fixes to common functons
Some functions were doing `click.echo` inside themselves; don't
do that as it's not API compatible, just return everything.
2019-03-21 11:19:28 -04:00