Commit Graph

53 Commits

Author SHA1 Message Date
Adrian Cole 7228d2ea04 Issue 107: added proxy support, timeout parameters, and refactored ssl module 2010-02-05 23:16:34 -08:00
adrian.f.cole b217410ac0 Issue 9, Issue 127: updated javadoc, modified dist to not jarjar, changed dist to support profiles, tools, blobstore, and compute api
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2754 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-02 08:31:30 +00:00
adrian.f.cole 70aa7e4ef3 Issue 73, 130, 150: overhauled context builders, blobstore javadocs, setup http connection limiter, and otherwise readied the code for consumption
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2729 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-25 09:41:37 +00:00
adrian.f.cole a17da70588 support null; add AuthorizationException
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2717 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-22 00:30:07 +00:00
adrian.f.cole 969bb8ea38 Issue 144: Temporary hack until http://code.google.com/p/guava-libraries/issues/detail?id=317 is fixed.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2670 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-19 02:23:30 +00:00
adrian.f.cole 27de8ac105 Issue 148 Issue 9 cleanup javadoc, removed use of string.replaceAll
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2664 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-18 20:28:37 +00:00
adrian.f.cole 83a2d54e3e Issue 144: convert to ListenableFutures
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2625 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-10 06:25:44 +00:00
adrian.f.cole e69831b1a9 Issue 144: replaced exception handling with guava's Throwables methods
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2624 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-10 05:07:42 +00:00
adrian.f.cole 1284fd67fa Issue 144: replaced FutureFunctionCallable, FutureFunctionWrapper, RunnableFutureTask with Futures.compose and Futures.chain
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2617 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-07 01:46:43 +00:00
adrian.f.cole 32ab37d3d7 Fixed license error caught by libcloud: jclouds isn't licensed to Apache, it just uses that license. thanks guys
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2558 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-31 17:36:46 +00:00
adrian.f.cole 49636c81b2 Issue 138: Add User agent
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2495 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-21 05:37:54 +00:00
adrian.f.cole 4a22f808d1 Issue 134: switch to typed payloads for http requests and blob types
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2410 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-13 20:46:48 +00:00
adrian.f.cole 428709f1a8 Issue 131: transfer 1-time abstraction to httpnio
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2406 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-12 23:38:33 +00:00
adrian.f.cole 633a38b502 Issue 119: fixed encoding in unit tests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2270 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-12 18:51:17 +00:00
adrian.f.cole 243ec0d2aa Issue 113: centralized loggers and switched to logger: jclouds.signature not jclouds.signature.wire
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2007 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-30 16:52:04 +00:00
adrian.f.cole 5b95c35ca7 Issue 113: signature logger
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2006 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-30 16:19:35 +00:00
adrian.f.cole 050f6e9a82 Issue 74, Issue 76, Issue 101: revamped blobstore and rest subsystems; Issue 10: removed assisted inject
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2001 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-29 20:17:42 +00:00
adrian.f.cole bf0943ac6c add better support for matrix
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1983 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-14 21:24:11 +00:00
adrian.f.cole 9c3dcdf495 Issue 76: Reverted decision to rename binders to decorators. binders are not decorators, as they do not enclose objects and add behavior
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1970 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-11 23:22:49 +00:00
adrian.f.cole 50fc3cb913 Issue 74: refactored logging including addition of new trace and header logs. These remove the need for separate json and xml debugging, as it is seen in wire logs
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1968 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-10 21:55:18 +00:00
adrian.f.cole 5b7878b0ea Issue 76: added support for @Produces and @Consumes, replaced @EntityBinder with @DecoratorParam so that we can manipulate more things then just entities; organized rest module
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1952 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-10 00:18:34 +00:00
adrian.f.cole 502dc92836 Issue 103, Issue 73: cleaned up injection and portability layer, removing need for most internal classes and facilitating shared testing stubs across providers
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1940 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-30 21:17:07 +00:00
adrian.f.cole 2de58bb5b9 Issue 102: refactor to use RestContext instead of httpresponse.request
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1935 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 19:28:37 +00:00
adrian.f.cole e680ce6302 made default properties for NIO
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1918 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 23:25:01 +00:00
adrian.f.cole 3cde3d6356 Issue 67: convert to javax.inject annotations
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1913 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 05:37:25 +00:00
adrian.f.cole ffd34b36c2 Updates to Http: separate md5 from etag, switch from URL to URI
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1909 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 00:20:42 +00:00
adrian.f.cole 2573d399ca Issue 76: new annotation for RequestFilters
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1623 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 22:47:45 +00:00
jamurty f9cd7e19d9 HttpResponse now requires the corresponding request's URL in its constructor, so the response's S3Object key name can be reconstituted. A better approach may be to associate the entire HttpRequest object with the related HttpResponse?
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1620 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 19:56:45 +00:00
adrian.f.cole e9aee711d3 Issue 76: restructured to jaxrs annotations and created new ones where functionality was lacking. added resteasy client apis to our repository, as there is no dep-free dist available from source. introduced TransformingHttpCommandExecutorService, which processes http independently of extracting results.
This uses an ExecutorService.  In google app engine, there is now a WithinThreadExecutorService which is automatically selected via CloudContext as per the annotation SingleThreaded.  All command classes have been converted to annotation definitions in S3Connection.

git-svn-id: http://jclouds.googlecode.com/svn/trunk@1608 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-11 22:36:51 +00:00
adrian.f.cole 530e7f38a0 Issue 73: created module for object storage
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1605 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-05 21:25:09 +00:00
adrian.f.cole cf1067465b added missing binding annotation
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1464 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-26 17:40:28 +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 78d0b7afd3 issue 66: 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@1458 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-24 18:27:39 +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 7e181c92b0 bad log format
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1454 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-21 01:48:36 +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 65e46339f9 fixed log format
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1421 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 23:17:22 +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 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 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 0e07b7236f Issue 9 javadoc coverage
git-svn-id: http://jclouds.googlecode.com/svn/trunk@644 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-11 01:09:41 +00:00
adrian.f.cole 67683084ff finished creating integration tests for all functionality needed for beta. fixed bad logging formats, added javadoc
git-svn-id: http://jclouds.googlecode.com/svn/trunk@643 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-10 19:52:55 +00:00
adrian.f.cole db14a0232d refactored out s3nio module and centralized http handling code
git-svn-id: http://jclouds.googlecode.com/svn/trunk@485 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-09 20:31:55 +00:00
adrian.f.cole 8c1861f73d Issue 6, Issue 11, Issue 12, Issue 18: support eu, acls, rest options, cleaned up api
git-svn-id: http://jclouds.googlecode.com/svn/trunk@483 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-08 17:45:35 +00:00
adrian.f.cole 186504b7e8 cleaning cruft
git-svn-id: http://jclouds.googlecode.com/svn/trunk@418 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-06 22:09:35 +00:00
adrian.f.cole 8cf759e829 hardening retry logic
git-svn-id: http://jclouds.googlecode.com/svn/trunk@348 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-05 16:48:23 +00:00
adrian.f.cole e55f31caad addressed all generic issues and Issue 14
git-svn-id: http://jclouds.googlecode.com/svn/trunk@310 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-05 12:07:27 +00:00
adrian.f.cole c5486f6c5e Issue 8: Removed direct dependencies on java.util.logging, LoggingModules are now used to select logging
git-svn-id: http://jclouds.googlecode.com/svn/trunk@251 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-04 20:19:42 +00:00