Commit Graph

969 Commits

Author SHA1 Message Date
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 d20b5d9f5a wrong license header
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1466 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-26 20:29:11 +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 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 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 502b9e1bac Issue 69: updated to new Redirect and ErrorHandler api
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1461 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-24 18:32:51 +00:00
adrian.f.cole 256ec34af6 reorganized tests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1460 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-24 18:31:50 +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 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 00cc4c4c4e updated to version 4.0.1
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1457 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-24 18:26:15 +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 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
jamurty 8ea84a656a Updated JetS3t impl tests to follow new testing procedure (see Issue 57)
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1452 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-21 00:29:12 +00:00
jamurty be824d757f Issue 57: Fixed test that deletes a bucket to use a Scratch bucket name -- this was the culprit causing downstream test failures
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1451 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-21 00:27:31 +00:00
jamurty dac9da390a Issues 57: Added a sanity check when bucket names are returned, to ensure they actually exist. This check is only applied when running against the Stub connection, to avoid slowing down integration tests with real services
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1450 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-21 00:26:30 +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 00b3ccdc7c fixed test so stub connection will work
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1447 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-19 20:05:08 +00:00
adrian.f.cole b11148a974 Issue 45: re-tooled tests to share 20 buckets, which are created at startup and assigned inside each test method
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1446 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-19 00:49:53 +00:00
adrian.f.cole 852374b35a Issue 64
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1445 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-18 01:52:28 +00:00
adrian.f.cole 55f39fc7de disabled failing tests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1444 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-18 00:44:59 +00:00
adrian.f.cole 3c36ee4a25 cleaned javadoc
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1443 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-18 00:44:41 +00:00
adrian.f.cole 4ec1b14408 Issue 64: map.containsValue() is subject to eventual consistency delays as it compares state against the md5 sums in the bucket listing
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1442 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-18 00:17:55 +00:00
adrian.f.cole fb67368738 Issue 65
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1441 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-18 00:04:56 +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 b858ec002e Issue 64: convert base integration test and all map tests to use eventually consistent bucket operation assertions
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1439 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-17 22:53:51 +00:00
adrian.f.cole b6f129eaa4 Issue 47: fixed stub
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1438 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-17 18:03:20 +00:00
adrian.f.cole 42da7e537d Issue 47: removed redundant bucket creation and added output to assertions
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1437 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-17 17:21:06 +00:00
adrian.f.cole 703606cb79 Issue 47: corrected acl tests to work when james isn't running them :)
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1436 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-17 17:12:23 +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 01231b7d5c added license header
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1434 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-16 22:08:47 +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 f5135f3868 corrected imports
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1432 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-16 22:05:40 +00:00
jamurty 2fb0c79e0f Issue 47: Implemented PUT for setting bucket and object Access Control Lists
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1431 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-16 00:27:08 +00:00
jamurty 41be68b3a9 Issue 47: Added metadata fields to S3Object for CannedAccessPolicy and AccessControlList, and modified metadata header parser to identify the x-amz-acl header if present and set the corresponding canned policy on an object.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1430 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-13 01:00:33 +00:00
adrian.f.cole b8275fda10 Issue 61: initial implementation of Sun Cloud s3 emualation
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1429 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-12 16:48:46 +00:00
adrian.f.cole 09ba1d1360 Issue 61: refactored core S3 to allow different error handling and xml parsing
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1428 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-12 16:47:40 +00:00
adrian.f.cole ac8210c90a corrected bucket delete logic and fixed enableDebug so that subclasses can call it
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1427 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-12 16:24:21 +00:00
adrian.f.cole d91f069761 corrected toString
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1426 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-12 16:21:35 +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 cd1c3ae900 removed unused object
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1423 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 23:19:18 +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 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 e4848344df Issue 36: there can be multiple examples for a command
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1420 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 21:21:28 +00:00
adrian.f.cole 33bdc5438f removed ec2 from code codegen package
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1419 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 21:19:45 +00:00