jclouds/compute
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
pom.xml Use AutoService to generate service loader metadata 2015-01-12 11:19:07 -08:00