Timur Alperovich 539a9854c1 JCLOUDS-1450: Use S3-style ETags for MPUs.
S3 uses a different ETag for multipart uploads (MPUs) than regular
objects. The ETag consists of the md5 hash of the concatenated ETags of
individual parts followed by the number of parts (separated by "-").

The patch changes the LocalBlobStore's implementation of
CompleteMultipartUpload to set the S3-style ETag before calling
putBlob() and return that ETag to the caller.

To simplify testing, a new protected method with a default NOOP
implementation is added to the BaseBlobIntegrationTest. It allows
providers to further verify MPUs (i.e. ensuring the correct ETag has
been stored alongside the object).
2018-10-24 13:25:00 -07:00
2018-02-21 16:45:43 +01:00
2018-02-21 16:45:43 +01:00
2018-02-21 16:45:43 +01:00
2018-02-21 16:45:43 +01:00
2018-10-12 23:28:00 -07:00
2018-10-12 23:28:00 -07:00
2018-02-21 16:45:43 +01:00
2018-07-11 09:42:18 -07:00
2018-02-21 16:45:43 +01:00
2018-10-12 23:28:00 -07:00
2018-02-21 16:45:43 +01:00
2017-03-03 16:34:32 +01:00
2014-10-04 09:22:01 -07:00
2015-02-05 15:10:37 +01:00
2018-02-21 16:45:43 +01:00

jclouds

Apache jclouds is an open source multi-cloud toolkit for the Java platform that gives you the freedom to create applications that are portable across clouds while giving you full control to use cloud-specific features.

For more information about using or contributing to jclouds, please visit our website at jclouds.apache.org.

License

Copyright (C) 2009-2013 The Apache Software Foundation

Licensed under the Apache License, Version 2.0

Description
The Java Multi-Cloud Toolkit
Readme 98 MiB
Languages
Java 99.4%
Shell 0.5%