Commit Graph

74 Commits

Author SHA1 Message Date
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 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 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 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 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 818489e9a3 Issue 9
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1416 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 15:43:10 +00:00
adrian.f.cole ecc067e119 made sample not fail on runtime exceptions
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1091 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-08 01:31:26 +00:00
adrian.f.cole 5cb5a3bb71 fixed bad cast
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1090 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-08 01:27:09 +00:00
adrian.f.cole 9cec8159d4 updated google app engine sample
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1089 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-08 00:49:23 +00:00
adrian.f.cole 498c1dca20 Issue 58 reverted as path style bucket access is deprecated
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1087 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-07 21:39:23 +00:00
adrian.f.cole 445ca04c4e bad cast
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1086 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-07 11:24:17 +00:00
adrian.f.cole 2ccbbd8bd7 Issue 52 test google appengine in perftests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1085 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-07 11:18:55 +00:00
adrian.f.cole c6da1b86b7 Issue 58 switch to path requests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1084 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-07 11:18:11 +00:00
adrian.f.cole 9e9d8ecd1c Issue 52: reproduced error in performance test. use 'mvn -Plive -Dtest=s3.JCloudsGaePerformanceLiveTest clean install' to verify
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1082 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-07 07:56:03 +00:00
adrian.f.cole d8eb1a71d2 switched to standard resource filtering
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1080 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-07 06:30:27 +00:00
adrian.f.cole 1ccd105c12 added logging to sample
git-svn-id: http://jclouds.googlecode.com/svn/trunk@901 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-06 06:56:43 +00:00
adrian.f.cole 81e3dc885c extracted gae application name
git-svn-id: http://jclouds.googlecode.com/svn/trunk@899 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-05 10:20:26 +00:00
adrian.f.cole f7c937f71f Issue 40: simple example that uses s3 in a commandline environment. contributed by Cae Fernandez
git-svn-id: http://jclouds.googlecode.com/svn/trunk@892 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-05 08:24:02 +00:00
jamurty bb2ea532b2 Initial partial implementation of Access Control List support (Issue 47). This commit adds support for retrieving ACL settings for S3 buckets and objects, but not for modifying these settings.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@885 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-31 21:32:42 +00:00
jamurty fd3c3841ee Added copyObject to JetS3t impl
git-svn-id: http://jclouds.googlecode.com/svn/trunk@882 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-30 06:58:35 +00:00
jamurty 3d41d6b107 CopyObject command now works with non-ASCII object names
git-svn-id: http://jclouds.googlecode.com/svn/trunk@881 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-30 06:57:55 +00:00
jamurty 58e5b51c59 MD5 tests for JetS3t putObject impl
git-svn-id: http://jclouds.googlecode.com/svn/trunk@880 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-30 05:29:58 +00:00
jamurty 7ac032015d Added putObject implementation to JetS3t service
git-svn-id: http://jclouds.googlecode.com/svn/trunk@879 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 23:31:42 +00:00
jamurty bafe733708 Removed spurious 'helloworld' module
git-svn-id: http://jclouds.googlecode.com/svn/trunk@877 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 22:41:52 +00:00
jamurty ed8df5fdc6 JetS3t tests are now more complete, and more resistant to failure due to the use of a shared bucket for most tests (a bit hacky though...)
git-svn-id: http://jclouds.googlecode.com/svn/trunk@876 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 19:37:46 +00:00
jamurty e8481d163c S3 stub will now return HTTP headers matching an object's metadata settings (only an incomplete subset of HTTP headers is returned)
git-svn-id: http://jclouds.googlecode.com/svn/trunk@875 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 19:21:36 +00:00
adrian.f.cole d36eb5e3c8 Issue 36: changed to java set types and added domain objects
git-svn-id: http://jclouds.googlecode.com/svn/trunk@874 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 17:23:25 +00:00
jamurty b34e7180b9 Added object listing capabilities to JetS3t service wrapper. Also fixed S3 stub's handling of MaxKeys constraint when listing objects
git-svn-id: http://jclouds.googlecode.com/svn/trunk@873 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 16:54:45 +00:00
jamurty 345e56695d Ensure a bucket always retains the ordering of its object and common-prefixes items
git-svn-id: http://jclouds.googlecode.com/svn/trunk@872 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 16:50:20 +00:00
suprememoocow 5b1f294068 Context Builder: http://code.google.com/p/jclouds/issues/detail?id=21
git-svn-id: http://jclouds.googlecode.com/svn/trunk@865 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-28 22:14:38 +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
jamurty be3f1add34 Content type of request should never be cleared
git-svn-id: http://jclouds.googlecode.com/svn/trunk@849 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 05:21:30 +00:00