2003 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
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 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
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 770bcce7e2 JCLOUDS-1639: Allow filtering Azure getBlockList 2024-11-09 17:39:02 -08: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
twickline 6ef293dfd3 Fixes issue with AzureBlobStore blockid incorrectly using base64url encoding 2024-08-04 15:27:31 +09:00
Andrew Gaul f4e986f8fb Remove redundant cast 2024-05-12 23:01:30 +09:00
Andrew Gaul d733401ce7 Set version to 2.6.1-SNAPSHOT 2024-04-24 20:29:39 +09:00
Andrew Gaul da1bc06f9e JCLOUDS-1635: Add COOL and COLD to Tier
The former replaces INFREQUENT.  References gaul/s3proxy#625.
2024-04-20 17:31:52 +09:00
Andrew Gaul e1f34bbfa7 JCLOUDS-1634: Add AzureBlob COLD access tier
References gaul/s3proxy#625.
2024-04-14 17:51:21 +09:00
Maksim_Hadalau 4435765f55 add license header 2024-04-14 17:37:51 +09:00
Maksim_Hadalau 0688553087 JCLOUDS-1631: fix AWSRequestAuthorizeSignatureV4 when prefix contains special chars 2024-04-14 17:37:51 +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
Andrew Gaul ed160d30c5 Copy Swift logging configuration to GCS
This avoids logging everything at trace level.
2024-02-21 21:56:29 +09:00
Andrew Gaul 62abf39575 Correct testName
testng 7.5.1 previously failed with this.  References #171.
2024-02-20 20:20:28 +09:00
davidsenk 41d842d449 JCLOUDS-1519: Fix the authorization error with b2 application keys 2024-02-19 11:05:35 +09:00
Lars Hagen a2628f9cbf implement support for SharedKey signature (#186)
* implement support for SharedKey signature

This is the recommended signature scheme for Azure, and the only scheme
that is supported by the Azurite emulator.

https://learn.microsoft.com/en-us/rest/api/storageservices/authorize-with-shared-key

* Remove print statement

Co-authored-by: Ignasi Barrera <nacx@apache.org>

* Remove print statement

* simplify logic

---------

Co-authored-by: Ignasi Barrera <nacx@apache.org>
2023-10-20 11:19:06 +02:00
Ignasi Barrera 6b49389610 Fix checkstyle violation in google-cloud-storage (#184) 2023-09-04 23:49:17 +02:00
Andrew Gaul 1252f1951f Replace US_CENTRAL2 with US_CENTRAL1 in tests
US_CENTRAL2 has been removed.
2023-07-29 16:36:59 +09:00
Andrew Gaul 20ebc67fc8 Update google-cloud-storage regions 2023-07-29 16:36:59 +09:00
Andrew Gaul 132604d71a Add missing jclouds.blobstore.httpstream.url
Lacking this caused integration test failures with newer testng.
2023-07-29 15:30:28 +09:00
Christian.Jung b2a2025b32 This fixes problem JCLOUDS 1615. 2022-10-14 22:11:19 +09:00
Andrew Gaul 5067897ff5 Upgrade to jax-rs 2.1.1
Also address constant TODO.
2022-08-04 07:38:54 +09:00
Andrew Gaul 65e16c97f5 Annotate test methods as singleThreaded
Newer versions of testng deprecate sequential.
2022-08-03 21:24:12 +09:00
Ikky bcf3b64a2c Update README copyright dates and AzureBlob README 2022-05-04 10:23:05 +09:00
Andrew Gaul 36f351cd18 Next development version 2.6.0-SNAPSHOT 2022-03-26 18:30:06 +09:00
SATYANAN-ANAND 83deb0efef JCLOUDS-1598: Support Metric Alert Operation (#134) 2022-02-25 10:12:43 -08:00
SATYANAN-ANAND 99f2ff86da JCLOUDS-1597: Support for Alerts (#133) 2022-02-21 19:37:50 +09:00
SATYANAN-ANAND 738a01dda6 Update AzureComputeApi.java 2022-02-05 00:02:24 -08:00
SATYANAN-ANAND 2b16b55e33 JCLOUDS-1596: Support Activity Log Alert Operations 2022-02-05 00:02:24 -08:00
Andrew Gaul 468b126dd8 JCLOUDS-1594: Allow overriding S3 signer
Previously s3 always used v2 and aws-s3 always used v4.  Now s3
defaults to v2 and can override to v4.  Note that this does not change
BlobRequestSigner.
2022-01-12 22:24:45 +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
Rajani-cloud 8167513c35 JCLOUDS-1584 : Deployment API fails when ARM Template deploys for creating Azure VM 2021-09-04 16:30:18 +09:00
Timur Alperovich 0b68e8adee JCLOUDS-1558: Implement Azure Blob Azure AD auth
Implements the Azure AD authentication for Azure Blob, using the OAuth
module. Added more parameters to the AzureBlob provider:
- azureblob.auth
- azureblob.account
- azureblob.tenantId

The "auth" parameter is used to specify whether Key/SAS auth or Active
Directory is used. When using Active Directory auth, the identity no
longer maps to the storage account, which has to be specified
explicitly. The tenant ID also needs to be supplied to construct the
auth URL to obtain the token correctly.
2021-08-22 15:52:48 +09:00
Timur Alperovich 519bee9f60 AzureBlob: Update API to 2017-11-09 2021-08-16 00:03:07 -07:00
Simone Locci 0787bb891b Fix location header case sensitive 2021-07-28 08:44:36 +09:00
Andrew Gaul fda1824620 JCLOUDS-1581: Make CORS maxAgeSeconds optional
This field is not required:

https://cloud.google.com/storage/docs/cross-origin#cors-elements
2021-06-30 10:13:44 +09:00
Miroslav Novak 261f9d1fd5 JCLOUDS-1577 - Allow to provide Azure Plan Information when starting custom image based on Azure Marketplace image. 2021-06-30 08:37:34 +09:00
Andrew Gaul 7ad7890ad0 Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
Andrew Gaul c995a04fe9 JCLOUDS-1572: Update GCS bucket regions 2021-03-31 11:55:47 +09:00
gurkerl83 3d753a48d2 Clear rule for bouncycastle exclusion
- Mock-Webserver v2.2.0 - Vendor, defined dependency bcprov-jdk15on > Previously, the dependency got excluded; otherwise, it conflicted with the existing bouncy castle version used in JClouds.
- Mock-Webserver v3.14.9 - The vendor does not define a bouncy castle dependency anymore; instead, it moved to the okhttp-tls module.

- Introduce the okhttp-tls module for tests in the core module. The following APIs (Docker, Elastic-Stack) and providers Softlayer extend their respective MockTest from BaseMockWebServerTest. The mock base test is located in the test jar of JClouds core module.
- Due to conflicting bouncy castle classes in the classpath, those which get loaded from the okhttp-tls module, and those defined in JClouds bouncy castle module, the bouncy castle dependency of okhttp-tls has to get skipped for the two APIs and providers mentioned.

Side note:
The JClouds GAE driver module also requires the new okhttp-tls dependency because of the following chain of inheritance.
Different from the situation above, the bouncy castle classes of the okhttp-tls got not excluded.
GaeHttpCommandExecutorServiceIntegrationTest -> BaseHttpCommandExecutorServiceIntegrationTest -> BaseMockWebServerTest

The reason for this is unknown to me.
2021-02-12 18:57:46 +09:00