10123 Commits

Author SHA1 Message Date
Andrew Gaul
bd6a495a04 JCLOUDS-1005: Backblaze B2 object operations 2016-06-09 16:15:11 -07:00
Zack Shoylev
c1ce819f61 updateTemporaryUrlKey test 2016-06-07 17:37:39 -05:00
Zack Shoylev
de88a72e7a Change the template to use CentOS instead. Avoids some openjdk-6 problems. 2016-06-07 17:37:33 -05:00
Duncan Grant
ebc8f7568f Use container host ip not manager ip
When providing node ip in metadata jclouds was using the
ip of the docker manager which was fine for docker machine
but fails when using a swarm cluster.  This uses the ip returned
from docker.
2016-06-06 16:16:44 +02:00
Andrew Gaul
4393c47e7f JCLOUDS-1005: Remove unused Credentials 2016-06-05 12:26:47 -07:00
Andrew Gaul
ae1f6d0c3f JCLOUDS-866: Reduce GCS multipart limit to 32 2016-06-04 00:23:40 -07:00
Andrew Gaul
ed262f7bd6 Delete GCS composite object components
Previously we left dangling subobjects.  The composite object retains
a reference to the components data.
2016-06-04 00:23:22 -07:00
Andrew Gaul
c2a22bc32c JCLOUDS-912: GCS upload InputStream work around 2016-06-03 12:38:43 -07:00
Andrew Gaul
28ed955183 Address error-prone ClassNewInstance errors
Previous behavior deprecated in Java 9.
2016-06-03 03:34:06 -07:00
Andrew Gaul
5d437312bf JCLOUDS-912: Remove GCS simpleUpload UploadBinder
This is not necessary; jclouds binds the Payload automatically;
jclouds binds the Payload automatically.
2016-06-02 22:35:54 -07:00
Andrew Gaul
2b02db4f22 Add ObjectTemplate.toString 2016-06-02 16:24:13 -07:00
Andrew Gaul
ed7ff648e8 Ensure MPU input size meets minimum for test 2016-06-02 11:27:21 -07:00
Andrew Gaul
d983d8d0a7 Revert "Handle when total length is less than part length"
This reverts commit bc1f12b7bdf9dc7a4f09e50b887fe37fb5859c27.
2016-06-02 07:21:48 -07:00
Andrew Gaul
bc1f12b7bd Handle when total length is less than part length 2016-06-01 22:01:38 -07:00
Andrew Gaul
a67ae3f27b Make inner classes static where possible
Found via error-prone.
2016-06-01 20:03:54 -07:00
Andrew Gaul
63bfc2f6e8 Use prefix option in prefix test
Directory is deprecated.
2016-06-01 17:44:43 -07:00
Andrew Gaul
421764dfd1 Remove disposition checks from testFileGetParallel
Some providers like B2 do not support Content-Disposition and other
tests exercise this functionality.
2016-06-01 16:15:47 -07:00
Andrew Gaul
5a85f5b5f9 Use provided minimum part size in MPU tests 2016-06-01 16:15:15 -07:00
Andrew Gaul
1ac73d3093 Ensure MPU has a minimum size 2016-06-01 16:14:58 -07:00
Andrew Gaul
26d85068ca JCLOUDS-1005: Correct B2 package names
Addresses javadoc failures.
2016-06-01 15:18:16 -07:00
Andrew Gaul
209152e30a Abort multipart upload on putMultipartBlob error
This avoids dangling incomplete MPU.
2016-06-01 13:34:53 -07:00
Andrew Gaul
bf7d864c41 Allow null ETag in MultipartPart
Some storage backends, notably filesystem provider using either
Mac OS X or NFS, do not support extended attributes and cannot store
the ETag.  References andrewgaul/s3proxy#135.
2016-06-01 12:47:02 -07:00
Andrew Gaul
bd3bbc4532 JCLOUDS-1005: Backblaze B2 skeleton and bucket ops 2016-05-28 13:08:23 -07:00
Andrew Gaul
fb186d82de Consistently compare quoted ETags in CopyBlob 2016-05-28 12:17:28 -07:00
Andrew Gaul
00a36c3e45 JCLOUDS-654: Add size to BlobMetadata constructor
Follow on to fae097e144c0b9adf00f88ded1d614e2aec963f8.
2016-05-27 17:27:06 -07:00
Josef Cacek
c0469cc9b7 [JCLOUDS-1118] fix configuration options location; mark some fields Nullable 2016-05-26 12:07:39 +02:00
Josef Cacek
d4cf774389 [JCLOUDS-1117] fix for advanced Docker configuration - the Config.Builder should stay unchanged if used 2016-05-26 12:07:33 +02:00
Ignasi Barrera
613290ea8d Allow to link contexts and views together
Some providers need other APIs or portable services to perform certain
operations. This change allows to pass existing Context and View
instances when creating a context, so they are added to the injector of
the context being built. This allows to inject external apis and
providers into an existing provider to leverage the external
functionality.
2016-05-25 21:14:26 +02:00
Ignasi Barrera
d05af2246b Allow to override the Image and Security extension bindings
Some providers, such as Azure ARM, might need additional
resources present in order to be able to use the extension.
This change allows to override its binding (Guice 4 by default does not
allow to override provider bindings, so we need to define them as final
ones and provide an alternate method for subclasses that need to
override the binding).
2016-05-25 21:14:26 +02:00
Andrew Gaul
4ef28251c5 Add missing import
Regression from c5d845d368adf01909fd8ab5eeb824f7c44fb69e.
2016-05-23 20:26:01 -07:00
Andrew Gaul
b7ed4f34ab Replace identity in RestAnnotationProcessor
References jclouds/jclouds-labs#270.
2016-05-23 14:21:42 -07:00
Andrew Donald Kennedy
61fb3ec145 Support supplying key and certificate to Docker as data 2016-05-23 17:52:24 +02:00
Gerrit Janssen
18cba94fab [JCLOUDS-1115] Make sure filesystem API dependency is included when using Java 8 or higher 2016-05-21 16:29:22 +02:00
Andrew Gaul
981b882f59 Handle nested braces in UriTemplates.expand
This allows replacement of JSON-like payloads without using hacks like
percent-encoding braces.
2016-05-20 09:26:45 -07:00
Jim Spring
f46b38dd89 client credentials JWT support 2016-05-20 00:10:37 +02:00
Sergey Torgashov
ccd1ef2b4d JCLOUDS-1114: Adding support for "Placement.Tenancy" and "Placement.HostId" AWS EC2 parameters 2016-05-20 00:07:47 +02:00
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
a4c40e15cdddda30a9683d12bf022d94025567c8.
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
f6210d58d3 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 14:38:57 -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