[ https://issues.apache.org/jira/browse/CLOUDSTACK-8687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696699#comment-14696699 ]
ASF GitHub Bot commented on CLOUDSTACK-8687: -------------------------------------------- Github user devdeep commented on the pull request: https://github.com/apache/cloudstack/pull/635#issuecomment-131020409 Added another test to validate the prepareTemplate function. Looked into if it was possible to mock the threadpool executor service in templatemanagerimpl. However, it is currently a private member and I couldn't find a way to mock it. > Update prepare template api to seed/prepare a template only on a give primary > storage > ------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8687 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8687 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Reporter: Devdeep Singh > Assignee: Devdeep Singh > Original Estimate: 2h > Remaining Estimate: 2h > > Currently, the prepare template api will seed/prepare a given template on all > the primary storage pools in a zone. If however, a user wishes to prepare a > template only a particular storage pool, it isn't possible. > The prepare template api should be updated to allow seedng/preparing a > template only on a given primary storage pool. -- This message was sent by Atlassian JIRA (v6.3.4#6332)