1) Swift container and JSON format for requests
Regarding the following pull request by @zack-shoylev (thanks, good job) : 
https://github.com/jclouds/jclouds/pull/922
Related to this ticket : 
https://issues.apache.org/jira/browse/JCLOUDS-1080
I think that is also needed for all the @GET methods in ContainerApi.java, 
ObjectApi.java and StaticLargeObjectApi.java

2) Prevent NumberFormatException and NullPointerException when parsing Swift's 
response
We need to prevent NumberFormatException and NullPointerException as Swift will 
not give a value for bytesUsed, objectCount, date, etag and name.
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/923

-- Commit Summary --

  * Swift container and JSON format for requests
  * Swift container and JSON format for requests
  * Swift container and JSON format for requests
  * Prevent NumberFormatException when parsing Swift's response
  * Prevent NullPointerException when parsing Swift's response

-- File Changes --

    M 
apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/features/ContainerApi.java
 (1)
    M 
apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/features/ObjectApi.java
 (4)
    M 
apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/features/StaticLargeObjectApi.java
 (1)
    M 
apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/functions/ParseContainerFromHeaders.java
 (6)
    M 
apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/functions/ParseObjectListFromResponse.java
 (15)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/923.patch
https://github.com/jclouds/jclouds/pull/923.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/923

Reply via email to