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

ASF GitHub Bot commented on CLOUDSTACK-9700:
--------------------------------------------

Github user priyankparihar commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1894#discussion_r104106536
  
    --- Diff: 
api/src/org/apache/cloudstack/api/command/admin/template/RegisterTemplateCmdByAdmin.java
 ---
    @@ -40,10 +40,23 @@
         @Override
         public void execute() throws ResourceAllocationException{
             try {
    +            if ((zoneId != null) && (zoneIds != null && 
!zoneIds.isEmpty()))
    --- End diff --
    
    Unnecessary brackets should be removed.


> Allow user to Register/Copy templates to multiple zones at the same time
> ------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9700
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9700
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Template, UI
>    Affects Versions: 4.7.0, 4.8.0, 4.9.0
>            Reporter: Rashmi Dixit
>            Assignee: Rashmi Dixit
>             Fix For: 4.10.0.0
>
>         Attachments: CopyTemplate-multiplezones.PNG, 
> CopyTemplate-WithSearchZone.PNG, RegisterTemplate-multiselect-error.PNG, 
> RegisterTemplate-multiselect.PNG
>
>
> A user can currently copy or register a template with only one zone at a 
> time. 
> The idea of this feature is to allow the user to allow copying or registering 
> of one template to multiple zones at the same time.
> Both the UI and API need changes in this case. The UI for the destination 
> zone is currently a drop down. It can be a multi-select box.
> The APIs need to accept destination zone as an array instead of a single ID.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to