You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Likitha Shetty <li...@citrix.com> on 2013/02/01 06:04:48 UTC

Re: Review Request: [EC2 Query API] DescribeAvailabilityZones doesn't have any filter support.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9218/
-----------------------------------------------------------

(Updated Feb. 1, 2013, 5:04 a.m.)


Review request for cloudstack and Prachi Damle.


Summary (updated)
-----------------

[EC2 Query API] DescribeAvailabilityZones doesn't have any filter support. 


Description
-------

Support will be available for filters - zone-name and message 


This addresses bug CLOUDSTACK-1118.


Diffs
-----

  awsapi/src/com/cloud/bridge/service/EC2RestServlet.java 78e736f 

Diff: https://reviews.apache.org/r/9218/diff/


Testing
-------

1. Run ec2-describe-availability-zones
2. Run ec2-describe-availability-zones --filter zone-name=<zone-name obtained form 1> - return the zone
3. Run ec2-describe-availability-zones --filter zone-name=<invalid zone name> - empty response


Thanks,

Likitha Shetty


Re: Review Request: [EC2 Query API] DescribeAvailabilityZones doesn't have any filter support.

Posted by Prachi Damle <pr...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9218/#review16320
-----------------------------------------------------------

Ship it!


Good to have filters on the API. 
Commit hash:	b5e28038cbc85e4e39bfc2b71927e2935b1f1673


- Prachi Damle


On Feb. 1, 2013, 5:04 a.m., Likitha Shetty wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9218/
> -----------------------------------------------------------
> 
> (Updated Feb. 1, 2013, 5:04 a.m.)
> 
> 
> Review request for cloudstack and Prachi Damle.
> 
> 
> Description
> -------
> 
> Support will be available for filters - zone-name and message 
> 
> 
> This addresses bug CLOUDSTACK-1118.
> 
> 
> Diffs
> -----
> 
>   awsapi/src/com/cloud/bridge/service/EC2RestServlet.java 78e736f 
> 
> Diff: https://reviews.apache.org/r/9218/diff/
> 
> 
> Testing
> -------
> 
> 1. Run ec2-describe-availability-zones
> 2. Run ec2-describe-availability-zones --filter zone-name=<zone-name obtained form 1> - return the zone
> 3. Run ec2-describe-availability-zones --filter zone-name=<invalid zone name> - empty response
> 
> 
> Thanks,
> 
> Likitha Shetty
> 
>