[
https://issues.apache.org/jira/browse/CLOUDSTACK-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15174315#comment-15174315
]
ASF GitHub Bot commented on CLOUDSTACK-9298:
--------------------------------------------
Github user pedro-martins commented on the pull request:
https://github.com/apache/cloudstack/pull/1425#issuecomment-190874260
@nvazquez
I mean unit tests for each new method.
I think that use the Builder to get an instance with all variables
initialized is a good way.
Thanks.
> Improve performance of resource retrieval that have tags associated and
> target volumes, VMs and templates
> ---------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9298
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9298
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.9.0
> Reporter: Nicolas Vazquez
> Fix For: 4.9.0
>
>
> h2. Description of the problem
> When retrieving a large number of resources which have tags associated with,
> retrieval methods took too long. Our goal is to improve performance of this
> methods
> h3. ListTemplatesCmd API method
> It is proposed to include tags information into template_view to avoid
> querying the database for each tag, managing that information in memory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)