Commit Graph

10547 Commits

Author SHA1 Message Date
Andrew Gaul c689d31758 JCLOUDS-1389: add GCS MPU multiregional test 2018-04-21 13:27:22 -07:00
Jim Sermersheim 5fa2df1bbc JCLOUDS-1389: When composing, set destination.storageClass from object
This aligns that the destination's storageClass with that of the sub-object(s) being composed
2018-04-21 13:27:22 -07:00
Tom McLaughlan 3dd8dfad52 Allow jclouds to provision SoftLayer instances with a private image. Fix
Bug JCLOUDS-1410.
2018-04-17 17:48:10 +02:00
Ignasi Barrera 969fa5b3fa
Consider the zone id filter in the location supplier 2018-04-17 11:42:59 +02:00
Andrew Gaul b1886f96e4 JCLOUDS-1400: Honor Swift signed URL content type 2018-04-12 22:50:26 -07:00
Andrew Gaul cf50e69c77 JCLOUDS-1400: Honor GCS signed URL content type
Also add GetOptions headers instead of replacing all headers.
2018-04-12 22:44:46 -07:00
Andrew Gaul fbaacf7b37 JCLOUDS-1400: Honor Azure signed URL content type 2018-04-12 22:44:45 -07:00
Andrew Gaul a79499464a JCLOUDS-1400: Test PUT signed URL Content-Type 2018-04-12 22:44:43 -07:00
Felipe L. de Souza 501fc93b67 JCLOUDS-1404: Added new Google Storage locations 2018-04-08 21:59:11 -07:00
Andrew Gaul dd4de2d0b8 JCLOUDS-1399: Support S3 One Zone-IA storage class
Also improve test coverage of storage classes.
2018-04-06 00:12:34 -07:00
Ignasi Barrera c2b76d1d42
Fix error code in ProjectApiLiveTest 2018-03-27 08:25:47 +02:00
Alin Dreghiciu 600dbd5a61 JCLOUDS-1394: Increase Azure max blob size to 256MB 2018-03-09 07:57:48 -08:00
Alin Dreghiciu bc78739ea9 JCLOUDS-1392: Do not filter non BLOBs during list 2018-03-08 22:39:58 -08:00
Alin Dreghiciu fa88bcc0dd JCLOUDS-1391: Sort headers correctly for signing 2018-03-07 22:23:33 -08:00
Alin Dreghiciu b46eb99140 JCLOUDS-1390: Use FULL projection for list blobs
This avoids a per-object call during detailed listings.
2018-03-07 21:55:33 -08:00
Ignasi Barrera 873c15eb12 JCLOUDS-1381: Add unit tests 2018-03-02 10:31:53 +01:00
andreaturli 91bb9e8d4c initial commit for maintenance branch 2.1.x 2018-02-21 17:21:11 +01:00
andreaturli 9273bd56ad Apache jclouds 2.1.0-rc3 release 2018-02-16 11:20:21 +01:00
Ignasi Barrera 7aed4bc88c JCLOUDS-1381: Fix NPE in GCE DiskURIToImage 2018-02-16 08:30:07 +01:00
andreaturli 50ae6828f5 [JCLOUDS-1382] improve usage of Neutron capabilities from Nova
- move Neutron FloatingIP API from extension to feature
- introduce FloatingIpForServer as abstract domain object to represents Nova and Neutron objects
- manage floating ip cache and its invalidation
2018-02-15 18:08:53 +01:00
Andrew Gaul 88c84af878 JCLOUDS-912: Use simpleUpload in GCS BlobStore MPU
This works around a regression with InputStream payloads that I cannot
track down.  Using simpleUpload instead of multipartUpload is more
optimal since the former avoids creating a multipart form request.
2018-02-10 18:42:36 -08:00
Andrew Gaul 3ab335e776 JCLOUDS-1335: Expect hot when no tier specified
This worked earlier; GetBlobProperties must unconditionally emit the
access tier now that it is out of public preview.
2018-02-08 22:35:49 -08:00
Andrew Gaul 55983819a2 JCLOUDS-1335: Use consistent Azure test version 2018-02-08 22:07:18 -08:00
Andrew Gaul eb5db026da JCLOUDS-1368: Fix off-by-one in slicing algorithm 2018-02-08 21:00:33 -08:00
andreaturli 90498ae04d add centos and rhel 7.* to ComputeServiceConstants 2018-02-05 16:00:47 +01:00
andreaturli 09936b57fc [JCLOUDS-1377] add support for injectable Neutron Context into Nova
- fix NovaComputeServiceExpectTest
- fix NovaComputeServiceExpectTest
- fix CreateSecurityGroupIfNeededTest
- fix FindSecurityGroupInRegionOrCreateTest
- fix checkstyle
- fix removal from security group cache
- fix listSecurityGroupsForNode
- change both Nova and Neutron listSecurityGroupsForNode to use NovaApi.listSecurityGroupForServer
2018-02-02 16:26:22 +01:00
Andrew Gaul 2a56db0957 JCLOUDS-1101: Upgrade to modernizer-maven-plugin 1.6.0
This resolves issues with Java 9.  Release notes:

