Commit Graph

222 Commits

Author SHA1 Message Date
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 d806a056ff Issue 36: removed codegen code out of main aws module
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1415 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 15:41:49 +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 6e56a0fd22 added request details to default toString
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1081 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-07 06:51:42 +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
adrian.f.cole 90728e65b1 Issue 36: changed to java friendly names
git-svn-id: http://jclouds.googlecode.com/svn/trunk@890 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-04 04:35:24 +00:00
adrian.f.cole 7804b2f8c6 Issue 36: refactored so that options are an enum type
git-svn-id: http://jclouds.googlecode.com/svn/trunk@889 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-04 00:37:13 +00:00
adrian.f.cole 655b34dc9e Issue 36: converted to not have any java binding, and clarified to deal with enums and constraints
git-svn-id: http://jclouds.googlecode.com/svn/trunk@888 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-03 23:24:50 +00:00
adrian.f.cole 34698fb78a Issue 36: further revision on Response object types
git-svn-id: http://jclouds.googlecode.com/svn/trunk@887 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-01 08:30:32 +00:00
adrian.f.cole ac6e90430b Issue 36: started working on Options for ec2
git-svn-id: http://jclouds.googlecode.com/svn/trunk@886 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-01 00:59:55 +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
adrian.f.cole fd338a0c70 Issue 36: cleaned up perl code and continued development on codegen
git-svn-id: http://jclouds.googlecode.com/svn/trunk@884 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-31 08:31:31 +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 4403887200 Fixed HttpRequest to work with non-ascii object names. Also added string encode/decode methods to the core Utils, please use this instead of the dreaded String#getBytes
git-svn-id: http://jclouds.googlecode.com/svn/trunk@878 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 22:49:12 +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
adrian.f.cole 4adf4e635f Issue 29: create separate codegen module
git-svn-id: http://jclouds.googlecode.com/svn/trunk@866 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-28 23:51:07 +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 b43e65dc5b Completed basic templating implementation based on FreeMarker. The CodeGenerator now generates simple Java code files to represent the objects output by the parse_ec2.pl script.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@861 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-27 05:11:34 +00:00
jamurty ac503f451e Changed package name variable from 'package' to 'packageName' to allow for easier reference in Java objects
git-svn-id: http://jclouds.googlecode.com/svn/trunk@860 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-27 05:07:54 +00:00
jamurty 60ca8bafbd Changed package name variable from 'package' to 'packageName' to allow for easier reference in Java objects
git-svn-id: http://jclouds.googlecode.com/svn/trunk@859 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-27 05:07:34 +00:00
jamurty 93504ae9b6 Added the (very early) beginnings of a Java-based code generator. Currenly only parses JSON document produced by the perl API docs scraper and produces a Java object graph.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@857 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-26 20:50:59 +00:00
jamurty ce49993f64 Modified perl screen scraper to output a JSON representation of the EC2 API (see aws/codegen/objmodels/ec2.json).
git-svn-id: http://jclouds.googlecode.com/svn/trunk@856 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-26 20:49:36 +00:00
adrian.f.cole 00f6bfb810 Issue 36: now rendering code.. still need to do unit tests, parsers, integration tests, etc.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@855 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-26 11:32:36 +00:00
adrian.f.cole 3afdbbbd9c Issue 36: fixed error in logic loop where commands were added to themselves
git-svn-id: http://jclouds.googlecode.com/svn/trunk@852 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 09:06:18 +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
jamurty 350469d618 Modified perl script to cope with commands that have no parameters
git-svn-id: http://jclouds.googlecode.com/svn/trunk@847 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 02:13:47 +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 e7800db76a Issue 36: incomplete, but started on the parser
git-svn-id: http://jclouds.googlecode.com/svn/trunk@845 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-24 23:44:15 +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 713b9d3b05 added missing jets3t method
git-svn-id: http://jclouds.googlecode.com/svn/trunk@836 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 15:50:08 +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 d91e76bdb3 Added functionality and tests for: bucket creation, retrieve object head, retrieve object data
git-svn-id: http://jclouds.googlecode.com/svn/trunk@832 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 05:46:22 +00:00
jamurty a3b7389272 Switched naked asserts for assertEquals/assertTrue
git-svn-id: http://jclouds.googlecode.com/svn/trunk@830 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 01:49:01 +00:00
jamurty 216c9598ee Potential fix for test failures caused by locale differences
git-svn-id: http://jclouds.googlecode.com/svn/trunk@829 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 01:14:31 +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
jamurty 60c25b0a8d Added dummy method implementation to meet new reqs imposed by JetS3t version 0.7.1
git-svn-id: http://jclouds.googlecode.com/svn/trunk@825 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 00:54:45 +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
adrian.f.cole 834177f9fc renamed test tree
git-svn-id: http://jclouds.googlecode.com/svn/trunk@821 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-21 14:24:50 +00:00
adrian.f.cole 2a170a6c14 Issue 25: update to guice 2.0
git-svn-id: http://jclouds.googlecode.com/svn/trunk@819 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-21 13:26:18 +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