Commit Graph

57 Commits

Author SHA1 Message Date
Adrian Cole 306bb0ebde Issue 191: started cookbook support; refactored multipart form code 2010-06-11 19:02:19 -07:00
Adrian Cole 84ad021268 added retry handler for io exceptions, created modular rest client, swapped generic type args on restcontext 2010-06-06 23:01:48 -07:00
Adrian Cole 10af8cdae8 Issues 203 234 235, add visibility to image from nodemetadata, update to stable version of guava, harden tests, normalize location 2010-04-25 00:46:54 -07:00
Adrian Cole 68080daee3 Issue 211:update to latest appengine sdk 1.3.2 2010-03-31 19:04:37 -07:00
Adrian Cole de359a52cc Issue 214: leaned test a bit 2010-03-24 17:00:57 -07:00
Adrian Cole ebcaae325f Issue 215: removed RuntimeDelegate.setInstance and turned to dependency injection for UriBuilder 2010-03-22 22:33:26 -07:00
Adrian Cole 614cbb24c6 Issue 207: increased ferocity of tests to do concurrent 5MB downloads w/checksum on both http and blobstore level. 2010-03-21 16:48:16 -07:00
Adrian Cole 38b2bef023 Issue 211: added gae, but waiting for service to go live 2010-03-20 16:22:17 -07:00
Adrian Cole a72efaea6d Issue 177: support scheme-only redirects 2010-02-21 10:43:00 -08:00
Adrian Cole 268bc2ec04 issue 107: revised hc module, and included it in the enterprise config 2010-02-04 21:51:37 -08:00
adrian.f.cole a268309c94 overhauled the blobstore api to work with pseudo directories and continuable lists. fixed connection errors in http executor. changed to return null on resource not found
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2745 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-01 10:09:45 +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 35b2043e95 new GoogleAppEngineConfigurationModule
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2672 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-19 07:06:34 +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 6a5a4df606 Issue 144: replace WithinThreadExecutorService with com.google.common.util.concurrent.Executors.sameThreadExecutor
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2616 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-06 22:21:24 +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 8116d47b67 Removed dependency of apache commons-io as it overlaps with guava. note guava will include google collections soon
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2457 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-17 20:10:58 +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 0b94f0ef12 added path to redirect options
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2315 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-23 08:09:59 +00:00
adrian.f.cole 8fab264dd4 Issue 79: ssh key support
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2232 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-09 03:24:01 +00:00
adrian.f.cole bcd1c2343a marked stateless objects as Singleton
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2015 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-31 00:48:49 +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 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 95409990b1 Issue 95: created qualifier annotations for endpoints and removed host/port logic
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1917 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 22:49:43 +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 93866572a0 Issue 85: removed HttpMethod enum, as it is inherently non-extensible. Documented http://code.google.com/p/jclouds/wiki/NewService
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1859 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-22 23:19:30 +00:00
adrian.f.cole 3daa05652b Issue 79: first run of ssh support
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1649 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 18:45:19 +00:00
adrian.f.cole 5a548f5a7e Issue 76: POST support; Added PostParam PostBinder and renamed PathParamParser to ParamParser so that it can be reused for post.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1644 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 14:52:19 +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 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 19989d8374 issue 60: 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@1459 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-24 18:28:07 +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 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 bf3ba3e855 Issue 52: worked around host header issue in gae
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1088 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-07 23:13:38 +00:00
adrian.f.cole 0c9b3accda Issue 52: warn when host header is used
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1083 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-07 11:06:29 +00:00