Bug 1132249 - [GUI over REST API gaps] missing GetVmTemplateCount
Summary: [GUI over REST API gaps] missing GetVmTemplateCount
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Juan Hernández
QA Contact: Karolína Hajná
URL:
Whiteboard:
Depends On:
Blocks: 1132506
TreeView+ depends on / blocked
 
Reported: 2014-08-21 01:54 UTC by Einav Cohen
Modified: 2016-04-20 01:37 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-20 01:37:45 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1132247 0 unspecified CLOSED [GUI over REST API gaps] missing GetNumberOfActiveVmsInVdsGroupByVdsGroupId 2021-02-22 00:41:40 UTC
oVirt gerrit 34223 0 master MERGED restapi: Add "size" support to templates Never

Internal Links: 1132247

Description Einav Cohen 2014-08-21 01:54:22 UTC
we are missing a way to invoke the GetVmTemplateCount query in the rest api. 
the problematic issue here is for the rest-api to return a number, rather than a resource. 

we can work-around this particular issue by retrieving the relevant objects and count them, but this may result in a huge response traffic (e.g. 1000 objects) just for ultimately receiving a number (e.g. "1000").

Comment 1 Karolína Hajná 2015-04-29 09:56:55 UTC
Verified on 3.6.0-0.0.master.20150427173543.git61dec8c.el6


Note You need to log in before you can comment on or make changes to this bug.