8136 Commits

Author SHA1 Message Date
Andrew Gaul
962003bb0b Skip testCreateBlobWithExpiry for Swift
jclouds does not implement this functionality.  Now all tests pass for
cloudfiles-us.
2013-10-13 20:09:57 -07:00
Andrew Gaul
13e55349a3 Do not set hash to null unnecessarily
This avoids test failures seen in
CommonSwiftClientLiveTest.testObjectOperations.
2013-10-13 19:25:56 -07:00
Andrew Gaul
af115a1240 Get container name before creating with metadata 2013-10-12 14:11:04 -07:00
Andrew Gaul
12c23f39f9 Do not call createContainer(getContainerName)
BaseBlobStoreIntegrationTest.getContainerName implicitly calls
createContainer.
2013-10-12 12:39:50 -07:00
Everett Toews
2a041bdf2a Support HKG region for Rackspace providers. 2013-10-10 21:08:53 -05:00
Andrew Gaul
99a01fac1f JCLOUDS-339. Handle zero-length objects in Atmos
Atmos does not return a location header when writing zero-length
objects, which normally throws an HttpResponseException: no uri in
headers or content.
2013-10-08 22:15:02 -07:00
Andrew Gaul
1ee9a61fb5 JCLOUDS-334. Return URI only if container created
This allows us to honor the BlobStore.createContainerInLocation
interface and gives consistency with other providers.
2013-10-08 13:04:29 -07:00
Andrew Gaul
f6b502707d Skip failing testCreateBlobWithExpiry on Atmos 2013-10-08 11:45:51 -07:00
Shri Javadekar
313484567b JCLOUDS-334. Return correct status while creating containers in Swift.
BlobStore.createContainerInLocation is supposed to return True if the
container was newly created and False if the container already
existed. This commit makes that happen for Swift blobstores.
2013-10-07 21:49:25 -07:00
Adrian Cole
a25a7aa12c JCLOUDS-311. work around mixed versions in hpcloud-objectstorage regions 2013-09-30 15:34:02 -07:00
Niraj Tolia
ebd75d36ef [JCLOUDS-302] Remove unnecessary String construction in HttpUtils 2013-09-27 16:16:30 -07:00
Niraj Tolia
82708c98de [JCLOUDS-301] Reduce reflection overhead of Invokable.getParameters()
By caching the results from Invokable.getParameters(), this commit
improves request signing performance (GETs and PUTs) for S3 by >
3X. These performance problems were seen in production and diagnosed
using the YourKit profiler.
2013-09-27 07:50:15 -07:00
Francis Devereux
44e8487230 JCLOUDS-251: Swift: Delete chunks when deleting a multipart blob
Also:
- Make SwiftBlobIntegrationLiveTest.testMultipartChunkedFileStream more realistic by uploading a file large enough to be split into parts.
- JavaDoc fixes for SwiftBlobStore: don't reference nonexistent methods.
2013-09-21 20:35:04 -07:00
JoshVote
d6bb789efb JCLOUDS-277: Made the description in org.jclouds.compute.domain.Image nullable 2013-09-16 16:30:32 +01:00
Aled Sage
8de60eab25 JCLOUDS-282: Add NL to assignable locations for SoftLayer
- zone contained NL, so needed to add it to SoftLayerProviderMetadata's
  iso3166Codes
2013-09-16 16:03:23 +01:00
Aled Sage
4f772c4d22 JCLOUDS-269: Report ram as MB rather than GB for SoftLayer 2013-09-16 11:06:24 +01:00
Andrew Gaul
81c8b7bedc Skip unimplemented test with transient blobstore 2013-09-16 02:53:53 -07:00
Andrew Gaul
82b9704e52 Add Atmos-specific MD5 checksum header
Tested against Atmos Online.
2013-09-11 18:06:27 -07:00
Andrew Gaul
5527fae061 Add test for correct and incorrect contentMD5
Tested against atmos (skipped), aws-s3, azureblob, cloudfiles-us, and
filesystem (skipped).
2013-09-11 16:14:35 -07:00
Andrew Gaul
48a12b0ce3 [JCLOUDS-279] Remove spurious executable bit 2013-09-11 15:55:44 -07:00
Andrew Gaul
b4454b6151 Delete containers after integration tests
Also return newly allocated containers to the pool.
2013-09-09 17:02:23 -07:00
Andrew Gaul
f6cf6a19b8 Reduce testFileGetParallel input size to ~160 KB
Previously this test downloaded 45 MB in 30 seconds which failed on
slower connections, causing spurious test failures.  The larger input
size provides no benefit.
2013-09-04 19:51:19 -07:00
Andrew Gaul
8cbd2bb7fb Run some filesystem integration tests
Previously no integration tests ran, now we see:

