Andrew Gaul
d57b6e7b8f
Use correct port in testPublicAccess
...
Also reduce timeout from 20 minutes to 1.
2015-06-24 14:51:16 -07:00
Iván López
f155242838
Add missing value in Content-Range header
...
This is related with #776 . It's necessary to add
the 'bytes' string before the bytes.
2015-06-19 08:24:18 +02:00
Andrew Gaul
3a410a25a8
Test for Content-Range header in single range get
...
Also emit this header in LocalBlobStore.
2015-06-17 11:43:17 -07:00
Andrew Gaul
1f7f8c8c86
Refine HTTP 416 into IllegalArgumentException
...
Providers yield different messages so remove parsing from test. Also
narrow exception handling scope.TTP 416 into IllegalArgumentException
Providers yield different messages so remove parsing from test. Also
narrow exception handling scope.
2015-06-16 21:47:30 -07:00
Andrew Gaul
b0dfae1092
Use a configurable timeout for awaitConsistency
...
This allows setting to zero for strongly-consistency implementations
of s3 and swift stores.
2015-06-15 15:45:17 -07:00
Ka-Hing Cheung
6ed95d8968
fix range get for manifest object
...
swift doesn't return the etag if the client is doing a range
get of a manifest (SLO or DLO), this fixes SwiftObject so
etag is optional
2015-06-10 13:38:55 -07:00
Ka-Hing Cheung
23ef39416d
use awaitConsistency in more places so provider can override it
2015-06-09 23:05:37 -07:00
Ka-Hing Cheung
140fb7ea7b
fix multipart put of a blob with content md5
...
previously the parts will carry the content md5 of the entire
object, because unsetting the md5 of a ContentMetadata actually
didn't do anything
2015-06-09 22:59:30 -07:00
Ka-Hing Cheung
573ceb51c3
metadata and content metadata should have the same length
...
for range get in a LocalBlobStore, metadata.getSize() has the
original blob size and contentMetadata.getContentLength() has
the actual payload size. Other blobstores have the same size
in both
2015-06-08 14:28:16 -07:00
Andrew Gaul
f14514c068
JCLOUDS-894: Add portable multipart upload
...
This unifies the provider multipart upload code paths and removes code
duplication.
2015-06-06 16:32:16 -07:00
Andrew Gaul
00734ee755
JCLOUDS-894: Move MultipartUploadSlicingAlgorithm to core
2015-06-06 16:32:16 -07:00
Ka-Hing Cheung
1ccdae46fa
remove blob uri from transient blobstore
...
container may not be valid hostnames and the current blob uri
code can fail. there isn't really a way to use uri for transient
blobstore anyway, and removing it is the easier option. for
reference, filesystem blobstore also doesn't do this
2015-05-30 22:24:48 -07:00
Andrew Gaul
f19853c278
Revert "metadata and content metadata should have the same length"
...
This reverts commit bbafc34d462f32d0d2a617e30b78d961b9661135.
2015-05-27 22:19:15 -07:00
Ka-Hing Cheung
1103a778d2
implemented some basic range validations in local blob store
...
also fixed a range get bug in local blob store
2015-05-27 16:30:05 -07:00
Ka-Hing Cheung
bbafc34d46
metadata and content metadata should have the same length
...
for range get in a LocalBlobStore, metadata.getSize() has the
original blob size and contentMetadata.getContentLength() has
the actual payload size. Other blobstores have the same size
in both
2015-05-26 16:45:34 -07:00
Zack Shoylev
f397bebeb2
JCLOUDS-894 Multipart upload code fixes for swift
2015-05-12 19:13:15 -05:00
Andrew Gaul
b9c5b5b4e9
JCLOUDS-894: Expose local blobstore multipart operations
2015-05-01 13:07:23 -07:00
Andrew Gaul
71cdba1571
JCLOUDS-894: Expose multipart component operations
2015-05-01 13:07:23 -07:00
Andrew Gaul
40ba156937
JCLOUDS-651: portable copy object content metadata
2015-04-08 17:58:41 -07:00
Andrew Gaul
b35295c238
JCLOUDS-651: Add @Beta annotations to copy methods
2015-04-08 17:12:51 -07:00
Ignasi Barrera
b6fcac9667
JCLOUDS-651: Fix filesystem integration tests in OSX
2015-04-07 10:53:48 +02:00
Andrew Gaul
d8f48c48b4
JCLOUDS-651: Copy Swift system metadata
2015-04-06 15:35:59 -07:00
Andrew Gaul
a6a232a7a1
JCLOUDS-651: Ensure copy replaces user metadata
...
Some object stores have additive semantics for metadata. As currently
implemented Azure, S3, and Swift consistently replace user metadata
but have different behavior for system metadata, e.g., Content-Type.
2015-04-03 17:50:33 -07:00
Andrew Gaul
3cf8abc22e
JCLOUDS-651: Add copyBlob to portable abstraction
...
Some providers optimize this operation with a server-side copy. Add a
fallback implementation which does a client-side copy.
2015-04-02 15:36:52 -07:00
Zack Shoylev
914ad04ae9
Fixes missing consistency waits in testDirectory
2015-04-02 17:14:40 -05:00
Andrew Gaul
279a984fee
JCLOUDS-732: Transient portable object ACLs
2015-03-31 15:33:34 -07:00
Andrew Gaul
a062bf841a
JCLOUDS-660: Transient portable container ACLs
2015-03-31 15:33:33 -07:00
Andrew Gaul
e7940d52f9
Add ReadOnlyBlobStore
...
This prohibits mutating operations.
2015-03-31 13:13:19 -07:00
Andrew Gaul
9d9acd1559
Add ForwardingBlobStore
...
Useful for implementing various facades: encryption, read-only, etc.
2015-03-31 13:13:19 -07:00
Ignasi Barrera
f469cf8b51
Next development version 2.0.0-SNAPSHOT
2015-03-24 10:52:01 +01:00
Ignasi Barrera
bb41ed4341
Apache jclouds 1.9.0 release
2015-03-24 10:35:42 +01:00
Andrew Gaul
9f93941525
Add content length to exception message
2015-03-02 16:51:59 -08:00
Ka-Hing Cheung
a2ee7341e3
fix non-recursive list of dir with empty prefix
2015-02-23 17:52:42 -08:00
Andrew Gaul
d8aea21f72
JCLOUDS-732: Local blobstore portable object ACLs
...
Intentionally unimplemented.
2015-02-21 10:28:02 -08:00
Andrew Gaul
49cd0aeba2
JCLOUDS-732: portable object ACLs
2015-02-21 10:28:01 -08:00
Andrew Gaul
bc81919c58
Add @Beta annotations to BlobStore ACL methods
...
Also add missing @Override annotations.
2015-02-21 10:18:57 -08:00
Ka-Hing Cheung
be7b9f4cc4
fix non-recursive list with empty prefix
2015-02-20 23:29:48 -08:00
Zack Shoylev
290a458e5e
Fixes more timing issues in the BaseBlobIntegrationTest
2015-02-18 04:53:40 -06:00
Zack Shoylev
07f1fb69a7
Fixes more tests with timing problems
2015-02-18 03:46:37 -06:00
Zack Shoylev
14d4ce635f
Refactors BaseBlobIntegrationTest and eventual consistency fix
2015-02-17 04:49:35 -06:00
Zack Shoylev
dce4cd29ec
Refactors consitency pause in blob tests and more fixes
2015-02-16 13:21:06 -06:00
Zack Shoylev
a8dde0550b
Adds a few more pauses for eventual consistency
2015-02-16 11:54:26 -06: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
994f84e4f5
JCLOUDS-660: Local blobstore portable container ACLs
...
Intentionally unimplemented.
2015-02-12 17:26:47 -08:00
Andrew Gaul
a19795800a
JCLOUDS-660: portable container ACLs
2015-02-12 17:26:47 -08: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
a8c5e28129
Windows fixes, mostly separator related.
2015-01-28 19:47:19 -06:00