Commit Graph

75 Commits

Author SHA1 Message Date
adrian.f.cole 564573a0ad new beta
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1504 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-30 17:53:59 +00:00
adrian.f.cole 88cf2aad63 better debug and disabled google test
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1503 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-30 17:19:13 +00:00
adrian.f.cole 2639bedc8e [maven-release-plugin] prepare release 1.0-beta-2
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1502 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-30 17:17:16 +00:00
adrian.f.cole f146babae1 ExecutionExceptions are unwrapped, changed to response exception
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1498 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 17:11:22 +00:00
adrian.f.cole fe012d98e2 increased default timeout so ec2 can finish
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1497 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 15:54:15 +00:00
adrian.f.cole 83a2d93459 Issue 71: retry on 400/RequestTimeout and 409/OperationAborted
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1495 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 14:41:56 +00:00
adrian.f.cole 9072a949d3 Issue 70: InputStreamReader is a more effective way to enforce encoding
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1494 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 14:32:57 +00:00
adrian.f.cole bca4f3f5dd Issue 69: remove host header when we redirect
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1492 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 13:52:35 +00:00
adrian.f.cole cc6ff3a805 avoid thread safety issues
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1491 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 13:52:02 +00:00
adrian.f.cole fcaa546356 Issue 70, hard set encoding to UTF-8 to avoid silent errors that result in characters being converted to '???'
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1490 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 13:07:53 +00:00
adrian.f.cole da67580497 Issue 67: updated pom and repo to include guice version that supports constructor binding
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1485 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 09:23:36 +00:00
adrian.f.cole 6829c4ace2 Issue 70 sorting out url encoding
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1483 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-28 21:58:00 +00:00
adrian.f.cole 917dae7c21 Issue 64: started logging integration tests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1480 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-28 16:48:39 +00:00
adrian.f.cole 8508c37a3b instrumented so that NPE contain the XML content it arised from
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1474 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 18:27:59 +00:00
adrian.f.cole 8da58cc24d set sax parse debug as a supported option
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1470 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 17:17:41 +00:00
adrian.f.cole 27f360e88e auto-redirection to SSL addresses doesn't work, using jclouds redirection
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1469 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 17:16:20 +00:00
adrian.f.cole 7b1f565308 added context to exception
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1468 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 17:15:36 +00:00
adrian.f.cole 2a9ca61b36 Issue 69: added in S3 specific retry handling
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1467 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-26 20:53:55 +00:00
adrian.f.cole 81ee88335e Issue 69: ensured redirect handlers copy the content stream before closing it, as this data is needed for error parsing
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1465 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-26 17:41:39 +00:00
adrian.f.cole 44d4c37a90 Issue 69: corrected retry/error guice bindings
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1463 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-26 12:34:28 +00:00
adrian.f.cole 383b9bf2c6 cleaning up Handler binding
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1462 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-24 22:38:37 +00:00
adrian.f.cole 48c3155450 issue 69: refactored http clients to not be bound to a single endpoint such that redirects can be assigned to another host
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1456 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-24 18:25:04 +00:00
adrian.f.cole 39e96d041f Issue 69: removed unusable or redundant code wrt http error handling
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1455 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-22 07:21:03 +00:00
adrian.f.cole 1557173695 Issue 68 expose endPoint URI in HttpRequest
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1453 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-21 01:45:34 +00:00
adrian.f.cole 8bd15c7fc9 converted http methods to enums
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1449 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-21 00:22:04 +00:00
adrian.f.cole 3f7833c2c3 Issue 55 enhanced integration tests to support redirect testing
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1448 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-19 20:08:31 +00:00
adrian.f.cole ec11f2ef20 check null before attempting to close a stream
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1440 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-17 23:00:22 +00:00
adrian.f.cole e09669ca7b Issue 63
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1435 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-17 12:40:59 +00:00
adrian.f.cole 7388293178 Issue 9: updated javadoc
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1433 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-16 22:07:23 +00:00
adrian.f.cole e773803ee2 Issue 62: always set Content-Length
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1424 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 23:20:37 +00:00
adrian.f.cole bc0fddac45 fixed imports
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1422 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 23:18:03 +00:00
adrian.f.cole 818489e9a3 Issue 9
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1416 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 15:43:10 +00:00
adrian.f.cole d9ff753ac4 Issue 9: better javadoc
git-svn-id: http://jclouds.googlecode.com/svn/trunk@883 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-30 10:47:35 +00:00
jamurty 3d41d6b107 CopyObject command now works with non-ASCII object names
git-svn-id: http://jclouds.googlecode.com/svn/trunk@881 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-30 06:57:55 +00:00
jamurty 4403887200 Fixed HttpRequest to work with non-ascii object names. Also added string encode/decode methods to the core Utils, please use this instead of the dreaded String#getBytes
git-svn-id: http://jclouds.googlecode.com/svn/trunk@878 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 22:49:12 +00:00
jamurty e102d1e64f Made backoff-delay error handler test more forgiving of delays in testing
git-svn-id: http://jclouds.googlecode.com/svn/trunk@869 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 07:12:59 +00:00
adrian.f.cole 0f346ca1c2 new license header
git-svn-id: http://jclouds.googlecode.com/svn/trunk@864 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-28 21:10:33 +00:00
jamurty 2c4b66a960 Factored Jetty testing code into a separate class, and added a derived test for Backoff Retry implementation. This test needs some work to obtain the system's actual retry limit, rather than assuming a constant limit of 5
git-svn-id: http://jclouds.googlecode.com/svn/trunk@854 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 18:33:27 +00:00
jamurty 1f64fb1db3 Unit tests for BackoffLimitedRetryHandler
git-svn-id: http://jclouds.googlecode.com/svn/trunk@853 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 17:33:29 +00:00
jamurty ae00ffd79a Oops, missed some new files required for Issue 37
git-svn-id: http://jclouds.googlecode.com/svn/trunk@851 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 08:21:57 +00:00
jamurty 7d7e7744e7 Fix for Issue 37: Added configurable retry handler to impose maximum limits and a back-off delay algorithm to retries in response to server 5xx errors
git-svn-id: http://jclouds.googlecode.com/svn/trunk@850 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 08:20:44 +00:00
adrian.f.cole 8cc04bc588 Issue 35: moved more common logic one layer up
git-svn-id: http://jclouds.googlecode.com/svn/trunk@844 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-24 19:54:30 +00:00
adrian.f.cole 4eced672f1 Issue 35: moved content, but also renamed options to parameters, as it makes more sense and reformatted some code
git-svn-id: http://jclouds.googlecode.com/svn/trunk@843 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-23 15:01:36 +00:00
adrian.f.cole bb3e8e160c increased timeout for slow machines
git-svn-id: http://jclouds.googlecode.com/svn/trunk@835 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 15:39:31 +00:00
adrian.f.cole f8da659695 made tests parallel and fixed some transient errors in BaseS3Map
git-svn-id: http://jclouds.googlecode.com/svn/trunk@834 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 15:35:57 +00:00
jamurty 9998e6a40c Added jcip-annotations (from Java Concurrency in Practice) for documenting concurrency -- this should prove useful to FindBugs
git-svn-id: http://jclouds.googlecode.com/svn/trunk@824 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 00:53:55 +00:00
adrian.f.cole 2a170a6c14 Issue 25: update to guice 2.0
git-svn-id: http://jclouds.googlecode.com/svn/trunk@819 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-21 13:26:18 +00:00
adrian.f.cole 69deb933e8 separated out unit tests from integration tests and fixed javadoc
git-svn-id: http://jclouds.googlecode.com/svn/trunk@810 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-19 17:33:41 +00:00
adrian.f.cole 7b6024b4b4 [maven-release-plugin] rollback the release of jclouds-1.0-beta-1
git-svn-id: http://jclouds.googlecode.com/svn/trunk@649 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-11 01:59:41 +00:00
adrian.f.cole 84dcb60743 [maven-release-plugin] prepare release jclouds-1.0-beta-1
git-svn-id: http://jclouds.googlecode.com/svn/trunk@647 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-11 01:49:44 +00:00