jixinchi
6670c556d7
add unit test for Filesystem BlobKey and ContainerName validator
2024-05-06 22:37:53 +09:00
jixinchi
03aeccffdf
fix grammar error in sentence from contains to contain
2024-05-06 22:37:53 +09:00
jixinchi
b0819e0ef5
more validation for containerName and blobKey to avoid access escape
2024-05-06 22:37:53 +09:00
Andrew Gaul
d733401ce7
Set version to 2.6.1-SNAPSHOT
2024-04-24 20:29:39 +09:00
Andrew Gaul
107741f786
JCLOUDS-1629: Upgrade to Guice 7.0.0
...
This also changes from javax to jakarta annotations.
2024-02-26 15:27:29 +09:00
Andrew Gaul
b5e4e1d0fd
JCLOUDS-1627: Upgrade to Jakarta packages
...
This resolves an issue with newer Guice versions.
2024-02-23 18:04:48 +09:00
Valentin
47e3022519
FilesystemStorageStrategyImpl.getBlob() for a folder return blob as type Blob ( #187 )
...
Co-authored-by: Valentin Popov <popov@mailarchiva.ru>
2023-11-11 16:37:00 -05:00
jixinchi
eb1181daf5
check file exists in getContainerAccess ( #185 )
2023-10-12 18:18:30 +02:00
Andrew Gaul
12de6ef74d
Atomically replace objects in filesystem putBlob
...
Fixes gaul/s3proxy#490 . This fixes a regression from
41ce90ec36
. Continue to support
Windows logic although it is unclear if this is necessary.
2023-01-24 14:44:53 +09:00
Andrew Gaul
62632c9db6
JCLOUDS-1371: Optimize filesystem delimiter
...
populateBlobKeysInContainer will no longer recurse when the delimiter
matches "/". This makes listing deep hierarchies with a delimiter
faster. Note that the general LocalBlobStore handling is still
required for the general cases. This requires removing a bogus test
case. References gaul/s3proxy#473 .
2023-01-24 14:44:34 +09:00
Andrew Gaul
e478dd5452
JCLOUDS-1371: JCLOUDS-1488: optimize fs prefix
...
This reduces the number of stat calls required when prefix is deep in the
filesystem hierarchy. Further optimizations to delimiter are possible.
References gaul/s3proxy#473 .
2023-01-22 18:31:09 +09:00
Andrew Gaul
5111923566
Specify missing DataProviders
...
Uncovered by newer versions of testng.
2022-08-03 21:24:12 +09:00
Andrew Gaul
2b217fb2bb
Annotate public non-test methods
...
Newer versions of TestNG try to run these.
2022-08-03 21:24:12 +09:00
Andrew Gaul
65e16c97f5
Annotate test methods as singleThreaded
...
Newer versions of testng deprecate sequential.
2022-08-03 21:24:12 +09:00
Andrew Gaul
36f351cd18
Next development version 2.6.0-SNAPSHOT
2022-03-26 18:30:06 +09:00
Andrew Gaul
e8e78689e6
Next development version 2.4.0-SNAPSHOT
2021-09-19 08:58:25 +09:00
Andrew Gaul
7ad7890ad0
Next development version 2.4.0-SNAPSHOT
2021-04-14 23:07:54 +09:00
Andrew Gaul
56ad552344
Force application/x-directory for directories
...
Paths created by Files.createParentDirs lack extended attributes and
thus Content-Type for directories.
2021-02-03 21:36:28 +09:00
Andrew Gaul
dabc0ab6a9
Allow setting BlobAccess in LocalBlobStore.putBlob
...
This addresses a race condition with filesystem users.
2021-02-01 19:37:47 +09:00
gurkerl83
32f6c4d50f
Remove the OSGi configuration from each module. The approach of defining OSGi configuration through common properties and serving them to the bundle plugin gets no longer used; instead, OSGi configuration gets defined in each module's dedicated bnd file.
2020-10-26 19:58:41 +09:00
gurkerl83
7a9cd345a6
Onboard bnd-configuration files, one per module
2020-10-26 19:58:41 +09:00
Ignasi Barrera
f5b29c7028
Next development version 2.3.0-SNAPSHOT
2019-10-21 10:32:43 +02:00
Ignasi Barrera
7221844fac
Apache jclouds 2.2.0-rc1 release
2019-10-21 10:32:43 +02:00
Ignasi Barrera
a2cbdd3385
Etag is not supported in OSX
2019-10-13 10:32:50 +02:00
Andrew Gaul
13f32b28c9
Lazily open InputStream during complete MPU
...
Previously the filesystem provider could exhaust file descriptors by
eagerly opening up to 10,000 parts. This partially undoes
JCLOUDS-1367.
2019-01-29 21:54:47 -08:00
Andrew Gaul
29eec441e9
JCLOUDS-1371: JCLOUDS-1488: list optimize prefix
...
Previously getBlobKeysInsideContainer returned all keys and filtered
in LocalBlobStore. Now getBlobKeysInsideContainer filters via prefix
which can dramatically decrease the number of keys returned,
especially for the filesystem provider. Further optimizations are
possible for delimiter.
2019-01-29 17:39:51 -08:00
Joe Meiring
a36c9dcef0
Fix for FileSystem blob store clearContainer with options
2019-01-04 14:17:00 -08:00
Andrew Gaul
f9cebd59f8
Add error handling for missing xattr
...
Previously this prevented listing inside a directory when using file
systems like HFS and NFS. References gaul/s3proxy#279 .
2019-01-04 11:41:32 -08:00
Andrew Gaul
b7d59e3fe9
Correct precondition
...
Follow on to 1ae735bb7d
.
2018-11-14 14:53:05 -08:00
Andrew Gaul
1ae735bb7d
Do not allow options in filesystem clearContainer
...
This requires some additional logic to clean up empty directories.
Test regression from 22ce5484a4
.
2018-11-14 14:42:30 -08:00
Timur Alperovich
896e99df09
Filesystem: Fix the MPU ETags to match S3.
...
Prior commit introduced a bug in the computation of the MPU ETag value,
where it was concatenating strings, rather than operating on the bytes
of the integer value.
2018-11-02 12:25:17 -07:00
Timur Alperovich
539a9854c1
JCLOUDS-1450: Use S3-style ETags for MPUs.
...
S3 uses a different ETag for multipart uploads (MPUs) than regular
objects. The ETag consists of the md5 hash of the concatenated ETags of
individual parts followed by the number of parts (separated by "-").
The patch changes the LocalBlobStore's implementation of
CompleteMultipartUpload to set the S3-style ETag before calling
putBlob() and return that ETag to the caller.
To simplify testing, a new protected method with a default NOOP
implementation is added to the BaseBlobIntegrationTest. It allows
providers to further verify MPUs (i.e. ensuring the correct ETag has
been stored alongside the object).
2018-10-24 13:25:00 -07:00
Ignasi Barrera
3839432757
Configure Java 7 language level
2018-07-11 09:42:18 -07:00
Andrew Gaul
46a9f574e2
Fix some orphaned format strings
...
These lack values to format with. Found via error-prone 2.3.0.
2018-04-19 08:43:46 -07:00
Andrew Gaul
90fac3b683
JCLOUDS-1271: Remove BlobStore.signRemoveBlob
...
Most providers never supported this functionality and the portable
abstraction should not have included it.
2018-03-09 20:52:12 -08:00
andreaturli
d17487b223
fix typo in project.version
...
- from 2.2.0-SNAPSHOST to 2.2.0-SNAPSHOT
2018-02-21 16:45:43 +01:00
andreaturli
a5db565581
Next development version 2.2.0-SNAPSHOST
2018-02-16 11:23:12 +01:00
andreaturli
9273bd56ad
Apache jclouds 2.1.0-rc3 release
2018-02-16 11:20:21 +01:00
Andrew Gaul
18eb7f3d38
Handle "file" and "file/" collision
...
Fixes gaul/s3proxy#240 .
2018-01-09 22:26:53 -08:00
Andrew Gaul
52c92a9eb5
Propagate access denied when creating container
...
Previously this method only reported whether it created a container or
not and callers could not determine whether there was an error or if
the container already existed. References gaul/s3proxy#122 .
2018-01-09 12:44:24 -08:00
Ignasi Barrera
f7b74d95c9
Exclude tier tests on OSX
2017-10-25 08:30:49 +02:00
Andrew Gaul
5448b92ee8
JCLOUDS-1337: only set fs tier when non-null
...
Fixes regression from 61d4be8746
.
2017-10-17 23:14:09 -07:00
Andrew Gaul
61d4be8746
JCLOUDS-1337: filesystem putBlob portable storage tiers
2017-10-12 11:15:14 -07:00
Tomas Tulka
6452960c72
fix for deleting an invalid file
...
If the file for delete is invalid (typically a wrong filename) an IOException will be thrown.
2017-05-10 01:02:09 -07:00
Geert Vanheusden
fbf62437c7
JCLOUDS-1218: filesystem get blob without xattrs
...
Some filesystems, notably Docker and Mac OS X, do not support xattr
which causes an IOException when getting a blob.
2017-03-01 13:41:30 -08:00
Ignasi Barrera
4509cdecbb
Fix container presence check in filesystem provider
2017-02-01 17:42:28 +01:00
Andrew Gaul
32bb2db06e
Propagate error on non-existent container or key
2017-01-18 11:20:47 -08:00
mildis
61d0920f19
WindowsEveryonePrincipal : update regex for FR
...
"Everyone" in a french Windows is "Tout le monde".
Thus, the line.split(" ") returns only "Tout" and putBlob() throws an exception.
The modified regex search for the first two consecutive white char to return the name.
Windows's whoami returns a bunch of 0x20 between the name and the type.
2017-01-10 13:11:33 -06:00
Ignasi Barrera
d290705419
Next development version 2.1.0-SNAPSHOT
2016-11-15 01:12:59 +01:00
Ignasi Barrera
6a3a37f4e0
Apache jclouds 2.0.0-rc3 release
2016-11-09 22:30:45 +01:00