Change in ovirt-engine[master]: restapi: Add "size" support to templates

Juan Hernandez has submitted this change and it was merged. Change subject: restapi: Add "size" support to templates ...................................................................... restapi: Add "size" support to templates This patch adds support for new "size" detail specifications for the templates collection. When the "size" detail is requested the result will look like thiss: GET /templates;detail=+size HTTP/1.1 All-Content: true <templates> <size>123</size> <template id="..." href="..."> ... </template> ... </templates> The "main" detail is intended to suppress output of the actual data, so that only the size will be populated: GET /templates;detail=-main+size HTTP/1.1 All-Content: true <templates> <size>123</size> </templates> Change-Id: I6f39413ea33319a21fd48018017fce8030ecbf14 Bug-Url: https://bugzilla.redhat.com/1132249 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendTemplatesResource.java 2 files changed, 35 insertions(+), 12 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/34223 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6f39413ea33319a21fd48018017fce8030ecbf14 Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ori Liel <oliel@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
juan.hernandez@redhat.com