Tests run: 43, Failures: 0, Errors: 0, Skipped: 8
2013-09-04 14:10:02 -07:00
Andrew Gaul
0143a56fb5 Reduce testPutFileParallel input size to ~160 KB
Previously this test uploaded ~10 MB in 30 seconds which failed on
slower connections, causing spurious test failures.  The larger input
size provides no benefit.
2013-09-02 19:36:18 -07:00
Andrew Gaul
e2489f3942 Simplify testPutFileParallel
Create only one temporary file and use explicit delete instead
finalization to remove it.
2013-09-02 19:36:15 -07:00
Andrew Gaul
8e16ecb3ec Add trailing slash to Atmos listDirectories
This is more consistent with examples in the Atmos programmer's guide
and allows this operation to succeed when used with ViPR.
2013-08-30 09:08:13 -07:00
Andrew Bayer
6add9da5aa Deprecate vcloud/Terremark async interfaces and *Client classes 2013-08-29 11:28:42 -07:00
Andrew Gaul
f3e43b34f6 Support Integer.MAX_VALUE size PUTs
Previously jclouds enforced Integer.MAX_VALUE - 1 size.  Tested
against Atmos Online.
2013-08-28 13:52:34 -07:00
Francis Devereux
aee3c10a93 Handle quoted ETags for OpenStack objects to fix JCLOUDS-247
This avoids a 'java.io.IOException: Unrecognized character: "' when a quoted ETag is encountered (which happens when getting a multipart blob from Rackspace Cloud).
2013-08-28 13:00:47 -07:00
Andrew Gaul
0d0d5a0a03 Handle large putBlob with filesystem blobstore
Previously large putBlob caused an OutOfMemoryError even with
repeatable Payloads.  Fixes JCLOUDS-248.
2013-08-27 23:05:21 -07:00
Andrew Gaul
12860851b1 Allocate new container name using prefix
Before we used the previous container name, which kept appending and
hit S3 limits during integration tests like:

Caused by: java.lang.IllegalArgumentException: Object 'gaul-blobstore27-4348532805015069992-1155797412711190448-1465016400636204031' doesn't match S3 bucket virtual host naming convention. Reason: Can't be null or empty. Length must be 3 to 63 symbols.. For more info, please refer to http://docs.amazonwebservices.com/AmazonS3/latest/index.html?BucketRestrictions.html
2013-08-27 23:03:14 -07:00
Andrew Gaul
f899e39777 Skip testDirectory on S3
This test cannot succeed due to the way directories are implemented as
prefix pseudo-files in S3.
2013-08-27 23:01:47 -07:00
Andrew Phillips
6f4c796f73 [maven-release-plugin] prepare for next development iteration 2013-08-27 11:43:49 -04:00
Andrew Phillips
cd34259487 [maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc2 jclouds-1.6.2-incubating-rc2 jclouds-1.6.2-incubating 2013-08-17 12:07:33 -04:00
Andrew Bayer
ffff38561a JCLOUDS-242. Fix security group creation on aws-ec2.
Contributed by Richard Downer.
2013-08-15 12:24:23 -04:00
Andrew Phillips
66e19a6bce Revert "[maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc1"
This reverts commit 96fae29fdecbcb9249fbe2cc2e6eda127f3553ce.
2013-08-14 17:15:36 -07:00
Andrew Phillips
96fae29fde [maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc1 jclouds-1.6.2-incubating-rc1 2013-08-07 14:17:23 -04:00
Everett Toews
ece92aea4d Support IAD region for Rackspace providers. 2013-08-06 22:23:05 -05:00
Andrew Gaul
cbcfc90239 Disable timed temporary signed URLs for AWS-S3
This functionality uncovered subtleties in URL parameter encoding
which result in random failures integration tests.  References
JCLOUDS-200.
2013-08-06 14:19:47 -07:00
Andrew Gaul
2addcbf9d2 Add live test for JCLOUDS-233 2013-08-06 11:55:32 -07:00
Tom Manville
8dfb894007 Handle multiple of MAX_BLOCK_SIZE for Azure MPU
Currently files are not properly uploaded if they are a multiple of
MAX_BLOCK_SIZE.  Fixes JCLOUDS-233.
2013-08-06 11:55:25 -07:00
Diwaker Gupta
faecd45a01 Enable time-bound signed URL tests for HPCS.
HP does, in fact, support configurable temporary signed URLs:
http://docs.hpcloud.com/api/object-storage#temp_url

References JCLOUDS-231
2013-08-05 21:38:06 -07:00
Andrew Gaul
c0a438b671 Revert "A 401 error should result in re-authenticating for a new token"
This reverts commit 7b0cd9be43a6035a71652bb5c9f3cd604e18eb9d.

References JCLOUDS-231
2013-08-05 21:37:51 -07:00
Andrew Phillips
78e5832fd2 Revert "[maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc0"
This reverts commit 61baf2ada24858f49328db301b57f4e09702cc5e.
2013-08-05 20:38:51 -04:00
Andrew Phillips
0554c6f824 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit df6844474c8c104c219cc7c3a359ca124bf4747f.
2013-08-05 20:38:20 -04:00
Andrew Phillips
df6844474c [maven-release-plugin] prepare for next development iteration 2013-08-02 11:59:22 -04:00
Andrew Phillips
61baf2ada2 [maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc0 jclouds-1.6.2-incubating-rc0 2013-08-02 11:59:16 -04:00
Zack Shoylev
8688d8e0c3 When creating a server, allow attaching server to custom network
https://issues.apache.org/jira/browse/JCLOUDS-202
2013-08-01 21:58:10 -05:00
Andrew Bayer
24466fdaab Deprecating async/client classes for a number of apis/providers
Also added dummy *Api classes for classes that'll be renamed from
*Client->*Api in 1.7.0.
2013-08-01 17:58:26 -07:00
Andrew Bayer
0cbcc7d642 JCLOUDS-221. Add availabilityZone to spot price history. 2013-08-01 17:53:23 -07:00