10916 Commits

Author SHA1 Message Date
Andrew Gaul 554418e58a Add EU_CENTRAL_2, EU_SOUTH_1, and EU_SOUTH_2 (#219) 2025-04-28 10:12:40 +02:00
Max Smiley 1f181bf00c Fix NPE on failure to parse AWSError when determing whether to retry request 2025-04-12 02:46:23 +09:00
Andrew Gaul 0e1eee0457 Bump to 2.7.1-SNAPSHOT 2025-02-12 21:26:14 -08:00
Andrew Gaul 45adfd679b JCLOUDS-1646: Use boxed Long in GCS
Previously some objects lacked a content-length so this threw a
NullPointerException when unboxing.
2025-02-12 21:19:24 -08:00
Fritz Elfert 27d2e20355 Fix digitalocean2 NumberFormatException (#216)
Changed org.jclouds.digitalocean2.domain.Action.id from int to long
 in order to fit large numbers sent in responses.

 This appears to be a misinterpretation of DigitalOceans ApiDocs,
 because in these docs, they fail to specify the size of their
 "integer" type. Therefore, I looked into their official GO Api
 sources. There, they use the int type, which is platform dependant
 and usually has 64 bits.

 Therefore our digitalocean2 provider, should be refactored, changing
 all Ids from int/Integer to long/Long.
2025-02-12 17:13:58 +01:00
Andrew Gaul 9ced58af5a Set version to 2.7.0-SNAPSHOT 2025-01-21 20:53:24 -08:00
Andrew Gaul 26338e30d7 JCLOUDS-1644: Create AWS S3 buckets with ownership and public access block
AWS changed the defaults when creating buckets to prevent public-read
and other canned ACLs.  Background:
https://stackoverflow.com/a/76102067/2800111
2025-01-21 20:13:01 -08:00
Andrew Gaul dd6cb51454 JCLOUDS-1644: Create AWS S3 buckets with ownership and public access block
AWS changed the defaults when creating buckets to prevent public-read
and other canned ACLs.  Background:
https://stackoverflow.com/a/76102067/2800111
2025-01-21 14:01:12 +09:00
Andrew Gaul bdfac92184 Upgrade to Apache httpclient 4.5.14 2025-01-19 15:36:59 -08:00
Andrew Gaul 808d94086c Upgrade to EasyMock 5.5.0 2025-01-19 12:52:09 -08:00
Andrew Gaul 98d1afea83 Upgrade to Guava 33.4.0 2025-01-19 12:51:59 -08:00
Andrew Gaul a87b66a17c Upgrade to snakeyaml 2.3 2025-01-19 12:51:47 -08:00
Andrew Gaul a8cdabd3b1 Upgrade to xmlunit 1.6 2025-01-19 11:32:34 -08:00
Andrew Gaul 323898d8a5 Upgrade to logback 1.5.16 2025-01-19 11:32:34 -08:00
Andrew Gaul 52625c02ad Upgrade to jetty 9.4.56.v20240826 2025-01-19 11:32:34 -08:00
Andrew Gaul 56bf70ba76 Upgrade to modernizer-maven-plugin 3.1.0 2025-01-19 11:32:34 -08:00
Andrew Gaul b8d0ab94f7 Upgrade to AutoFactory 1.1.0
Release notes:

https://github.com/google/auto/releases/tag/auto-factory-1.1.0
2025-01-19 11:27:16 -08:00
Andrew Gaul ecd0ccd05b Upgrade to gson 2.11.0
Release notes:

https://github.com/google/gson/releases/tag/gson-parent-2.11.0
2025-01-19 11:11:53 -08:00
Andrew Gaul 6316641557 Parse Cache-Control header from BlobMetadataParser
Previously this set a null value.  Found via S3Proxy s3-tests with
Minio.
2024-12-23 17:09:02 -05:00
Andrew Gaul 94b42fb7b9 Improve parsing of missing S3 bucket errors
Confusingly AWSError is not always parsed so retain the existing
logic.  Found via S3Proxy s3-tests with Minio.
2024-12-23 12:22:42 -05:00
Andrew Gaul 07a4ed72cc JCLOUDS-1640: Use raw query to sign S3 V2 request
This prevents errors when listing objects with % in the key names.
Found via S3Proxy AwsSdkTest.testSpecialCharacters.
2024-12-22 22:11:16 -05:00
Andrew Gaul 176d3d44a8 Allow null S3 grantee ID
Minio does not return a grantee so reversing the comparison avoids a
NullPointerException.
2024-12-22 15:29:59 -05:00
Andrew Gaul 0b2420d21c Allow empty S3 storage class when listing
Minio returns an empty element.
2024-12-22 15:22:47 -05:00
dependabot[bot] 5c41d7629f Bump ch.qos.logback:logback-core from 1.2.13 to 1.5.13 in /project
Bumps [ch.qos.logback:logback-core](https://github.com/qos-ch/logback) from 1.2.13 to 1.5.13.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.2.13...v_1.5.13)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-22 11:30:35 +09:00
Fabien Viale 4f2f8a8ef1 Tentative fix for https://issues.apache.org/jira/browse/JCLOUDS-1643 (#214)
org.jclouds.googlecomputeengine.domain.Warning: Add nullable annotation to code and data attributes
2024-12-21 14:26:51 +01:00
Andrew Gaul d3a261ba61 JCLOUDS-1641: Use POST instead of PATCH for GCS
Modern Java versions do not allow the reflection workaround previously
used.
2024-12-05 05:42:06 +09:00
Andrew Gaul 6b51855365 JCLOUDS-1605: Return correct length in GCS getBlob
Range requests could cause the payload size to be smaller than the
object size.
2024-11-27 12:54:21 -08:00
Andrew Gaul 44ec4b8763 Refine AzureBlob InvalidQueryParameterValue error 2024-11-11 22:26:08 -08:00
Andrew Gaul 73c566a4c7 JCLOUDS-1635: Update test expectations 2024-11-09 17:46:36 -08:00
Andrew Gaul 770bcce7e2 JCLOUDS-1639: Allow filtering Azure getBlockList 2024-11-09 17:39:02 -08:00
Andrew Gaul 5b65094df1 Upgrade to auto-service 1.1.1 2024-11-07 21:53:00 -08:00
Gary Teichrow b979e15529 Added allocationId to PublicIpInstanceIdPair so that IP addresses can be tracked by that AWS concept.
Added a releaseAddressInRegionByAllocationId so that an IP address can be released by that addresses AllocationId
Modified the DescribeAddressesResponseHandler so that it can optionally take allocationId into account on a Describe
Added a use case to test allocationId
2024-10-31 08:06:55 +09:00
Gary Teichrow 6851ac9459 Added a new describe* method called describeRouteTablesWithFilter so that RouteTables can be described by Vpc-Id, for instance
Added a unit test which searches for a RouteTable by a VPC-id
2024-10-31 08:06:55 +09:00
Andrew Gaul e3f8de0a29 Specify okhttp as a test dependency in apachehc
This is not transitively included somehow.
2024-10-09 12:27:39 -07:00
Andrew Gaul ed0604a08e Skip test incompatible with Java 21 2024-10-09 12:24:13 -07:00
Andrew Gaul 89e834a4c5 Ignore Java 21 SortedSet methods in test 2024-10-09 12:18:32 -07:00
Andrew Gaul 4ef1d8b177 Upgrade to EasyMock 5.4.0
This resolves a JDK 21 compatibility issue:

java.lang.IllegalArgumentException: Could not create type
...
Caused by: java.lang.IllegalArgumentException: org.jclouds.blobstore.strategy.internal.DeleteAllKeysInList$$$EasyMock$6 must be defined in the same package as org.easymock.internal.ClassProxyFactory
2024-10-09 12:11:54 -07:00
Andrew Gaul 9b48d04502 Add ETag to failed conditional GETs in LocalBlobStore 2024-09-06 00:49:39 +09:00
Max Smiley d62322c2ac Fix ContextBuilder bug when using credentials supplier with azureblob 2024-08-06 15:43:01 +09:00
twickline 6ef293dfd3 Fixes issue with AzureBlobStore blockid incorrectly using base64url encoding 2024-08-04 15:27:31 +09:00
John Calcote ddfb2ea77f Modify S3 endpoint regex pattern to support VPC endpoints. 2024-07-27 15:09:32 +09:00
Andrew Gaul f4e986f8fb Remove redundant cast 2024-05-12 23:01:30 +09:00
Andrew Gaul 705a1cb591 Upgrade to Google Auto 1.5.4
This resolves warnings about extensions.
2024-05-12 15:06:55 +09:00
Andrew Gaul cb434d5bac Consolidate duplicate apache rat stanza
This resolves a build warning.
2024-05-12 14:54:15 +09:00
Andrew Gaul 4928a1e3bc Suppress Modernizer violation 2024-05-12 13:57:58 +09:00
Andrew Gaul 8813747e57 Downgrade to maven-modernizer-plugin 2.7.0
This works around gaul/modernizer-maven-plugin#241.
2024-05-12 13:00:57 +09:00
Andrew Gaul 2836f5a0ac Upgrade to modernizer-maven-plugin 2.8.0 2024-05-12 08:44:49 +09:00
Andrew Gaul eae5a43350 Upgrade to modernizer-maven-plugin 2.8.0 2024-05-12 08:44:00 +09:00
sullis 44db24ee7c setup-java v3 -> v4 2024-05-12 08:31:14 +09:00
Andrew Gaul bc20012f49 jclouds requires Java 11
This should resolve CI failures.
2024-05-12 08:30:47 +09:00