Commit Graph

10805 Commits

Author SHA1 Message Date
Dani Estevez 5ee3ae552d Adds new more relaxed validator for Azure entities 2018-05-25 09:39:21 +02:00
Ignasi Barrera b76a594e81 JCLOUDS-1421: Add default credentials to images created by the ImageExtension
By default, when listing images the ComputeServiceAdapter adds the
default credentials for each image. This is not done when images are
created by the image extension, and NPEs can appear in code that assumes
the default credentials are there, as the field is not nullable.

This change tries to populate the known node credentials for images
created form nodes, and falls back to the default strategy to add the
default credentials to an image if there are not known credentials.
2018-05-22 16:30:26 +02:00
Mat Mannion 29655f3149 JCLOUDS-1263: Add live integration test for manipulating objects through the Swift ObjectApi with unicode characters in their path 2018-05-21 22:19:25 -07:00
Mat Mannion 14621c08d7 JCLOUDS-1263: URL encode object names from list object response before creating URIs with them
This fix calls urlEncode on the path before appending them to the existing path, as the core UriBuilder
class expects them to be URL-encoded.
2018-05-21 22:19:25 -07:00
Jesse Glick 65a5ec8164 [JCLOUDS-1200] Mark nonserializable fields in HttpResponseException and subtypes as transient. 2018-05-21 22:13:04 -07:00
Andrew Gaul 1f6ec343c0 Upgrade to SpotBugs 3.1.3
This replaces FindBugs.  Also address a few violations.
2018-05-21 22:06:27 -07:00
Dani Estevez a918550e57 Fixes assert for IpPermissions collection 2018-05-17 09:13:25 +02:00
Dani Estevez bdb9a3af8b Uses default password with conflictive characters 2018-05-17 09:12:02 +02:00
Ignasi Barrera 050f8e73d3 JCLOUDS-1418: Add missing PowerState values 2018-05-15 15:19:49 +02:00
Dani Estevez a08de5b2f1 Sets session interval from 60 seconds to a higher value to avoid problems with cache 2018-05-12 00:42:44 +02:00
Dani Estevez 8228994850 Fixes Run SSH script for passwords with special characters (as parentheses) 2018-05-11 22:57:27 +02:00
Alix Lourme 053dfd0134 JCLOUDS-1414: OpenStack Keystone V3 - different auth "domains" support 2018-05-10 10:43:02 +02:00
Ignasi Barrera b29f716a02
JCLOUDS-1294: Attempt to retry RetryableErrors in Azure ARM 2018-05-04 11:03:43 +02:00
Ignasi Barrera 6a10544b16
Cleanup unused variables 2018-05-04 11:03:43 +02:00
Dani Estevez 7c5927038a Protects from NPE input.getLocation() is nullable 2018-05-04 10:45:51 +02:00
Andrew Gaul f7b4534132 JCLOUDS-1389: add GCS MPU multiregional test 2018-04-21 13:25:00 -07:00
Jim Sermersheim def6db4864 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-20 12:05:58 -06:00
Andrew Gaul 316bce0587 Avoid double brace initialization
These hold an implicit this reference.  Found via error-prone 2.3.0.
2018-04-19 08:43:46 -07:00
Andrew Gaul 46a9f574e2 Fix some orphaned format strings
These lack values to format with.  Found via error-prone 2.3.0.
2018-04-19 08:43:46 -07:00
Tom McLaughlan 3d188324d5 Allow jclouds to provision SoftLayer instances with a private image. Fix
Bug JCLOUDS-1410.
2018-04-17 17:12:00 +02:00
Ignasi Barrera d2f566d725 Consider the zone id filter in the location supplier 2018-04-17 10:41:11 +02:00
Andrew Gaul af077af2dd JCLOUDS-1333: Upgrade animal sniffer to 1.16
animal sniffer 1.14 gives compatibility with Java 8.
2018-04-14 12:33:34 -07:00
Andrew Gaul 7e0a2dbd13 JCLOUDS-1400: Honor Swift signed URL content type 2018-04-12 22:43:43 -07:00
Andrew Gaul 7db5eb5cd0 JCLOUDS-1400: Honor GCS signed URL content type
Also add GetOptions headers instead of replacing all headers.
2018-04-12 22:43:43 -07:00
Andrew Gaul a35fa4a404 JCLOUDS-1400: Honor Azure signed URL content type 2018-04-12 22:43:43 -07:00
Andrew Gaul 7d40cedb20 JCLOUDS-1400: Test PUT signed URL Content-Type 2018-04-12 22:43:43 -07:00
Andrew Gaul f6d47b9c0e JCLOUDS-1333: Fix Java 8 and Guava 21 issues 2018-04-10 08:17:35 -07:00
Felipe L. de Souza b04d2df661 JCLOUDS-1404: Added new Google Storage locations 2018-04-08 21:57:51 -07:00
Andrew Gaul ea6b616faa JCLOUDS-1399: Support S3 One Zone-IA storage class
Also improve test coverage of storage classes.
2018-04-04 21:44:28 -07:00
Ignasi Barrera 64be8f7b1a Fix error code in ProjectApiLiveTest 2018-03-26 15:05:44 +02:00
Andrew Gaul 1eec2b6e01 JCLOUDS-1367: Return InputStream from getBlob
Previously filesystem and transient returned ByteSource while all
other providers returned InputStream.
2018-03-24 12:13:25 -07:00
Andrew Gaul 90fac3b683 JCLOUDS-1271: Remove BlobStore.signRemoveBlob
Most providers never supported this functionality and the portable
abstraction should not have included it.
2018-03-09 20:52:12 -08:00
Alin Dreghiciu 775921cd5d JCLOUDS-1394: Increase Azure max blob size to 256MB 2018-03-09 07:56:59 -08:00
Alin Dreghiciu 584ca19fad JCLOUDS-1392: Do not filter non BLOBs during list 2018-03-08 22:39:26 -08:00
Alin Dreghiciu cbb76523cc JCLOUDS-1391: Sort headers correctly for signing 2018-03-07 22:13:43 -08:00
Alin Dreghiciu f6d95d0fda JCLOUDS-1390: Use FULL projection for list blobs
This avoids a per-object call during detailed listings.
2018-03-07 21:47:44 -08:00
Ignasi Barrera 22cfbb86f2 JCLOUDS-1381: Add unit tests 2018-03-02 08:57:45 +01:00
andreaturli 7fa2ea613e fix typo in project.version
- from 2.2.0-SNAPSHOST to 2.2.0-SNAPSHOT
2018-02-21 16:57:09 +01:00
andreaturli d17487b223 fix typo in project.version
- from 2.2.0-SNAPSHOST to 2.2.0-SNAPSHOT
2018-02-21 16:45:43 +01:00
andreaturli 2305035e89 Next development version 2.2.0-SNAPSHOST 2018-02-16 11:29:15 +01:00
andreaturli a3799e6630 Apache jclouds 2.1.0-rc3 release 2018-02-16 11:28:53 +01:00
andreaturli a5db565581 Next development version 2.2.0-SNAPSHOST 2018-02-16 11:23:12 +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