Andrea Turli
3bc66ce8b5
Next development version 1.9.4-SNAPSHOT
2016-11-23 16:40:44 +01:00
Andrea Turli
17d9f78003
Apache jclouds 1.9.3-rc1 release
2016-11-23 16:40:44 +01:00
Ignasi Barrera
28b63e0c40
Next development version 1.9.3-SNAPSHOT
2016-01-12 16:08:02 +01:00
Ignasi Barrera
3b9b981d37
Apache jclouds 1.9.2 release
2016-01-12 16:04:18 +01:00
Ignasi Barrera
30aca7d833
Next development version 1.9.2-SNAPSHOT
2015-08-02 11:56:20 +02:00
Ignasi Barrera
547f827e18
Apache jclouds 1.9.1 release
2015-08-02 11:52:31 +02:00
Zack Shoylev
10e5d69d64
Adds windows ACL code for file permissions, fixes build.
2015-04-28 14:38:40 -05:00
Andrew Gaul
e25a44eab9
JCLOUDS-732: Filesystem portable object ACLs
2015-03-31 17:24:34 -07:00
Andrew Gaul
e829690e7e
JCLOUDS-660: Filesystem portable container ACLs
2015-03-31 17:24:31 -07:00
Ignasi Barrera
9c92487c29
Next development version 1.9.1-SNAPSHOT
2015-03-29 22:44:17 +02:00
Ignasi Barrera
bb41ed4341
Apache jclouds 1.9.0 release
2015-03-24 10:35:42 +01: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
Ka-Hing Cheung
be7b9f4cc4
fix non-recursive list with empty prefix
2015-02-20 23:29: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
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
a8c5e28129
Windows fixes, mostly separator related.
2015-01-28 19:47:19 -06:00
Ka-Hing Cheung
3cabb196ce
fix usermetadata check on OS X
...
Java on OS X does not support extended attributes, which the
filesystem blobstore uses to implement user metadata. This disable
the relevant test on OS X
2015-01-20 17:33:22 -08:00
Ka-Hing Cheung
5edd5de38c
make xattr work in docker volume
...
when you bind a host volume into docker, java does not correctly
detect that and checks the xattr support on the root fs instead
of the host fs. The root fs often does not support xattr, so
the check would fail even if the target really does support xattr.
the fix is just try setting the xattrs anyway, and let them fail
if there really isn't xattrs support
2015-01-13 18:08:55 -08:00
Ka-Hing Cheung
5cc3b243fc
disable directory blob tests in OS X
...
On OS X, java doesn't support xattrs, which is required by
directory blobs. Disable those tests on OS X
2015-01-12 12:32:41 -08:00
Andrew Gaul
fae097e144
JCLOUDS-654: Add object size to StorageMetadata
...
This allows callers to read the content length during container
listing. Tested against: atmosonline, aws-s3, azureblob, filesystem,
and transient. Intentionally not implemented for legacy swift
provider.
2015-01-09 22:34:56 -08:00
Ka-Hing Cheung
b7ab8b18a0
support directory blobs
...
make the filesystem blob store distinguish between a/ and a. a/
must be a directory blob with no content and only metadata
on listing, only directories with md5 attribute is considered a
blob and returned
2015-01-09 16:28:16 -08:00
Andrew Gaul
77eaa2c1f9
Add container creation date to local blobstores
2015-01-09 14:10:33 -08:00
Jeremy Daggett
d3c1e2eab4
Use AutoService to generate service loader metadata
2015-01-09 11:22:12 -08:00
Ka-Hing Cheung
692691bcdc
fix fs container validator test
...
previoisly it was testing blob key validator instead of container
name validator
2015-01-07 11:36:47 -08:00
Ignasi Barrera
7775f1a6b0
JCLOUDS-747: Configured Animal Sniffer plugin to check runtime compatibility
2014-11-27 18:06:19 +01:00
Adrian Cole
0012e6f950
JCLOUDS-534 Avoid runtime incompatibility introduced by Guava's closeQuietly.
2014-10-29 17:01:26 -07:00
Adrian Cole
2a1dff243d
JCLOUDS-652 Pin filesystem api to Java 7+.
2014-10-25 10:29:33 -07:00
Adrian Cole
a22a725293
JCLOUDS-40 Remove AsyncBlobStore references from filesystem api
2014-10-05 13:18:02 -07:00
Adrian Cole
dfb583b67a
JCLOUDS-40 remove all implementations of AsyncBlobStore except Submission in preparation for complete removal.
2014-10-05 08:49:38 -07:00
Andrew Gaul
000a505360
Prefer Files.delete(Path) over File.delete
...
The former throws an exception including the cause if the operation
fails while the latter merely returns a boolean.
2014-09-08 18:41:27 -07:00
Andrew Gaul
fc4b072a26
Ignore non-existent container in deleteContainer
...
All other blobstore providers allow this operation. Further this
matches the behavior of TransientStorageStrategy.deleteContainer.
This commit prevents a spurious error message from
deleteContainerOrWarnIfUnable after test suite completion.
2014-09-08 18:37:19 -07:00
Andrew Gaul
7869d92b29
Skip test when filesystem does not have xattr
...
Addresses regression from a104944
seen on CloudBees.
2014-09-05 17:53:59 -07:00
Andrew Gaul
a1049449f4
Reset xattr on overwrite in filesystem provider
2014-09-04 17:22:26 -07:00
Andrew Gaul
550018a68d
Use randomByteSource to generate test data
...
This avoids buffering the entire bolus of data in-memory.
2014-08-27 15:59:36 -07:00
Andrew Gaul
9009bb5268
JCLOUDS-658: use xattr only on supported systems
...
Mac OS X HFS+ does not support UserDefinedFileAttributeView:
https://bugs.openjdk.java.net/browse/JDK-8030048
2014-08-12 12:30:06 -07:00
Andrew Gaul
204a6c7f3b
JCLOUDS-658: xattr for filesystem blob metadata
...
This allows the filesystem blobstore to mimic real blobstores more
accurately. This also doubles the speed of getBlob by storing the
Content-MD5 header instead of recalculating it.
2014-08-11 12:56:14 -07:00
Andrew Phillips
e3d9851216
Up to 2.0.0-SNAPSHOT after the 1.8.0 release
2014-08-05 09:10:24 +02:00
Andrew Gaul
1e1eb5a092
Add deleteContainerIfEmpty to BlobStore
...
This matches how most blobstores operate: delete container is a single
operation, not a compound operation which recursively deletes blobs.
Azure is the only provider which allows deleting a non-empty
container.
2014-07-25 23:02:39 -07:00
Andrew Phillips
365ac21f1e
Addressing a Checkstyle violation
2014-07-22 13:35:43 -04:00
Andrew Gaul
d1bd551edf
Add support for filesystem last modified
2014-07-21 12:25:04 -07:00
Andrew Gaul
370194b2be
Enable more filesystem integration tests
...
Other tests will require Java 7 xattr support.
2014-07-19 12:17:23 -07:00
Andrew Gaul
dd3dc9790e
Close streams in integration tests
...
Also remove bogus delete workaround. Previously unclosed
FileInputStream caused test failures on Windows which cannot delete
open files. Found with Kohsuke's file-leak-detector.
2014-07-19 05:25:20 -07:00
Andrew Gaul
fb60d76704
JCLOUDS-622: Remove most vestiges of InputSupplier
...
Guava 16 deprecated InputSupplier and a future release will remove it.
2014-07-16 16:07:59 -07:00
Andrew Gaul
a8b106c2bb
JCLOUDS-622: remove calls to InputSupplier methods
...
Guava 16 deprecated these methods and Guava 18 will remove them.
2014-07-15 03:09:58 -07:00
Andrew Gaul
f4eca0422d
Enforce correct MD5 for local blobstores
...
Matches behavior of real blobstores.
2014-07-10 22:19:42 -07:00
Andrew Gaul
e799a7409c
JCLOUDS-597: HashCode methods for Content-MD5
...
This works more naturally with Guava Hashing methods and immutability
provides better safety guarantees. Also deprecate existing byte[]
methods.
2014-06-12 15:29:17 -07:00
Andrew Gaul
9cdd53b0b7
JCLOUDS-546: Remove Javadoc @author annotations
...
Annotations removed with:
find -name \*.java | xargs sed -i /@author/d
Empty Javadoc removed with multiple iterations of:
find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
2014-06-07 21:44:54 -07:00
Andrew Gaul
186f052022
Remove BlobBuilder and Payloads.calculateMD5
...
Callers should instead explicitly set contentMD5, usually with the
results from Guava Hashing.md5(). This narrows the API and removes a
strange IOException from callers. Further it removes a dangerous
rebuffering of arbitrarily-large non-repeatable Payloads.
2014-05-28 12:54:18 -07:00
Andrew Gaul
0d2c7ed6ff
Use HashingInputStream to avoid buffering Payload
2014-05-27 15:53:06 -07:00