The Java Multi-Cloud Toolkit
Go to file
i831992 2791f47046 JCLOUDS-1580 - Add support for lowercase metadata headers
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.
2021-06-23 09:59:26 +09:00
all Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
allblobstore Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
allcompute Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
allloadbalancer Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
apis JCLOUDS-1580 - Add support for lowercase metadata headers 2021-06-23 09:59:26 +09:00
blobstore Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
common Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
compute Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
core Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
drivers Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
loadbalancer Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
project Remove error-prone 2021-04-15 08:02:06 +09:00
providers Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
resources Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
scriptbuilder Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
skeletons Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
.dir-locals.el JCLOUDS-26. Adding .dir-locals.el for Emacs tab-width setting 2013-05-10 14:52:52 -07:00
.gitattributes Add .gitattributes to avoid line endings issues 2015-10-07 20:43:55 +02:00
.gitignore JCLOUDS-1166: Relocate the gson internal packge to be able to keep using it (#35) 2019-06-17 17:43:29 +02:00
.mailmap Update mailmap for acole@twitter.com 2014-10-04 09:22:01 -07:00
.travis.yml Enable docs in travis build (#69) 2020-04-17 08:26:50 +02:00
CONTRIBUTING.md Fixed the CONTRIBUTING links 2015-02-05 15:10:37 +01:00
README.md Update README copyright dates 2019-09-19 19:19:16 -04:00
pom.xml Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00

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