[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561851#comment-13561851
 ] 

Min Chen commented on CLOUDSTACK-355:
-------------------------------------

For listResourceLimits command, it involves complicated business logic to 
compute limits based on account or domain from both resource limit table and 
global configuration, which cannot be simply done through simple DB join view. 
On the other hand, we only have 8 resource types, so at most will return 8 
rows, no need to support pagination in this case. With no pageSize specified, 
the count will be correct.
                
> Fix "count" in a bunch of API commands
> --------------------------------------
>
>                 Key: CLOUDSTACK-355
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-355
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0
>            Reporter: Alena Prokharchyk
>            Assignee: Min Chen
>             Fix For: 4.1.0
>
>
> Count should be fixed for following list commands (as a part of Search Engine 
> refactoring)
> listResourceLimits
> listIsos
> listTemplates
> listLoadBalancerRuleInstances
> listCapacity
> listHosts
> listSecurityGroups
> listNetworks
> listVPCs
> listTemplatePermissions
> listIsoPermissions
> listServiceOfferings
> listDiskOfferings
> listNetworkDevice
> listVPCOfferings
> listTrafficTypeImplementors
> listSnapshotPolicies
> listLBStickinessPolicies
> listCapabilities
> listZones
> listEventTypes
> listSwifts
> listHypervisors
> listNetworkOfferings
> listSupportedNetworkServices
> listStorageNetworkIpRange
> listEvents 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to