Commit Graph

55 Commits

Author SHA1 Message Date
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
davidsenk 41d842d449
JCLOUDS-1519: Fix the authorization error with b2 application keys 2024-02-19 11:05:35 +09:00
Andrew Gaul 36f351cd18 Next development version 2.6.0-SNAPSHOT 2022-03-26 18:30:06 +09:00
Andrew Gaul dbd8eb1dab JCLOUDS-1589: Upgrade to log4j 2.16.0
This addresses a critical CVE:

https://logging.apache.org/log4j/2.x/security.html
2021-12-16 23:56:09 +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
korlov42 44ff69d144 JCLOUDS-1551: Update version of OkHttp 3.14.9 2021-02-12 18:57:46 +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
Andrew Gaul 6e6f8ebf77 JCLOUDS-912: JCLOUDS-1547: GCS InputStream single-part upload
Previously this provider worked around a RestAnnotationProcessor quirk
by using multi-part uploads for InputStream payloads.  Instead work
around the quirk another way which allows a single-part upload.  This
allows inclusion of the Content-MD5 header during object creation.
Backfill tests with both ByteSource and InputStream inputs.
2020-05-31 17:48:31 +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
Andrew Gaul 7e2723c9a4 JCLOUDS-1452: Add missing b2 test field
Fixes regression from 9524383e49.
2019-01-01 11:10:59 -08:00
Andrew Gaul 9524383e49 JCLOUDS-1452: Add new v2 fields
Some of these only give consistency with similar requests.
2018-12-31 19:39:37 -08:00
Andrew Gaul a0f496e5ec JCLOUDS-1452: Remove Authorization.minimumPartSize
Superseded by absoluteMinimumPartSize and recommendedPartSize.
2018-12-31 18:47:38 -08:00
Andrew Gaul 750809f97f JCLOUDS-1452: Replace size with contentLength
Tracking B2 v2 API changes.
2018-12-31 18:47:38 -08:00
Andrew Gaul ce163f3498 JCLOUDS-1452: Switch to B2 v2 API
Some cleanups but no major changes:

https://www.backblaze.com/blog/backblaze-b2-api-version-2-beta-is-now-open/
2018-12-31 18:47:38 -08:00
Andrew Gaul 33d3266205 Enable B2 testCopy* tests
Backblaze has changed something such that these now pass.
2018-12-19 10:16:20 -08:00
Andrew Gaul 4cc4e1d76c Correct B2 SkipException for testPutObjectStream 2018-12-19 03:22:52 -08:00
Andrew Gaul a6cb6cde29 JCLOUDS-1477: Upload single part for small B2 MPU
B2 requires two parts to use multi-part upload but jclouds will
attempt to use one with small uploads.  Instead it should fall back to
single-part when the content length is small.
2018-12-18 22:42:01 -08:00
Jesse Glick 65a5ec8164 [JCLOUDS-1200] Mark nonserializable fields in HttpResponseException and subtypes as transient. 2018-05-21 22:13:04 -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 7fbef10d57 JCLOUDS-1337: Include tier in object listing
This requires hoisting Tier from BlobMetadata to StorageMetadata.
2017-11-02 16:24:34 -07:00
Andrew Gaul 3193aa68e8 JCLOUDS-1337: B2 putBlob portable storage tiers 2017-10-23 21:31:48 -07:00
Andrew Gaul d3d825d3b9 Map empty delimiter to null in B2
Follow on to d07c4a215e.
2017-09-18 00:12:36 -07:00
Andrew Gaul 39f3a9d1fe JCLOUDS-1344: Enable B2 wire logging 2017-09-17 23:25:32 -07:00
Andrew Gaul 517323fbd5 JCLOUDS-1225: Address Guava 18 MoreExecutors changes
Fixed with:

find -name \*.java | xargs sed -i 's/sameThreadExecutor/newDirectExecutorService/g'
2017-08-22 17:14:22 -07:00
Andrew Gaul 8344ddcc2c JCLOUDS-1314: Remove unused import 2017-07-07 11:04:03 -07:00
Andrew Gaul 914e3a6f85 JCLOUDS-1304: B2 native prefix and delimiter
Previously B2 emulated prefix and delimiter via client-side filtering.
Enabled by recent service additions.
2017-07-07 10:21:26 -07:00
Andrew Gaul 4fb54c0a74 JCLOUDS-1272: Graduate B2 to core 2017-05-08 13:56:40 -07:00
Andrew Gaul c94dfa23e1 Encode filename in B2 download URL
Previously this caused downloads of file names with % to fail.
2017-04-08 15:44:22 -07:00
Andrew Gaul 0d3b88be97 JCLOUDS-1266: Reduce minimum B2 multipart size
Backblaze B2 advertises two new attributes: absoluteMinimumPartSize
and recommendedPartSize, the former allowing smaller 5 MB multipart
uploads.
2017-04-08 04:29:29 -07:00
Andrew Gaul 8188287bc2 Correct Cache-Control SkipException message 2017-04-07 19:53:09 -07:00
Andrew Gaul 66caf6d954 JCLOUDS-1267: Allow B2 streaming uploads
B2 now supports uploads without calculating the SHA-1 hash.  This
allows uploading without a repeatable payload.
2017-04-07 19:48:58 -07:00
Andrew Gaul 8408242279 Return more metadata from listMultipartUpload
Include Content-Length and Last-Modified.
2017-03-08 22:16:37 -08:00
Ignasi Barrera 1409317beb Remove all sonatype snapshot repositories 2017-03-01 11:58:19 +01:00
Andrew Gaul 64c3e35c15 JCLOUDS-1224: Update B2 domain
The old domain will no longer function after 2 Feb 2017.  Reference:

https://help.backblaze.com/hc/en-us/articles/224959187-B2-Domain-Migration-Plan
2017-01-09 19:40:15 -08:00
Ignasi Barrera 1b48ba5942 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:13:00 +01:00
Ignasi Barrera 6028b175c6 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:40:00 +01:00
Ignasi Barrera eb7193e3a5 Revert "Apache jclouds 2.0.0 release"
This reverts commit 43c102065eab2d5fbf98e75811d9088cb7cf76bc.
2016-11-09 21:49:17 +01:00
Ignasi Barrera 5459d61f2e Apache jclouds 2.0.0 release 2016-11-03 13:13:04 +01:00
Andrew Gaul 2b0743d579 JCLOUDS-1005: Backblaze B2 portable abstraction 2016-06-24 17:14:36 -07:00
Andrew Gaul a2e2ff8e4f JCLOUDS-1005: Percent encode user metadata values 2016-06-23 20:41:28 -07:00
Andrew Gaul 2ff68fc79e JCLOUDS-1005: Retry on 500 and 503 errors
This requires rewriting the URL for b2_upload_file and b2_upload_part
requests.
2016-06-21 18:12:36 -07:00
Andrew Gaul f66e0a3fcc JCLOUDS-1005: Do not map "none" SHA1 to null
Callers expect that ETag has a non-null value.
2016-06-17 13:11:41 -07:00
Andrew Gaul 3d84d3cb2d JCLOUDS-1005: Backblaze B2 large file operations 2016-06-16 16:12:32 -07:00