Commit Graph

6866 Commits

Author SHA1 Message Date
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 fb85439380 Issue 76 added resteasy repo
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1616 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 10:42: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 8c49965f3d Issue 75: rackspace
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1607 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-11 22:08:14 +00:00
adrian.f.cole 26b1011937 Issue 75: began rackspace development
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1606 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-05 21:25:49 +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 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
adrian.f.cole e5bc2dd5e7 cleaned up controller
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1603 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-03 15:42:50 +00:00
jamurty 08ea6293fb Issue 15: Added test demonstrating that JetS3t's multi-threaded service implementations work
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1599 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-30 21:00:49 +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 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 5fbbe085d4 corrected to use java logging
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1500 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 19:44:42 +00:00
adrian.f.cole 0d14eda8df Issue 72: UTF-8 workaround
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1499 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 17:24:58 +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 e9ec5109e3 corrected test tag
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1496 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 15:53:48 +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 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 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 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 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 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
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 344cf6a3a7 replay bucket listing before re-attempting clearing the bucket
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1479 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 21:28:46 +00:00
adrian.f.cole dd1863f7ff s3 from ec2 seems to be more sensitive. Allow bucket empty to try twice instead of failing
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1478 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 20:45:01 +00:00
adrian.f.cole d5f6cc6f21 s3 from ec2 seems to be more sensitive. Allow test setup deletion to try twice instead of failing
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1477 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 20:37:21 +00:00
adrian.f.cole 9c84796aa3 changed behavior so that bad buckets aren't accidentally given out
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1476 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 20:27:51 +00:00
adrian.f.cole d41f1fac72 fix to ensure bucket is empty before returning it
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1475 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 18:38:48 +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 fd08265c67 sleep inconsistency window after bucket creation
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1473 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 18:27:15 +00:00
adrian.f.cole f6a7a1bd4c increased inconsistency window
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1472 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 17:36:14 +00:00
adrian.f.cole 07c36ec8cb handled 307 redirects and added tests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1471 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 17:19:01 +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