Commit Graph

10461 Commits

Author SHA1 Message Date
Andrew Gaul 8344ddcc2c JCLOUDS-1314: Remove unused import 2017-07-07 11:04:03 -07:00
Andrew Gaul 914e3a6f85 JCLOUDS-1304: B2 native prefix and delimiter
Previously B2 emulated prefix and delimiter via client-side filtering.
Enabled by recent service additions.
2017-07-07 10:21:26 -07:00
Svetoslav Neykov cb556428e3 Fix SGE.removeSecurityGroup for when the SG doesn't exist 2017-07-07 10:37:03 +03:00
Andrew Gaul 84653bac65 Suppress self-comparison error-prone warning
We intentionally self-compare to test correctness.
2017-07-04 11:15:51 -07:00
Andrew Gaul d36812e5a6 Correct misplaced AutoValue parameters
Found via error-prone 2.0.21.
2017-07-04 11:15:21 -07:00
Andrew Gaul d6ca5cb429 Correct reversed assertEquals arguments
Found via error-prone 2.0.21.
2017-07-04 11:14:16 -07:00
Ignasi Barrera f086c050f9 Use the date service to parse dates 2017-06-28 09:29:52 +02:00
Dani Estevez b2cc647ff2 Implements metrics and metricdefinitions API 2017-06-28 08:58:54 +02:00
Svetoslav Neykov 624e4cb6af
JCLOUDS-1307: Invalidate SG on removal even if already externally deleted 2017-06-27 13:32:38 +03:00
Svetoslav Neykov 65ba26eca7
JCLOUDS-1307: Invalidate SG on removal even if already externally deleted 2017-06-27 13:26:51 +03:00
Ignasi Barrera b77ea06950 Improve duplicate ssh key check in Packet 2017-06-15 12:30:17 +02:00
El del tallat eaf10f10a9 Properly unregister all created key pairs 2017-06-12 08:40:10 +02:00
Ignasi Barrera d905adebe1
Improve OS detection and SSH configuration in Packet 2017-06-12 08:29:51 +02:00
Svetoslav Neykov 1d4cb6c392 [JCLOUDS-1306] Fix SG cache invalidation when deleting 2017-06-09 12:04:29 +02:00
Stuart Hendren 5113be22d8 JCLOUDS-1293 Add custom IOException retry handler for AWS-EC2
As all methods use POST we can not use the method to determine if funciton is idempotent.
We therefore set all as idempotent to nullify that check and add a custom
IOException retry handler to determine if commands should be retried on IOException.

The custom hander extends the BackoffLimitedRetryHandler, the current handler, so all other behaviour is not affected.

This does not retry any POST methods unless it's ACTION starts with 'Describe'. These functions are idempotent, and therefore safe to retry.

