jclouds/jclouds — pull request #999 by steveloughran (2012-11-22 14:45:58+00:00)
Title: Jclouds 549 -failure detection

Parse of json response, conversion of timestamp into time_t offset and a new exception (where successful), returned the (existing) Insufficient Resources Exception if parsing failed.

Unit tests of the inner parsing and the conversion logic.

The code links in the ComputeServiceConstants.COMPUTE_LOGGER to the handler to log when the JSON failed to parse. That was useful during testing against a live cluster, and could be retained -I don't know if that's the right logger to use.