Commit Graph

9194 Commits

Author SHA1 Message Date
Andrew Gaul ecc8548fbd JCLOUDS-144: S3 multi-blob delete 2015-02-15 01:06:03 -08:00
Andrew Gaul 9898e99b50 JCLOUDS-144: Portable multi-blob delete 2015-02-15 01:06:03 -08:00
Zack Shoylev f6d43f6962 Fixes blob-related tests that fail occasionally 2015-02-13 17:25:15 -06:00
Andrew Gaul 4bb319a0cc JCLOUDS-820: Support multi-delete for generic S3
Tested against AWS and DreamObjects.  This commit only moves and
renames code.
2015-02-13 06:23:16 -08:00
Andrew Gaul b46ec7eb29 Upgrade to duplicate-finder-maven-plugin 1.1.1
Upstream maintainer has changed according to:

https://github.com/ning/maven-duplicate-finder-plugin
2015-02-12 18:23:41 -08:00
Andrew Gaul ba2f8ac232 JCLOUDS-258: Support MPU for generic S3
Tested against AWS-S3 and DreamObjects.  This commit only moves and
renames code although some classes are duplicated for deprecation
purposes.
2015-02-12 17:59:33 -08:00
Andrew Gaul fcc991fa22 JCLOUDS-660: Swift portable container ACLs
Not implemented for legacy Swift.
2015-02-12 17:26:48 -08:00
Andrew Gaul ec3f035487 JCLOUDS-660: S3 portable container ACLs 2015-02-12 17:26:48 -08:00
Andrew Gaul 994f84e4f5 JCLOUDS-660: Local blobstore portable container ACLs
Intentionally unimplemented.
2015-02-12 17:26:47 -08:00
Andrew Gaul 261bb7eece JCLOUDS-660: Legacy Swift portable container ACLs
Intentionally unimplemented.
2015-02-12 17:26:47 -08:00
Andrew Gaul d701f6a127 JCLOUDS-660: Azure portable container ACLs 2015-02-12 17:26:47 -08:00
Andrew Gaul c1549e8ae2 JCLOUDS-660: Atmos portable container ACLs 2015-02-12 17:26:47 -08:00
Andrew Gaul a19795800a JCLOUDS-660: portable container ACLs 2015-02-12 17:26:47 -08:00
Andrew Gaul eacfc8fdf1 Handle removal during iteration
Previously this threw UnsupportedOperationException due to
findGrantsForGrantee returning an immutable view.
2015-02-12 17:26:47 -08:00
lbortman 3e8413335d add availability zone to server 2015-02-12 13:47:00 -08:00
Zack Shoylev 8439c7238d Make cloudfiles live tests more stable by making them single threaded 2015-02-11 13:28:21 -06:00
Jeremy Daggett 59fc23249f Removed wildcard from getAttachInterfaceApi and fixed formatting 2015-02-11 09:42:22 -08:00
Evgeny Tarasenko a356ca9991 Implemented Nova compute attach interfaces extension. 2015-02-11 08:23:20 -08:00
Andrea Turli cc277e7e69 remove cloudservers 2015-02-10 15:20:57 -08:00
Zack Shoylev a8982c48c6 Fixes swift - create container with metadata 2015-02-10 15:13:25 -06:00
Zack Shoylev ba4435040f Fixes a NPE in swift when maxResults is set to 0 2015-02-09 18:34:44 -06:00
Zack Shoylev 0423ba802a Makes testSignPutUrlWithTime much slower but passes live testing 2015-02-06 21:29:44 -06:00
Zack Shoylev 1f35e959aa Makes the test testSignGetUrlWithTime more robust 2015-02-06 15:37:27 -06:00
Zack Shoylev 041b047a2d Make testGetIfUnmodifiedSince a lot more robust (but slower) 2015-02-05 23:26:23 -06:00
Zack Shoylev 66457ff8f8 fix jclouds live tests failing when a keypair is missing. 2015-02-05 17:00:49 -06:00
Ignasi Barrera 67a7031f30 Fixed the CONTRIBUTING links 2015-02-05 15:10:37 +01:00
Andrew Gaul 8a2c821e13 JCLOUDS-794: Use bogus URL for generic S3 endpoint
This prevents users from accidentally connecting to AWS.
2015-02-04 13:42:03 -08:00
Ignasi Barrera fa8b9e2332 Fix location assignment in SoftLayer VirtualGuestToNodeMetadata 2015-02-04 18:07:39 +01:00
Ignasi Barrera acd06b3024 JCLOUDS-462: Fix AWSEC2TemplateBuilderLiveTest 2015-02-04 11:04:18 +01:00
Ignasi Barrera 9a8a604bac Added C4 instance types 2015-02-04 11:04:18 +01:00
Andrew Gaul 10690f9293 Handle null return value from File.listFiles
This matches the behavior of other call sites.
Fixes andrewgaul/s3proxy#39.
2015-02-03 20:22:58 -08:00
Zack Shoylev 9fc2ca98a0 Adds a flavor filter for nova to make sure the Ubuntu image works well 2015-01-30 20:13:55 -06:00
Zack Shoylev c64470e0b1 Fixes flavor and template tests to be more robust. 2015-01-30 15:19:55 -06:00
Zack Shoylev 99d0fcaaad Fixes the metadata to specify Ubuntu by default. 2015-01-30 12:30:52 -06:00
Aled Sage bdfd1facb9 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-30 11:07:25 +01:00
Aled Sage 55f7e48d89 Fix/improve retry-predicate:
- If get timeout of 0 (or negative), then still try once.
- Remove (unlikely) race in retry’s apply(T) where context-switching
  delays could cause `before(end)` to return false the first time, even
  though the timeout was positive.
