You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/02/27 09:07:13 UTC

[jira] [Commented] (CLOUDSTACK-420) listZones missing name parameter

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

ASF subversion and git services commented on CLOUDSTACK-420:
------------------------------------------------------------

Commit 53b6ba379899985ee1a40ade1aca7a1e9777ff71 in branch refs/heads/master from Prasanna Santhanam <ts...@apache.org>
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=53b6ba3 ]

CLOUDSTACK-420: listZones missing name parameter

When calling the listZones API command, you can now supply a name to pull a specific zone by name.

Updated two classes to include name paramater and query data centers/zones by name if suppled:
- server/src/com/cloud/api/query/QueryManagerImpl.java
- api/src/org/apache/cloudstack/api/command/user/zone/ListZonesByCmd.java

Signed-off-by: Prasanna Santhanam <ts...@apache.org>

                
> listZones missing name parameter
> --------------------------------
>
>                 Key: CLOUDSTACK-420
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-420
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: pre-4.0.0
>            Reporter: Kenneth Bell
>            Assignee: Prasanna Santhanam
>            Priority: Minor
>
> Unlike all the other listXXX API calls, listZones doesn't take the name of the zone as a parameter.
> This is inconvenient as it means in some code I'm writing I have to query all zones, and filter client-side, rather than retrieving just the zone of interest.

--
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