Dan Kenigsberg has submitted this change and it was merged.
Change subject: rest-api: Model Tasks
......................................................................
rest-api: Model Tasks
API Implemented:
----------------
/api/tasks : Asynchronous tasks
* View and manage information about ongoing and completed operations
Actions:
/api/tasks/<id>/clear
- Clear the information about a completed task
/api/tasks/<id>/stop
- Stop a running task
/api/tasks/<id>/revert
- Rollback a running operation
Change-Id: Ic555cacd0b1bf1cb14545badd567c075b769a347
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/rest/Controller.py
M vdsm/rest/templates/Makefile.am
M vdsm/rest/templates/api.xsd
M vdsm/rest/templates/root.json.x
M vdsm/rest/templates/root.xml.x
M vdsm/rest/templates/rsdl.xml
A vdsm/rest/templates/task.json.x
A vdsm/rest/templates/task.xml.x
A vdsm/rest/templates/tasks.json.x
A vdsm/rest/templates/tasks.xml.x
10 files changed, 244 insertions(+), 0 deletions(-)
Approvals:
Adam Litke: Verified
Dan Kenigsberg: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/3754
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic555cacd0b1bf1cb14545badd567c075b769a347
Gerrit-PatchSet: 8
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Igor Lvovsky <ilvovsky(a)redhat.com>