Dan Kenigsberg has submitted this change and it was merged.
Change subject: rest-api: Add basic create and delete support
......................................................................
rest-api: Add basic create and delete support
Update the Resource class so that it can dispatch both GET and DELETE methods
from a resource uri. Update the Collection class so that it can dispatch GET
and POST (create resource) methods from a collection uri.
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
Change-Id: I3d2072ff114cafcaa99c8d1800d3aa2d825095af
---
M vdsm/rest/Controller.py
1 file changed, 24 insertions(+), 6 deletions(-)
Approvals:
Adam Litke: Verified
Dan Kenigsberg: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5048
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3d2072ff114cafcaa99c8d1800d3aa2d825095af
Gerrit-PatchSet: 2
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>