Zack Shoylev
c96cfb6176
Fix cleanup when the security group extension is not available.
2016-05-19 12:08:36 -05:00
Sergey Tselovalnikov
0e41b45af5
Fix NPE when node is null
2016-05-17 16:46:24 +02:00
Andrew Gaul
cd50ad905d
Avoid NPE in BaseBlobStore.copyBlob
...
Resolves copyBlob failures in Atmos.
2016-05-12 12:48:07 -07:00
Andrew Gaul
41bdd9c5a9
Skip unimplemented signed URL tests in S3 provider
...
jclouds aws-s3 provider supports these but s3 does not. Also expect
failure in atmos and azureblob. Follow on to
a4c40e15cd
.
2016-05-12 12:12:52 -07:00
Andrew Gaul
e423bc949e
Avoid use of primitive wrapper constructors
...
Deprecated in Java 9.
2016-05-09 22:47:27 -07:00
Andrew Gaul
62410d31ae
Handle missing containers in LocalBlobStore.list
...
Also fix FilesystemStorageStrategyImpl.getContainerMetadata to return
null on missing container as jdbc and transient already do.
2016-05-06 21:36:28 -07:00
Andrew Gaul
a4c40e15cd
Handle unimplemented signed URL tests in providers
...
This commit makes it evident in source code which providers do not
support this feature.
2016-05-06 10:31:37 -07:00
Andrew Gaul
0af3380a60
Address error-prone CheckReturnValue errors
...
Found via Guava 20.0.
2016-04-28 14:16:22 -07:00
Ignasi Barrera
ab3a6f003b
JCLOUDS-1043: Support IAM service accounts in Google Cloud
2016-04-28 10:15:33 +02:00
Andrew Gaul
86848e3ddd
Upgrade to findbugs-maven-plugin 3.0.3
2016-04-27 20:29:11 -07:00
Andrew Gaul
da386ad0e2
Correct FindBugs warnings
2016-04-27 20:28:37 -07:00
Andrew Gaul
cdbf856900
Address error-prone AssertFalse warnings
2016-04-27 18:54:09 -07:00
Ignasi Barrera
04f1bb2b49
JCLOUDS-1104: Extension namespaces are deprecated and can be null
2016-04-26 22:38:45 +02:00
Andrew Donald Kennedy
42d0576aa9
Add openStdin option to Docker template options and set all port bindings explicitly
2016-04-26 10:33:17 +02:00
Andrew Gaul
6446627aad
Correct equals with incompatible types
...
Found via error-prone.
2016-04-24 23:28:55 -07:00
Andrew Gaul
66cda12b50
Avoid eager evaluation of Preconditions messages
...
Found via error-prone.
2016-04-24 23:28:55 -07:00
Andrew Donald Kennedy
49f7bc37af
Make DockerTemplateOptions values null safe
2016-04-19 17:01:18 +02:00
Ignasi Barrera
e5f65a4791
Revert "Add FalseOnNotFoundOr204 Fallback"
...
This fallback was added by mistake and because of my bad advice
on a code review. Fallbacks only apply for failed responses which
status code is >= 300, so a fallback for a 204 would never
be triggered.
This reverts commit e65950b858
.
2016-04-19 16:36:30 +02:00
Andrew Gaul
3cf4e3d79c
JCLOUDS-1101: Correct generics wildcard errors
...
Always incorrect but previously broken on Java 9. Reference:
https://bugs.openjdk.java.net/browse/JDK-8075793
2016-04-18 09:49:58 -07:00
Ignasi Barrera
cf07407c2d
JCLOUDS-1077: Fix ProjectApiLiveTest in Google Compute Engine
2016-04-16 02:05:29 +02:00
Rita Zhang
e65950b858
Add FalseOnNotFoundOr204 Fallback
2016-04-15 23:51:55 +02:00
Ignasi Barrera
819141a608
Fixed OAuth authentication flow injections
2016-04-07 10:10:10 +02:00
Andrew Donald Kennedy
047595c7bb
Added volumesFrom to Docker template options
2016-04-05 10:22:56 +02:00
Jim Spring
0420741690
Add support for Azure AD authentication using Service Principal and Password
2016-04-01 14:50:09 +02:00
Oleg
74a2a2683f
JCLOUDS-1102: Fix. Rackspace returns a new structure for volume types.
2016-04-01 14:48:12 +02:00
kilida
59a0014bdf
Duplicate conditional and body in VirtualSystemSettingDataHandler.java
2016-03-28 16:12:58 +02:00
Andrew Gaul
0f77386c77
JCLOUDS-766: JCLOUDS-1090: Use AWS v4 signature
...
Previous commits added support for v4 but did not default to it. URL
signing continues to use v2 signatures due to a conflict between PUT
requests and v4 content signing. Addresses
AWSS3ServiceIntegrationLiveTest.testAllLocations test failures.
2016-03-27 16:27:30 -07:00
Andrew Gaul
fdec2fa99f
JCLOUDS-766: Do not resign already-signed requests
...
Previously jclouds would add both a V2 and V4 signature to some
requests which Amazon rejects. Addresses AWSS3BlobSignerLiveTest test
failures with time-limited requests.
2016-03-27 16:24:12 -07:00
Andrew Gaul
6964ef6c8f
Actually send RRS in putBlobWithReducedRedundancy
...
Regression from 0f6ab3944f
.
2016-03-27 14:25:56 -07:00
Andrew Gaul
35f4f2bbf1
Use more unique names in containerDoesntExist
...
Previously this failed on AWS due to another container named
"forgetaboutit".
2016-03-27 13:48:42 -07:00
Fernando Ribeiro
80beb9b397
JCLOUDS-1098: Fix OpenStack Marconi Unit Tests
2016-03-23 16:28:34 +01:00
Fernando Ribeiro
92e6319cd7
JCLOUDS-1095: Update OpenStack KeyStone Support for Zaqar
2016-03-23 10:29:07 +01:00
Zack Shoylev
760995a46e
Use non-privileged mode for compute
2016-03-21 12:49:07 -05:00
Andrew Gaul
6e7801ad58
JCLOUDS-766: Fix issues with chunked upload signer
...
Previously we created a new builder instead of using the one the
method modified and did not preserve content encoding. Addresses
AWSS3BlobIntegrationLiveTest.testPutInputStream test failures.
2016-03-20 16:06:51 -07:00
Andrew Gaul
8053abb530
JCLOUDS-766: Check metadata and headers for MD5
...
Addresses AWSS3ClientLiveTest.testMultipartSynchronously test
failures.
2016-03-18 22:56:54 -07:00
Andrew Gaul
35c5d7ffc0
JCLOUDS-766: Include Content-MD5 in v4 signature
...
Addresses AWSS3BlobIntegrationLiveTest.deleteMultipleObjects test
failures.
2016-03-18 16:58:03 -07:00
Andrew Gaul
feae011c4d
JCLOUDS-766: URL encode path for v4 signatures
...
Addresses AWSS3BlobIntegrationLiveTest.deleteObject test failures.
2016-03-18 15:05:05 -07:00
Andrew Gaul
2501122a20
JCLOUDS-766: Add eu-central-1 to test expectations
...
Addresses AWSS3ServiceIntegrationLiveTest.testGetAssignableLocations
test failures. Follow-on to c18371a793
.
2016-03-17 23:48:07 -07:00
IgnacioCalvo
7d2f1e8b4d
JCLOUDS-1080: Force JSON format for requests
...
Also make all fields optional.
2016-03-17 20:40:51 -07:00
Ciprian Ciubotariu
9a20cadaf9
Improve version range specification for guava
...
The defaults of maven-bundle-plugin set the required version range to
only match guava-16, but the actual usage of guava within jclouds allows
any version after guava-16.
This helps dependent projects mix jclouds with bundles using other guava
versions within OSGi environments.
2016-03-16 15:35:24 +01:00
Ignasi Barrera
b9322c583d
JCLOUDS-1091: Populate the Content-Length header in the OkHttp driver
2016-03-14 12:42:44 +01:00
Josef Cacek
f3ee898c13
[JCLOUDS-1089] Add image history support to Docker ImageApi
2016-03-08 23:06:21 +01:00
Josef Cacek
831cdc67c3
[JCLOUDS-1002] provide access to Docker container Config object in the Node template options
2016-03-08 23:01:52 +01:00
Aled Sage
60e58dc989
Fix TemplateOptions.clone; adds RunScriptOptions.copyTo
...
Previously not all fields of RunScriptOptions were included in copyTo
(e.g. runAsRoot and initScript).
Also options.equals(options.clone()) failed if options.loginPassword
was originally null - in the cloned object, it would be Optional.absent.
Fixes RunScriptOptions.toString, to only say “loginPasswordPresent”
if optional.isPresent().
2016-03-08 21:49:55 +01:00
Zack Shoylev
f8ebbfdf8a
Fixes an intermittently failing swift live test.
2016-03-08 12:38:13 -06:00
Alex Heneveld
d649c90d98
fix for issue if SL machine has multiple credentials registered
...
now just pick the best one. it matters only when we are going to log in to a machine.
the only time the problem has been observed has been with pre-existing machines set up
outwith jclouds with multiple password.
2016-03-08 14:59:20 +01:00
Andrew Gaul
c18371a793
JCLOUDS-766: Add eu-central-1 to AWS S3 regions
...
Also clean up some missing and duplicated properties.
2016-03-07 21:21:08 -08:00
Andrew Gaul
dd670f3f78
JCLOUDS-1064: More helpful error for null length
2016-03-06 19:08:26 -08:00
Ignasi Barrera
72f2652dca
Properly handler ProfitBricks service errors
2016-03-02 14:51:29 +01:00
Ignasi Barrera
59a88ff898
Fix ProfitBricks TemplateBuilderLiveTests
2016-02-24 22:56:40 +01:00