commit | 04feb8f8482e48b6c26166edb3d6fd5a607d858b | [log] [tgz] |
---|---|---|
author | Timur Alperovich <timur@timuralp.com> | Sat Apr 03 18:06:41 2021 -0700 |
committer | Andrew Gaul <andrew@gaul.org> | Sun Apr 04 20:06:26 2021 +0900 |
tree | 641e00b7d3918a73b0c7dfd937f2a9b9e0d9f035 | |
parent | c995a04fe90b20b621af18fdf1674d3245d2a50e [diff] |
Parse out of order ListBuckets response elements Currently, jclouds assumes that the ListBuckets response follows a specific order: the <Owner> tag, followed by the <Buckets> tag. Within the <Owner> tag, jclouds further assumes that the <ID> must occur before the <DisplayName> tag. If the XML body does not adhere to this order, the parser throws a NullPointerException. DigitalOcean spaces does not adhere to this order and returns the <DisplayName> tag before the <ID> tag. The patch changes the parser to not depend on the order of the tags.
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.
Copyright (C) 2009-2019 The Apache Software Foundation
Licensed under the Apache License, Version 2.0