Commit Graph

10551 Commits

Author SHA1 Message Date
Andrew Gaul 05573fa108 Fix TOCTOU issue when getting blob during removal
Fixes gaul/s3proxy#318.
2019-11-09 11:25:24 +09:00
Ignasi Barrera ec0ef7c9ff Next development version 2.1.4-SNAPSHOT 2019-10-13 17:13:46 +02:00
Ignasi Barrera 82b3a053e0 Apache jclouds 2.1.3-rc1 release 2019-10-13 17:10:14 +02:00
Xavier BOURGOUIN 6303d96308 Fix null content-length header on HEAD requests
https://issues.apache.org/jira/projects/JCLOUDS/issues/JCLOUDS-1505
2019-10-10 10:00:41 -07:00
d065488 92ab5a1d1a JCLOUDS-1428 - Support for SAS token based Authentication for Azure Blob Storage - removed sp and se tokens from the check 2019-10-03 15:04:47 +02:00
Simone Locci 8cac891d01 Add OS disk type in template options (#46)
* Add OS disk type in template options

* Fix review and code style
2019-09-18 16:34:51 +02:00
Simone Locci 789ac7cec9 Add azure disk sku (#45)
* Add azure disk SKU

* Add tests

* Fix review adding a disk type enum

* Fix review using storage account type enum
2019-09-17 17:49:01 +02:00
Colm O hEigeartaigh ee880e9f42 JCLOUDS-1512 - Use SecureRandom in Sha512Crypt 2019-08-22 09:15:40 -07:00
Ignasi Barrera 14ba1abcfb Use Guava charset enum 2019-08-19 17:06:44 +02:00
Roded Bahat d4b9f03059 JCLOUDS-1510: ParseSax use charset constant for all String creations
This commit prevents the convertStreamToStringAndParse method from
failing XML validation on environments in which the default charset is
not compatible with UTF-8.
2019-08-19 05:00:47 -07:00
Simone Locci bd59263d47 Add tag support to azure disks 2019-08-09 12:25:21 +02:00
Andrew Gaul 130c0df5ce Use Guava Charsets with 2.1.x which supports JDK 6 2019-08-08 11:59:22 -07:00
Roded Bahat 95c4443022 JCLOUDS-1509: read AWS response data with the UTF-8 charset explicitly
AWS response data is encoded in UTF-8. Creating a String from said data
using the JVM's default charset results in incorrect encoding on
environments in which the JVM's default charset is not UTF-8.

https://issues.apache.org/jira/browse/JCLOUDS-1509
2019-08-08 08:25:00 -07:00
Sergi Castro fe8d96af14 Add new Azure Dubai region (#40) 2019-07-01 23:16:12 +02:00
Ignasi Barrera 9f2d94d725 Proper exception to catch for methods with unchecked exception 2019-06-15 15:24:36 -07:00
Ignasi Barrera 590d0509cc
Fix type of location coordinates (#36) 2019-06-15 09:01:40 +02:00
Aliaksandra Kharushka ac175f069f JCLOUDS-1428: Support for SAS token based Authentication for Azure Blob Storage
removed ACL check for SAS Auth AzureBlobs
2019-05-27 22:05:41 +09:00
Andrew Gaul 6a945936fa Convert a handful of HTTP URLs to HTTPS 2019-05-22 09:14:48 +02:00
Daniel Estévez cbe683db13 Implements listAll operation for VirtualNetworkAPI (#33)
* Implements listAll operation for VirtualNetworkAPI

Fixes test with proper method call

* Fixes resourcegroup param is now nullable
2019-05-22 09:13:33 +02:00
Daniel Estévez 757d288ae0 Implements listAll method for LoadBalancersAPI (#32) 2019-05-21 11:51:35 +02:00
Daniel Estévez 0b357adc7b Implements listAll method in NetworkSecurityGroupApi (#31)
* Implements listAll method in NetworkSecurityGroupApi

* Adds Mock and Live tests for new method
2019-05-21 11:51:31 +02:00
Daniel Estévez 75c5bc3fbb
Adds methods listAll and listByLocation to VirtualMachineAPI (#21)
* Adds methods listAll and listByLocation to VirtualMachineAPI

Adds Mock tests fixes

* Minor comments

* Overrides test to avoid case sensitive comparation

* Adds comment to justify overriding base test method

* Enables list by location to improve performance in listNodes abstraction

* Returns all available VMs if no regions are specified
2019-05-17 09:42:32 +02:00
Daniel Estévez 077dca824c
Checks provisioning state in Rule resource instead of Group (#30)
* Checks provisioning state in Rule resource instead of Group

* comments by @nacx to proper check and delete rules

* Fixes log message deleting rule
2019-05-17 09:42:27 +02:00
Sergi Castro 19bf2d6384
Add ARM architecture to ec2 image and the related instance types 2019-05-14 08:59:49 +02:00
Olaf Flebbe af364d5b10 JCLOUDS-1495: maven plugins are not correctly referred to (#24) 2019-04-10 19:54:51 -07:00
Andrew Gaul 65dd5e3204 JCLOUDS-1494: Add S3 Deep Archive tier
Also test Glacier tier now that Amazon allows creating objects with
this storage class.
2019-04-06 18:51:24 +09:00
Dani Estevez 1588ef7f7e Adds new Azure regions for South Africa 2019-03-21 12:21:02 -04:00
Dani Estevez cbc24de677 Adds EU North 1 region (Stockholm) 2019-03-21 11:05:12 -04:00
Dani Estevez 897713011d Adds China North West Region (Ningxia) 2019-03-21 11:04:48 -04:00
Aliaksandra Kharushka 0ce926108e [JCLOUDS-1428] Support for SAS token based Authentication for Azure Blob Storage (#1270) 2019-02-27 12:35:00 +01:00
Andrew Gaul b3aa23bb05 JCLOUDS-1489: expect S3 put archive to succeed 2019-02-07 20:04:32 -08:00
Andrew Gaul d6c22a0d3b Next development version 2.1.3-SNAPSHOT 2019-02-02 15:57:53 -08:00
Andrew Gaul a6029fffa2 Apache jclouds 2.1.2-rc1 release 2019-02-02 15:55:55 -08:00
Andrew Gaul c7cdd19a6d Revert "Disable Javadoc lint"
This reverts commit 338f052579.
2019-02-02 11:01:04 -08:00
Andrew Gaul 4ec3ece8f8 Disable Javadoc lint
mvn site running on Java 8 complains about thousands of missing
@return tags among other things.
2019-02-02 10:10:48 -08:00
Andrew Gaul bc5d276dea Remove JavaScript from footer
Addresses an error while building Javadoc.
2019-02-01 23:55:07 -08:00
Andrew Gaul 7bf9c474c6 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:46:49 -08:00
Andrew Gaul 1f392212bd JCLOUDS-1366: JCLOUDS-1472: Fix InputStream MPU
Previously jclouds attempted to slice non-repeatable InputStream
Payloads in order to upload sequentially.  This never worked due to
mutating the single stream via skip and close.  Also backfill test
which spuriously succeeded.
2019-01-04 15:43:49 -08:00
Joe Meiring e118e58567 Fix for FileSystem blob store clearContainer with options 2019-01-04 14:18:07 -08:00
Andrew Gaul ba9d02f7f9 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:42:09 -08:00
duc f8e7222143 JCLOUDS-1479: populate container cache on create 2019-01-02 19:55:46 -08:00
Dani Estevez 3d308560cf [JCLOUDS-1474] Adds SKU field to both LB and PublicIP
Changes order in parameters to keep properties as last parameter
Removes wrong @Nullable parameters

Moves LoadBalancer and PublicAddress to new package with SKU as inner
class

Moves LoadBalancerSKU inside LoadBalancer. Creates new loadbalancer package

Refactors PublicAddress domain objects

Extracts SKU from LoadBalancer

LoadBalancer SKU as inner class

PublicIPAddress SKU as inner class

Reorder parameters sku and properties
2018-12-28 16:51:34 -05:00
Simone Locci 4c18ca777f Fix azure listNodes 2018-12-28 16:17:42 -05:00
Andrew Gaul 2eede280d2 Enable B2 testCopy* tests
Backblaze has changed something such that these now pass.
2018-12-19 10:17:49 -08:00
Andrew Gaul 294fc4b353 Correct B2 SkipException for testPutObjectStream 2018-12-19 03:23:33 -08:00
Andrew Gaul 13d1de0397 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:36 -08:00
John McDonnell a8b8c9dd3c [JCLOUDS-1468] Adding missing options for the ListUsageRecords API call. 2018-12-05 19:46:54 +01:00
kraza 8dcfd8625f JCLOUDS-1467
Added support for c5d & m5d AWS nodes.

JCLOUDS-1467
Updated the SSD drive information.
2018-12-03 17:22:31 -05:00
Dani Estevez 38e3535dcf Adds method listAvailableSizes to VirtualMachineApi
Updates API version for VirtualMachineApi
2018-11-20 12:29:55 -05:00
Andrew Gaul d8ab673da9 Correct precondition
Follow on to 1ae735bb7d.
2018-11-14 14:53:44 -08:00