Commit Graph

10547 Commits

Author SHA1 Message Date
Ignasi Barrera 53c011a3bc JCLOUDS-1463: Do not return MachineTypes from zones that are not available for deploy 2018-10-24 09:20:52 +02:00
Ignasi Barrera 9142af74b8 JCLOUDS-1462: Upgrade Apache Http driver to 4.3.6
In response to https://nvd.nist.gov/vuln/detail/CVE-2015-5262
2018-10-18 17:59:55 -04:00
Oliver Gondža 437f944e7c Make NovaErrorHandler logging of sensitive information configurable 2018-10-18 11:32:22 +02:00
Mahmoud Ismail 71dbce557d Mark sourceImage as Nullable 2018-10-18 11:28:20 +02:00
smedavaram75 f60e3e4a57 JCLOUDS-1419: Add missing REGIONAL storage class 2018-09-13 13:28:43 -07:00
David Currie f74d1c0976 JCLOUDS-1447: URL encode x-amz-copy-source
The x-amz-copy-source header on S3 CopyObject should be URL encoded (as
a path). This is not universally true of all headers though (for example
the = in x-amz-copy-source-range) therefore introducing a new parameter
on @Headers to indicate whether URL encoding should take place.
2018-09-12 08:03:27 -07:00
David Currie 8693687766 Correct failing testUseBucketWithUpperCaseName
As of March 1 2018, bucket names must be DNS compliant in all regions
therefore removing failing test of legacy names in US regions.
2018-09-12 08:03:25 -07:00
Dani Estevez 951b6b4403 JCLOUDS-1441: Enables support for ARM regions in China
Adds new china regions

Fixes pattern matching for China provider oauth string

Modifies test for oauth string

overrides jclouds.oauth.resource property for tests

Graph and Vault API Endpoints need to be configurable

jclouds.oauth.resource is not mandatory

Adapted Endpoints for APIs GraphRBAC and Vault

Adds unit test for china oauth endpoint check

Minor fix to regular expression
2018-09-06 10:40:42 -04:00
Markus Alexander Kuppe ca063d8bfa JCLOUDS-1339: Support launching an x1 EC2 instance
https://issues.apache.org/jira/browse/JCLOUDS-1339
2018-08-23 20:27:56 +02:00
Mathieu Tortuyaux 591fe84dd9 JCLOUDS-1443: fix(rest/processor): check if `/` is ending a default endpoint 2018-08-23 20:27:38 +02:00
Ignasi Barrera 2dec150888 Next development version 2.1.2-SNAPSHOT 2018-08-09 12:45:47 +02:00
Ignasi Barrera 0c79252f64 Apache jclouds 2.1.1-rc1 release 2018-08-09 12:42:41 +02:00
Vikas Rangarajan e54312aaeb JCLOUDS-1436: Add support for aws ec2 m5 instance types
fix: remove duplicate imports
2018-08-01 17:19:02 -04:00
Vikas Rangarajan 0ee68a5f83 JCLOUDS-1387: Add support for c5 instance types in AWS ec2 2018-08-01 16:50:02 -04:00
Dani Estevez 4d1f64d7bd Adds method checkIpAvailability to VirtualNetworkApi
Addresses @nacx comments

Fixed formatter maximum line width. Removed redundantTest
2018-07-13 07:10:57 -07:00
Dani Estevez cc3ad73994 Adds missing virtualMachine field to NetworkInterfaceCardProperties 2018-07-12 09:24:32 -07:00
Dani Estevez 2bddbd5197 Adds listAll to PublicIPAddressAPI
Adds listAll to NetworkInterfaceCardApi

Addresses comments on tests

Sets resourcegroup pathparam as nullable for NetworkInterfaceCardApi and PublicIPAddressApi
2018-07-12 09:24:26 -07:00
Ignasi Barrera a137cfe39a Adds ConcurrentModificationException to the list of propagatable types 2018-07-11 09:44:56 -07:00
Jesse Glick ddcb04c85a Pinning down JCLOUDS-1401 fix behavior with a unit test which is able to distinguish URI.query from URI.rawQuery. 2018-07-11 09:37:37 -07:00
Jesse Glick a29f6065c4 Live test demonstrating effectiveness of JCLOUDS-1401 fix. 2018-07-11 09:37:33 -07:00
Jesse Glick b9596bf049 Allow S3ClientLiveTest (and AWSS3ClientLiveTest) to use a session token. 2018-07-11 09:37:30 -07:00
Jesse Glick 5987a92020 [JCLOUDS-1401] Properly URL-encode the CanonicalQueryString when it contains funny characters. 2018-07-11 09:37:25 -07:00
Jesse Glick 9f999617ce [JCLOUDS-1433] $ and \ in tokenValues passed to Strings2.replaceTokens(String, Multimap) could result in IllegalArgumentException. 2018-07-10 15:01:33 -07:00
Dani Estevez 467501fddc Implements VirtualMachineAPI deallocate operation
https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/deallocate