See JCLOUDS-1293
2017-06-07 12:00:06 +02:00
Ignasi Barrera c83a08a8d6 JCLOUDS-1300: Subnetwork fixes and reuse the TemplateOptions.networks 2017-05-31 09:25:55 +02:00
Nelson Araujo 2ec28df21b JCLOUDS-1122: Support subnetworks definitions in Google Compute. 2017-05-31 09:25:42 +02:00
Ignasi Barrera db2f86bcec
JCLOUDS-1295: Support deprecated date formats in the Expires header 2017-05-29 16:59:42 +03:00
Valentin Aitken 9718bec439 Azurecompute ARM - proper tests for disks
- Fix DataDisk.CachingTypes.fromValue to recognize values properly
- Fix tests which had blob disks and managed disks at the same time
- At this point managed disks are used by default and should be tested.
2017-05-29 10:29:34 +02:00
Geoff Macartney 28c3c33bf0 Temporarily use a custom annotation instead of @SinceApiVersion.
The intention is to use @SinceApiVersion for this purpose, but that
would affect a number of APIs, and we would want to have good test
coverage before merging that change (in
FormSignerUtils#getAnnotatedApiVersion). However, there is some issue
wth certain tests at resent that means we cannot successfully test
all APIs that make use of @SinceApiVersion in order to assure
ourselves that FormSignerUtils will not introduce some problem.

See https://github.com/jclouds/jclouds/pull/1102#issuecomment-302682049
for details.

This annotation is introduced as a temporary measure in order to
decouple the functionality of FormSignerUtils#getAnnotatedApiVersion
from @SinceApiVersion and the tests in question. It can be removed and
replaced by @SinceApiVersion when those tests are fixed.

Designates that a method overrides the {@link ApiVersion} on the class
with a specific value.
2017-05-29 10:24:52 +02:00
Geoff Macartney ce0a0ad213 Add ModifySubnetAttribute 2017-05-29 10:24:52 +02:00
Geoff Macartney b3d21f9652 Add RouteTable API.
Limitations:
Does not contain support for VgwRoutePropagation.
2017-05-29 10:22:46 +02:00
Yavor Yanchev 50ae01985a Adding support for provisioning of Windows VMs with enabled WinRM
- Provisioning using pre-existing KeyVault
- Enabling WinRM with pre-existing certificate
2017-05-25 16:34:00 +03:00
Dani Estevez 45480c4913 Fixes India regions to their actual name 2017-05-23 08:13:33 +02:00
Ignasi Barrera a9006288e8 Updated pom.xml files 2017-05-19 08:33:14 +02:00
Ignasi Barrera c757906fb5 Merge remote-tracking branch 'jclouds-labs-local/packet-moved' into promoted-packet 2017-05-18 23:54:09 +02:00
Andrew Gaul 2b49bf3618 JCLOUDS-1299: Handle % in names during Swift list
uriBuilder.appendPath assumes an encoded path.
2017-05-16 17:29:02 -07:00
ui4j a299a6c1fd JCLOUDS-1297: Fix uploadId format for non-English locale
Add Locale.ENGLISH parameter to String.format(...) to generate same uploadId for different locales.
2017-05-15 20:01:40 +03:00
Geoff Macartney cff2f87e11 Add an InternetGatewayApi to AWSEC2Api.
This is a follow-up to https://github.com/jclouds/jclouds/pull/1091
and particularly the comment at
https://github.com/jclouds/jclouds/pull/1091#issuecomment-299202429:

I have been trying this out and I think we will need to extend it for
practical purposes; if you want to create a VPC and subnet and then
deploy a machine on to it, you also need to jump through a few other
hoops apart from creating the subnet:

 - modify the subnet attributes to permit auto-assign public
   IP ("ModifySubnetAttribute")
 - create an Internet Gateway on the VPC ("CreateInternetGateway")
 - get and then modify the routing table of the subnet to add a public
   (0.0.0.0/0) route through the newly added gateway ("CreateRoute" and
   friends)

There are three AWS APIs needed for the above, an `InternetGatewayApi`,
a `RouteTableApi` and a method in the subnet API, I guess, for modifying
attributes on subnets. This PR contains the `InternetGatewayApi`.
2017-05-11 00:11:29 +02:00
Stephen Tomkinson 89ae3b4fa6 Add logic from JCLOUDS-1261 to the other 2 types of Aws4 signer. 2017-05-10 10:09:22 -07:00
Tomas Tulka 6452960c72 fix for deleting an invalid file
If the file for delete is invalid (typically a wrong filename) an IOException will be thrown.
2017-05-10 01:02:09 -07:00
Stephen Tomkinson 15d27da739 Resolves JCLOUDS-1261 by ensuring non-standard port numbers are in the host header that's used for the AWSv4 auth calculations. 2017-05-10 00:00:14 -07:00
Geoff Macartney 5b2aca103e Fix CRLF on google-cloud-storage logback.xml 2017-05-09 16:46:41 +01:00
Andrew Gaul 4fb54c0a74 JCLOUDS-1272: Graduate B2 to core 2017-05-08 13:56:40 -07:00
Andrew Gaul 6643872072 Merge remote-tracking branch 'jclouds-labs-b2-local/promote-b2-moved' into promoted-b2 2017-05-08 11:54:32 -07:00
Andrew Gaul 9ea76ebe4b JCLOUDS-944: Promote Google Cloud Storage to core 2017-05-06 19:35:44 -07:00
Andrew Gaul 6efc894e3f Merge remote-tracking branch 'jclouds-labs-google-local/promote-google-cloud-storage-moved' into promoted-google-cloud-storage 2017-05-06 19:28:48 -07:00
Andrea Turli 1c6c36b81a JCLOUDS-1269; JCLOUDS-1120: ec2 subnet/securityGroups fixes 2017-05-04 17:40:50 +02:00
Aled Sage fe134cf612 Fix logging in nova: don’t assume logback 2017-05-04 16:48:15 +02:00
Ignasi Barrera df30057386 JCLOUDS-1278: Allow to configure virtual machine NICs 2017-04-28 09:03:40 +02:00
Ignasi Barrera ec67fdea32 JCLOUDS-1274: Delete managed disks when cleaning up VM resources 2017-04-27 22:54:08 +02:00
Ignasi Barrera 3a9f5787bf Better encapsulated the image id encoding logic 2017-04-26 00:13:06 +02:00
Ignasi Barrera 3b9609f2d5 Added ID to the LoadBalancer entity 2017-04-26 00:13:02 +02:00
Ignasi Barrera 3d274239a1 Properly honor the configured regions in all list methods (list nodes, images and security groups) 2017-04-26 00:12:57 +02:00
Ignasi Barrera 83c0a3c7b2 JCLOUDS-1273/JCLOUDS-1226: Support multiple resource groups in ARM 2017-04-26 00:12:53 +02:00
Dani Estevez cc13cfeda1 Update ImageExtension to work with Managed Disks 2017-04-24 08:22:43 +02:00
Ignasi Barrera e5063aea12 Fix default executor rejection policies 2017-04-24 08:17:18 +02:00
Andrew Gaul 4183fb744d JCLOUDS-1101: Upgrade to auto-value 1.4.1
Release notes:

https://github.com/google/auto/releases/tag/auto-value-1.4.1
https://github.com/google/auto/releases/tag/auto-value-1.4-rc3
2017-04-22 13:08:54 -07:00
Andrew Gaul 05f64f52b2 JCLOUDS-1109: update Azure signed URL expect tests 2017-04-22 12:07:26 -07:00
Andrew Gaul 1e04eafbab JCLOUDS-255: JCLOUDS-1109: Azure signed URLs expiration
This commit also changes signed URLs from header-based to query
parameter-based.
2017-04-22 10:59:15 -07:00