jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arvindn05 <notificati...@github.com>
Subject [jclouds-labs-openstack] Fixes issue where glance fails to parse image details (#197)
Date Thu, 09 Jul 2015 19:00:57 GMT
Fixes issue where glance fails to parse image details with milli seconds in the date

The issue is described in this bug. https://issues.apache.org/jira/browse/JCLOUDS-333

Caused by: java.text.ParseException: Unparseable date: "2015-06-19T15:06:58.000+0000"
at java.text.DateFormat.parse(Unknown Source)
at org.jclouds.date.internal.SimpleDateFormatDateService.iso8601SecondsDateParse(SimpleDateFormatDateService.java:164)
... 17 more

Original pull request. Had to abandon this because of issues with squelching the various commits
into a single commit.
https://github.com/jclouds/jclouds-labs-openstack/pull/195
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds-labs-openstack/pull/197

-- Commit Summary --

  * Fixes issue where glance fails to parse image details with milli seconds in the date

-- File Changes --

    M openstack-glance/src/main/java/org/jclouds/openstack/glance/v1_0/functions/ParseImageDetailsFromHeaders.java
(4)
    M openstack-glance/src/test/java/org/jclouds/openstack/glance/v1_0/functions/ParseImageDetailsFromHeadersTest.java
(33)

-- Patch Links --

https://github.com/jclouds/jclouds-labs-openstack/pull/197.patch
https://github.com/jclouds/jclouds-labs-openstack/pull/197.diff

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

Mime
View raw message