- Ensure retries at end of the timeout (e.g. if timeout is 30 secs
  and last sleep takes us up to the 30 secs mark, then test again
  rather than returning immediately after the sleep!)
- Use `long` for time, rather than `java.util.Date`, for internal
  calculations. Deprecates old protected methods that use Date.
2015-01-30 11:07:25 +01:00
Zack Shoylev ee9c269aea Fixes some missing cloudservers locations iso codes: "US-IL", "US-TX", "US-VA", "AU-NSW", "HK" 2015-01-29 20:16:52 -06:00
Zack Shoylev 4db8b2360b Fixes a missing image. Test now tries to match image by name. 2015-01-29 18:26:20 -06:00
Andrea Turli b75b0c28d6 JCLOUDS-813: fix list private images
modify the listImages and getImage strategies in SoftLayerComputeServiceAdapter
add support for VirtualGuestBlockDeviceTemplateGroupApi getObject
remove PROPERTY_SOFTLAYER_INCLUDE_PUBLIC_IMAGES
add Expect and Live tests for VirtualGuestBlockDeviceTemplateGroup.getObject
2015-01-29 12:48:20 +01:00
Zack Shoylev a8c5e28129 Windows fixes, mostly separator related. 2015-01-28 19:47:19 -06:00
Andrew Kennedy 9e1d1cbfa9 Fix Softlayer template options to return correct type and set disk types even if no block device configured 2015-01-28 09:30:57 +01:00
Ignasi Barrera cc49f934d7 Fixed checkstyle violations 2015-01-27 10:45:08 +01:00
Taylor Jones 73600c8174 fix for JCLOUDS-655 2015-01-26 14:26:30 -06:00
Zack Shoylev ca58f627d9 Fixes a problem on windows where the separator is different 2015-01-26 13:52:30 -06:00
Andrew Gaul 34733e991b Skip test which cannot run on openstack-swift 2015-01-24 15:12:38 -08:00
Andrew Gaul 7863df69a6 Skip tests which cannot run on Atmos 2015-01-24 14:08:08 -08:00
Andrew Gaul 3ab2716a7a Skip tests which cannot run on Azure 2015-01-24 13:42:27 -08:00
Andrew Gaul affad9fa3b JCLOUDS-96: JCLOUDS-351: Fix S3 copy if tests
Use correct options in testCopyIfUnmodifiedSince, use looser time
bounds, and ensure that tests throw HttpResponseException when
expected.
2015-01-24 10:56:21 -08:00
Andrew Gaul 2ed971d216 Correct test expectation
Fixed by 49d7d9d3b7.
2015-01-23 21:07:45 -08:00
Andrew Gaul af1a01a0af JCLOUDS-96: Handle us-standard in testAllLocations 2015-01-23 19:24:44 -08:00