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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
jamurty
a64a85412b
Fixed S3 stub bug that prevented object's content type being PUT correctly.
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@848 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 04:58:06 +00:00
adrian.f.cole
feca1c0085
Issue 35: missing files
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@846 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-24 23:44:40 +00:00
adrian.f.cole
8cc04bc588
Issue 35: moved more common logic one layer up
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@844 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-24 19:54:30 +00:00
adrian.f.cole
4eced672f1
Issue 35: moved content, but also renamed options to parameters, as it makes more sense and reformatted some code
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@843 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-23 15:01:36 +00:00
adrian.f.cole
e5e3c48185
move to aws
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@842 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-23 14:42:18 +00:00
jamurty
7ec97fa97a
Improved support for concurrent testing in PerformanceTest. Also more fiddling measuring performance metrics for DateService, without getting any reliable results
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@841 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-23 05:45:34 +00:00
jamurty
11f7e9900b
Made integration stubs's handling of markers more robust -- should now reliably return the correct number of results
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@839 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 20:14:11 +00:00
jamurty
c514757242
Work-around for type inference bug in Java 5 that can cause compilation failures. See Issue 34 for more details
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@837 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 19:02:38 +00:00
adrian.f.cole
f8da659695
made tests parallel and fixed some transient errors in BaseS3Map
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@834 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 15:35:57 +00:00
adrian.f.cole
6b9c2431d6
fixed the test
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@833 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 11:14:40 +00:00
jamurty
0d64c52f8c
Corrected integration test - object listings include objects matching the marker. Should rename afterMarker helper to fromMarker?
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@828 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 01:07:06 +00:00
adrian.f.cole
aa68466004
Issue 30: disable tests
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@827 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 00:58:26 +00:00
jamurty
c6adc326bc
Modified DateService to be explicit about date formats, and to use SimpleDateFormat when it's faster. Also modified test to better check thread safety and provide *unreliable* performance feedback
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@826 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 00:57:03 +00:00
adrian.f.cole
950e56e327
Issue 26
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@822 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-21 16:08:31 +00:00
jamurty
d667c6e562
Removed dependence on Java 6 when copying S3Object MD5 data -- and tested
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@817 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-20 23:13:30 +00:00
adrian.f.cole
0ad7ca2138
reorg of svn
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@816 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-20 22:31:18 +00:00
adrian.f.cole
538b56972a
reorganized project structure to accomodate new cloud providers
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@815 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-20 21:25:11 +00:00