jclouds/apis/ec2
Aled Sage ee42fb1a68 JCLOUDS-529: fix aws-ec2 cleanupIncidentalResources
- 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
2015-01-29 12:37:25 +01:00
..
src JCLOUDS-529: fix aws-ec2 cleanupIncidentalResources 2015-01-29 12:37:25 +01:00
README.txt JCLOUDS-394. Add note to ec2 README in re: live tests and new accounts 2013-12-08 18:45:16 -08:00
pom.xml Use AutoService to generate service loader metadata 2015-01-12 11:19:07 -08:00

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.