mirror of https://github.com/apache/jclouds.git
2791f47046
The issue happens if a cloud provider returns lowercase metadata headers, for example: "x-object-meta-apiversion" instead of "X-Object-Meta-ApiVersion" In that case, BlobStore.blobMetadata(CONTAINER, PATH).getUserMetadata() incorrectly returns an empty map. This happens because the code is looking for the exact String "-Meta-" (case-sensitive). This checkin allows to handle metadata headers of any case, and also adds a unit test for that situation. |
||
---|---|---|
all | ||
allblobstore | ||
allcompute | ||
allloadbalancer | ||
apis | ||
blobstore | ||
common | ||
compute | ||
core | ||
drivers | ||
loadbalancer | ||
project | ||
providers | ||
resources | ||
scriptbuilder | ||
skeletons | ||
.dir-locals.el | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
CONTRIBUTING.md | ||
README.md | ||
pom.xml |
README.md
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-2019 The Apache Software Foundation
Licensed under the Apache License, Version 2.0