Commit Graph

10652 Commits

Author SHA1 Message Date
Andrew Gaul 08a16c95fb JCLOUDS-1546: Support GCS Archive storage class
Also change portable abstraction mapping for Tier.ARCHIVE.
2020-05-09 12:01:41 +09:00
roded d220b245d7 JCLOUDS-1543: remove unused imports from FetchBlobMetadataTest.java (#70)
Co-authored-by: Roded Bahat <roded.bahat@model9.io>
2020-04-22 10:32:54 +02:00
Fritz Elfert 286fe5cba0
Fix toolchain setup on jenkins (#68) 2020-04-22 09:56:36 +02:00
Roded Bahat 5ac92111c4 JCLOUDS-1543: change FetchBlobMetadata to retain original blob order 2020-04-17 19:24:15 +09:00
Fritz Elfert 89e1713c7c
Enable docs in travis build (#69) 2020-04-17 08:26:50 +02:00
Fritz Elfert 413ee30720
Fix javadoc generation on JDK >= 8 (#67) 2020-04-16 13:23:31 +02:00
Timur Alperovich 8d0e9dc962 Hash the content for fs MPU ETag if no xattr.
If there is no extended attribute support in the file system, the blobs
will not have their associated ETags available. In that case, the file
system blob store should rehash the content while producing the combined
blob and return the expected S3-style ETag.
2020-04-04 18:42:59 +09:00
ikky888 69ca45720d
JCLOUDS-1541: Add Middle East (Bahrain) region to the AWS EC2 and S3 providers list 2020-04-04 10:48:01 +09:00
Xavier BOURGOUIN d6702e5ee0 Fix BlobMetadata null size when using ApacheHCHttp module
JClouds is apparently exclusively using the Payload object from the HTTP
response to fill in the size of the BlobMetadata (when calling
blobStore.blobMetadata(...) ) - adapt this driver accordingly otherwise
we systematically get null size BlobMetadata out of it.
2020-03-08 22:15:43 +09:00
Colm O hEigeartaigh 99ef891e76 JCLOUDS-1540 - Update Snakeyaml 2020-03-03 17:41:33 +09:00
majaseremet ca5190636a
JCLOUDS-1533 - Fix upload with SAS token when blob name contains slash (#61) 2020-02-17 15:28:33 +01:00
Ian Springer 3db2939885 JCLOUDS-1538: fix typo in rfc1123SimpleDateFormat (#60) 2020-01-24 09:34:50 -05:00
Colm O hEigeartaigh b96158e6ed JCLOUDS-1532 - Update SSHJ + JSCH (#57) 2019-12-03 17:17:06 +01:00
Markus Alexander Kuppe 11d05ac9bf JCLOUDS-1529: Do not export org.jclouds.json.gson.internal (#56)
Do not export packages matching org.jclouds.json.gson.internal*
because it causes a use constraint violation with OSGi between
jclouds-core and jclouds-gson.

https://issues.apache.org/jira/browse/JCLOUDS-1529
2019-11-28 10:34:16 +01:00
Colm O hEigeartaigh 3a338da682 JCLOUDS-1528 - Use TLS instead of SSL in SSLContext.getInstance (#55) 2019-11-25 14:54:48 +01:00
Colm O hEigeartaigh 18da28af9f Downgrade BouncyCastle to 1.60, which works with Oracle JDK 1.7 (#54) 2019-11-18 14:54:30 +01:00
Colm O hEigeartaigh 30830bfa4e JCLOUDS-1526 - Update BouncyCastle dependency (#53) 2019-11-15 16:03:40 +01:00
Colm O hEigeartaigh 5f08ee2f1a JCLOUDS-1525 - Update xmlbuilder dependency (#52) 2019-11-15 16:03:28 +01:00
Andrew Gaul febc9b73df Fix TOCTOU issue when getting blob during removal
Fixes gaul/s3proxy#318.
2019-11-09 12:08:40 +09:00
Xavier BOURGOUIN 316b74db94 Fix infinite socket timeout when using ApacheHCHttpCommandExecutorServiceModule (#51)
Because the Java type BasicHttpParams wasn't matching the one returned
by provider "newBasicHttpParams" (which is returning a HttpParams type), it was configuring the Apache HTTP client with default settings (including connection and socket timeout), ignoring the ones of JClouds which were must safer in this regard (JCloudsones are currently 60sec for both, while Apache HC ones are -1, so infinite). It also prevented to override those default/infinite timeout settings with JClouds ones.
2019-10-23 11:44:58 +02: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
roded 6d389b0d86 JCLOUDS-1520: change UntrustedSSLContextSupplier to return the same SSLContext (#49)
Using the same SSLContext prevents consistent cache misses on the JVM's KeepAliveCache
when attempting to reuse TLS connections.
2019-10-16 09:48:47 +02:00
Ignasi Barrera 0f93525814
Add TravisCI file for pull requests (#50)
* Add TravisCI file for pull requests

* Fix env var config

* Oracle JDK not available in the default travis env

* Add license header

* Do not use Maven toolchains

* Less verbose build

* Further reduce output
2019-10-14 10:25:06 +02:00
Ignasi Barrera a2cbdd3385 Etag is not supported in OSX 2019-10-13 10:32:50 +02:00
Xavier BOURGOUIN c445547ea8 Fix null content-length header on HEAD requests
https://issues.apache.org/jira/projects/JCLOUDS/issues/JCLOUDS-1505
2019-10-10 09:59:38 -07:00
Andrew Phillips 6ef0937c67 Update README copyright dates 2019-09-19 19:19:16 -04:00
Simone Locci fa1962b223 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:34 +02:00
Simone Locci 6a076fe0c8 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:48:32 +02:00
Colm O hEigeartaigh 7b1efdc307 JCLOUDS-1512 - Use SecureRandom in Sha512Crypt 2019-08-22 09:14:30 -07:00
Roded Bahat dfeafcc6fb 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 04:59:51 -07:00
Simone Locci fcf72e5ea5 Add tag support to azure disks 2019-08-09 12:24:49 +02:00
Roded Bahat a248697c06 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 15:32:25 +03:00
Olaf Flebbe 51da020d2e JCLOUDS-1500: Update gson to 2.8.5 (#29) 2019-07-03 09:11:26 +02:00
Sergi Castro 5fd4d7a1eb Add new Azure Dubai region (#40) 2019-07-01 23:16:37 +02:00
Ignasi Barrera 753bd8d781
Add OSGi exports to jclouds-gson (#38)
* Add OSGi exports to jclouds-gson

* Proper generation of OSGi directives in the manifest file

* Fixes

* Remove commented bits
2019-06-21 10:38:36 +02:00
Ignasi Barrera c6dc6951af
Do not tie duplicate class finder to a specific version of jclouds 2019-06-20 11:25:12 +02:00
Ignasi Barrera a11e3f2ce8
Plugin config in pluginManagement for proper reuse in child projects (#39) 2019-06-18 12:08:59 +02:00
Ignasi Barrera b8606a10dd
JCLOUDS-1166: Relocate the gson internal packge to be able to keep using it (#35)
* JCLOUDS-1166: Relocate the gson internal packge to be able to keep using it

* Fixes

* Fix import order and shaded jar

* More fixes

* Proper dependency configuration

* Fix typos

* Bring back duplicate exclusions
2019-06-17 17:43:29 +02:00
Ignasi Barrera cd7b3b9b36
Proper exception to catch for methods with unchecked exception 2019-06-17 09:59:17 +02:00
Ignasi Barrera 215df85105
Fix type of location coordinates (#36) 2019-06-15 09:01:13 +02:00
Aliaksandra Kharushka f5806d0488 JCLOUDS-1428: Support for SAS token based Authentication for Azure Blob Storage
removed ACL check for SAS Auth AzureBlobs
2019-05-27 22:05:12 +09:00
Daniel Estévez 8778a3d254 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:12:58 +02:00
Andrew Gaul a70ca2d25c Convert a handful of HTTP URLs to HTTPS 2019-05-21 20:52:22 +09:00
Daniel Estévez 32c773279f Implements listAll method for LoadBalancersAPI (#32) 2019-05-21 11:49:11 +02:00
Daniel Estévez e0be4d7b27 Implements listAll method in NetworkSecurityGroupApi (#31)
* Implements listAll method in NetworkSecurityGroupApi

* Adds Mock and Live tests for new method
2019-05-21 11:48:07 +02:00
Daniel Estévez f2e955dadf 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:41:38 +02:00
Daniel Estévez e1c64244cb 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 08:59:01 +02:00
Sergi Castro 3e855c26be
Add ARM architecture to ec2 image and the related instance types 2019-05-14 09:00:31 +02:00
Olaf Flebbe 92a3c68838 JCLOUDS-1497: Fix checkstyle-suppressions for jcloud-labs (#27)
* Fix NoWhitespaceBefore Checkstyle Violation

* checkstyle updates: remove suppressionsfilter from checkstyle.xml

* suppressions now done in maven-checkstyle-plugin
2019-05-07 11:49:54 +02:00