cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty" <likitha.she...@citrix.com>
Subject Review Request: [EC2 Query API] RunInstances allows negative values for paramters 'MinCount' and 'MaxCount'
Date Fri, 01 Feb 2013 09:51:06 GMT

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

Review request for cloudstack and Prachi Damle.


Description
-------

Add parameter validation to ensure MinCount is greater than 0 and MaxCount is great than or
equal to MinCount


This addresses bug CLOUDSTACK-1131.


Diffs
-----

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

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


Testing
-------

Run ec2_run_instances with negative value for either MinCount or MaxCount - 'InvalidParameterValue'
error should be obtained


Thanks,

Likitha Shetty


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message