Commit Graph

119 Commits

Author SHA1 Message Date
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 bb50a7364f Issue 99: organize binders
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1924 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-25 05:33:03 +00:00
adrian.f.cole 58b075562f Issue 95: multiple endpoints per interface
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1922 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-25 04:02:38 +00:00
adrian.f.cole 66c1b593b9 Issue 95: factories that support alternate endpoints
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1921 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-25 00:38:40 +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 9f78e8d2fc Issue 96: removed redundant factories and modified utilities and functions to use XML parsers directly
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1915 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 22:42:58 +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 e3672b6a59 Issue 73: Revised and renamed key value store to BlobStore with common Map implementations; refactored implementations and test drivers to utilize new blobstore
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1910 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 00:28:01 +00:00
adrian.f.cole 30a738b327 issue 73: rename compat layer to keyvaluestore since it is more descriptive
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1884 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-05 19:06:03 +00:00
adrian.f.cole 8a4e5d4839 eventual consistency madness
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1861 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-01 23:00:54 +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 fbb7740f17 allow filtering to be chained by returning the request on filter()
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1854 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:59:33 +00:00
adrian.f.cole daf95d7e8a add signature to AWS error message
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1852 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:57:01 +00:00
adrian.f.cole 2fef8da975 wrong AWS message
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1851 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:56:16 +00:00
adrian.f.cole 11bbc6f3c7 redirect handling is only specific to AWS when the LOCATION header is consumed
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1850 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:55:45 +00:00
adrian.f.cole f001f26298 only create nodes if there is content associated with it
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1849 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:54:51 +00:00
adrian.f.cole b2987c9682 during integration testing on bad networks, dns responses may not return fast enough. relaxSSLHostname works around this
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1848 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:52:43 +00:00
adrian.f.cole 008979b027 attempts to clean up base integration test
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1847 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:51:35 +00:00
adrian.f.cole 6dc3d789c1 fixed integration test that downloads remote files
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1846 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:47:03 +00:00
adrian.f.cole 780b347a59 workaround for problem where unauthenticated GET doesn't operate on a bucket with public read acl
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1845 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:45:48 +00:00
adrian.f.cole 02d79627bf Issue 64: eventual consistency acl doesn't always commit immediately
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1844 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:43:07 +00:00
adrian.f.cole 20fb575056 added / to path for bucket acl as without it Amazon infinitely sends redirects
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1841 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:31:55 +00:00
adrian.f.cole 8baed726ab updated test location for remote http fetch
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1840 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:26:17 +00:00
adrian.f.cole d01b0606c8 Issue 73: added interface for Maps
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1830 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-22 11:03:04 +00:00
adrian.f.cole 02b35f2cb0 Issue 77: rackspace server commands
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1651 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 22:34:35 +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 b25f3fbed7 Issue 75: Implemented object PUT and DELETE.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1634 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-17 06:22:56 +00:00
adrian.f.cole d92f4e2750 added json to core parser module
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1631 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-16 22:18:28 +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
jamurty d8557f6d89 Corrected request building/signing to specify ETag values in 'Content-MD5' HTTP header instead of the 'ETag' header, which is only used in responses
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1619 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 19:08:13 +00:00
jamurty 03631f84d1 Default temporary directory java.io.tmpdir is now used for 'basedir' if no other basedir is specified in the testing options
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1618 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 19:06:05 +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 f86e06f3d8 Issue 73: created module for object storage
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1604 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-05 21:24:22 +00:00
jamurty d029659a63 Removed mistaken functionality to parse an S3 item's CannedAccessPolicy from HTTP response headers. S3 does not actually return this information, the ACL settings are only available via the ACL-specific API operations.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1598 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-30 20:20:51 +00:00
jamurty 7366d5c1cc Issue 15: Added ACL get/put implementation to JetS3t plugin
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1597 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-30 20:19:14 +00:00
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 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 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 563be0cb55 another unicode test located in an acl test
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1493 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 14:03:16 +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 95e2c00aef added notes about why gae times outaws/s3/perftest/src/test/java/org/jclouds/aws/s3/JCloudsGaePerformanceLiveTest.java
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1489 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 12:48:32 +00:00
adrian.f.cole 13c2bba136 Issue 69: consolidated encoding test
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1488 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 11:00:51 +00:00
adrian.f.cole c8669a63c3 Issue 70: unicode tests should be named as such, nesting these inside acl tests confuses the tester
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1487 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 10:15:35 +00:00
adrian.f.cole 8db94120fc Issue 70, three question marks sometimes gets converted to �. Testing question marks should be independent of weird character conversion tests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1486 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 09:38:04 +00:00
adrian.f.cole bc52a66433 Issue 64: more EC in tests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1484 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 08:00:50 +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 074fefc7db Issue 64: cleaned up integration test code
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1482 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-28 17:20:23 +00:00
adrian.f.cole 3b72ff31df Issue 64: reuse map code to clear buckets
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1481 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-28 16:49:53 +00:00