Adds missing mock test
Fixes returning codes from API methods to 202
2018-07-09 10:29:50 -07:00
Ignasi Barrera 00b6697d09 Added Virtual Network Gateway Connection API 2018-07-06 10:06:17 +02:00
Ignasi Barrera e9f29f35e7 Fix GCE live tests 2018-07-04 16:54:59 +02:00
Ignasi Barrera 9705aa7fb8 Added Virtual Network Gateway API 2018-07-03 12:52:17 +02:00
Dani Estevez ff95137faa Adds minor improvements to readability 2018-06-26 09:05:13 +02:00
Dani Estevez d8257ae435 Checks network availability before working with recently created networks 2018-06-26 09:04:27 +02:00
Dani Estevez 0ae9e5a094 Adds new Generally Available azure locations for Australia and France 2018-06-26 09:01:59 +02:00
Lucia Monte ef48698488 JCLOUDS-1427: Fix Elastic IP deserialization when IP has tags 2018-06-20 15:30:55 +02:00
Dani Estevez cace304ed8 Fixes/adds fields primary for NetworkInterfaceCardProperties and misplaced in IpConfiguration 2018-06-15 08:57:10 +02:00
Ignasi Barrera 2a957193cc Added Local Network Gateway API 2018-06-13 14:22:56 +02:00
Jesse Glick 8d2808e309 [JCLOUDS-1422] Ensure that LocalBlobStore.list honors !recursive even when a prefix is defined. 2018-06-06 22:49:19 -07:00
Jesse Glick 3cb8d4f87c Include the delimiter field in ListContainerOptions.toString. 2018-06-06 22:49:18 -07:00
Dani Estevez 880287c6ab Adds test for Azure name validator 2018-05-25 09:40:21 +02:00
Dani Estevez df5930f720 Adds new more relaxed validator for Azure entities 2018-05-25 09:40:21 +02:00
Ignasi Barrera 3878e6a61c 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:32:00 +02:00
Mat Mannion d464e8a370 JCLOUDS-1263: Add live integration test for manipulating objects through the Swift ObjectApi with unicode characters in their path 2018-05-21 22:23:04 -07:00
Mat Mannion 4288c9eb7f 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:22:56 -07:00
Jesse Glick d47c776cf3 [JCLOUDS-1200] Mark nonserializable fields in HttpResponseException and subtypes as transient. 2018-05-21 22:13:42 -07:00
Dani Estevez 45230c879c Uses default password with conflictive characters 2018-05-17 09:14:13 +02:00
Dani Estevez 889a7f1d6f Fixes Run SSH script for passwords with special characters (as parentheses) 2018-05-17 09:14:06 +02:00
Dani Estevez 6edb99c685 Fixes assert for IpPermissions collection 2018-05-17 09:13:31 +02:00
Ignasi Barrera cce23c1f27
JCLOUDS-1418: Add missing PowerState values 2018-05-16 12:30:51 +02:00
Dani Estevez 491911ec18 Sets session interval from 60 seconds to a higher value to avoid problems with cache 2018-05-12 00:43:23 +02:00
Alix Lourme 93a805ca57 JCLOUDS-1414: OpenStack Keystone V3 - different auth "domains" support 2018-05-10 10:43:35 +02:00
Ignasi Barrera b144d9f473 JCLOUDS-1294: Attempt to retry RetryableErrors in Azure ARM 2018-05-04 11:04:55 +02:00
Ignasi Barrera c96028a2ae Cleanup unused variables 2018-05-04 11:04:51 +02:00
Dani Estevez a32690a2e0 Protects from NPE input.getLocation() is nullable 2018-05-04 10:46:32 +02:00