mirror of https://github.com/apache/jclouds.git
ee42fb1a68
- Some users get a DependencyVioloation, rather than InvalidGroup.InUse, when attempting to delete the security group. This caused cleanupIncidentalResources to propagate an exception. - Fixes it by converting this to an IllegalStateException (in same way as is done for “InUse”) - Adds tests (using MockWebServer) for happy-path and for failing to delete the security group with each of InUse and DependencyViolation responses. - Adds Timeouts.cleanupIncidentalResources - Use that timeout in EC2, when retrying the deletion of security group on VM deletion (previously hard-coded as 3 seconds). - Configure that timeout in the tests, so deterministic number of retries |
||
---|---|---|
.. | ||
src | ||
README.txt | ||
pom.xml |
README.txt
# # The jclouds API for Amazon's EC2 service (http://aws.amazon.com/ec2/). # # TODO: Implementation status. # TODO: Supported features. # TODO: Usage example. NOTE: The live tests in apis/ec2 will *not* work against AWS EC2 with AWS accounts created from December 04, 2013 and onward, due to those accounts only supporting VPC, and VPC requiring different parameters (ID rather than name) for referring to and acting on security groups. To run the EC2 live tests against AWS, go to providers/aws-ec2. apis/ec2 will retain the older security group name usage to support EC2 API shims, such as OpenStack, CloudStack, etc.