https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.5.0
https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.6.0
2018-01-17 12:36:14 -08:00
Ignasi Barrera 5b4f5ee023 Fix ProfitBricks pom 2018-01-17 09:24:27 +01:00
Ignasi Barrera a7383af258 Update pom.xml files after promoting Rackspace Cloud Networks 2018-01-17 09:19:18 +01:00
Ignasi Barrera 68e3dc059b Promote Rackspace Cloud Networks providers 2018-01-17 09:14:54 +01:00
Ignasi Barrera 3ac9279acb Update pom.xml after promoting Neutron 2018-01-17 08:30:49 +01:00
Ignasi Barrera ef679199a4 Promote OpenStack Neutron 2018-01-17 08:24:48 +01:00
Ignasi Barrera 6fd7c7c38b JCLOUDS-1373: Add eu-west-3 (Paris) AWS region 2018-01-16 14:49:12 +01:00
Ignasi Barrera d50acd5e61 JCLOUDS-1372: Add support for R4 instance types 2018-01-16 12:28:19 +01:00
Ignasi Barrera 4a7b2051f0 Fix build when using Guava 20.0 2018-01-16 11:21:30 +01:00
Ignasi Barrera efeedb4526 Add support for Keystone V3 2018-01-16 09:08:06 +01:00
Ignasi Barrera f0c248f19e Add support for Keystone V3 2018-01-16 09:08:06 +01:00
Ignasi Barrera dd73410d12 Add support for OpenStack Keystone V3
Refactors the Keystone Authentication and Service Catalog classes to a
common model that can be used by V2 and V3 of Keystone. Each version
will have their own Authentication APIs and Service Catalog Suppliers,
and the higher level Keystone Authentication will transparently delegate
to the right API based on the keystone-version property.

OpenStack APIs will just have to define the default keystone-version
property they work with, and declare the generic Keystone Authentication
and Service Catalog modules.

Co-authored-by: Andrea Turli <andreaturli@apache.org>
2018-01-16 09:06:30 +01:00
Andrew Gaul 18eb7f3d38 Handle "file" and "file/" collision
Fixes gaul/s3proxy#240.
2018-01-09 22:26:53 -08:00
Andrew Gaul 5ca4827d1b JCLOUDS-1370: Add CannedAccessPolicy constants
Also use CaseFormat instead of extra logic.
2018-01-09 13:06:47 -08:00
Andrew Gaul 8cd68a3503 JCLOUDS-1369: improving slicing with many parts
Previously with GCS and its maximum 32 parts, the slicing algorithm
would sliced 3.2 GB blobs into (31) 32 MB parts and (1) 2.3 GB part.
With this algorithm it creates (31) 100 MB parts and (1) smaller part.
2018-01-09 12:56:00 -08:00
Andrew Gaul d05be89614 JCLOUDS-1368: Correct use of slicing algorithm
MultipartUploadSlicingAlgorithm creates multiple equal-sized parts and
a remaining amount.  BaseBlobStore.putMultipartBlob used this
interface incorrectly, which could create more parts than intended
since the remaining size could be larger than the part size.  This
manifested with Google Cloud Storage which only allows 32 parts.
2018-01-09 12:56:00 -08:00
Andrew Gaul 52c92a9eb5 Propagate access denied when creating container
Previously this method only reported whether it created a container or
not and callers could not determine whether there was an error or if
the container already existed.  References gaul/s3proxy#122.
2018-01-09 12:44:24 -08:00
Ignasi Barrera 3877303ede Update maven coordinates for promoted Azure ARM 2018-01-08 15:11:22 +01:00
Ignasi Barrera cc969052a7 Promote Azure ARM from jclouds-labs 2018-01-08 14:58:45 +01:00
Ignasi Barrera eebcc0017f JCLOUDS-1362: Proper password generation with custom constraints for each cloud 2018-01-08 08:48:37 +01:00
Ignasi Barrera 9fef6ed06b JCLOUDS-1362: Better password generation utility 2018-01-08 08:39:20 +01:00
Andrew Gaul 11640b6c2e Correct RandomByteSource.read return value
Previously read returned a value between -128 and 127.  -1 indicates
end of stream, causing issues for callers.  Instead return values
between 0 and 255 as intended.
2018-01-04 15:12:29 -08:00
Jim Spring a2dee2f84c Add Azure KeyVault support 2018-01-04 01:44:48 +01:00
Andrew Gaul 89e102810e Correct order of AutoValue parameters
Found via error-prone 2.1.3.
2017-12-23 23:47:17 +08:00