jclouds/apis
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
..
atmos Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
byon Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
chef Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
cloudstack Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
cloudwatch Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
docker Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
ec2 Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
elasticstack Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
filesystem Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
oauth Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
openstack-cinder Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
openstack-keystone Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
openstack-neutron Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
openstack-nova Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
openstack-nova-ec2 Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
openstack-swift JCLOUDS-1580 - Add support for lowercase metadata headers 2021-06-23 09:59:26 +09:00
openstack-trove Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
rackspace-clouddns Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
rackspace-cloudfiles Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
rackspace-cloudidentity Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
rackspace-cloudloadbalancers Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
route53 Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
s3 Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
sqs Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
sts Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00
pom.xml Next development version 2.4.0-SNAPSHOT 2021-04-14 23:07:54 +09:00