Bug 1132249

Summary: [GUI over REST API gaps] missing GetVmTemplateCount
Product: Red Hat Enterprise Virtualization Manager Reporter: Einav Cohen <ecohen>
Component: ovirt-engineAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Karolína Hajná <khajna>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: bazulay, gklein, juan.hernandez, lsurette, oramraz, pstehlik, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rc   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:37:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1132506    

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