Commit Graph

4967 Commits

Author SHA1 Message Date
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
jamurty 2c4b66a960 Factored Jetty testing code into a separate class, and added a derived test for Backoff Retry implementation. This test needs some work to obtain the system's actual retry limit, rather than assuming a constant limit of 5
git-svn-id: http://jclouds.googlecode.com/svn/trunk@854 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 18:33:27 +00:00
jamurty 1f64fb1db3 Unit tests for BackoffLimitedRetryHandler
git-svn-id: http://jclouds.googlecode.com/svn/trunk@853 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 17:33:29 +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 ae00ffd79a Oops, missed some new files required for Issue 37
git-svn-id: http://jclouds.googlecode.com/svn/trunk@851 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 08:21:57 +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 bb3e8e160c increased timeout for slow machines
git-svn-id: http://jclouds.googlecode.com/svn/trunk@835 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 15:39:31 +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
jamurty 9998e6a40c Added jcip-annotations (from Java Concurrency in Practice) for documenting concurrency -- this should prove useful to FindBugs
git-svn-id: http://jclouds.googlecode.com/svn/trunk@824 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 00:53:55 +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
adrian.f.cole f3b06b9cc1 reorganized project structure to accomodate new cloud providers
git-svn-id: http://jclouds.googlecode.com/svn/trunk@814 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-20 21:09:07 +00:00
adrian.f.cole c2c883558d reorganized project structure to accomodate new cloud providers
git-svn-id: http://jclouds.googlecode.com/svn/trunk@813 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-20 20:55:45 +00:00
adrian.f.cole 8b3424eaad fixed broken build for performance test
git-svn-id: http://jclouds.googlecode.com/svn/trunk@812 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-20 11:51:31 +00:00
adrian.f.cole 69deb933e8 separated out unit tests from integration tests and fixed javadoc
git-svn-id: http://jclouds.googlecode.com/svn/trunk@810 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-19 17:33:41 +00:00
adrian.f.cole 40067b58f0 Upload by wagon-svn
git-svn-id: http://jclouds.googlecode.com/svn/trunk@793 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-11 11:50:08 +00:00
adrian.f.cole 984b99a853 Upload by wagon-svn
git-svn-id: http://jclouds.googlecode.com/svn/trunk@791 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-11 11:49:01 +00:00
adrian.f.cole 85c135babe Upload by wagon-svn
git-svn-id: http://jclouds.googlecode.com/svn/trunk@789 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-11 11:47:38 +00:00
adrian.f.cole d1429d8a74 Upload by wagon-svn
git-svn-id: http://jclouds.googlecode.com/svn/trunk@787 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-11 11:46:59 +00:00
adrian.f.cole ce2c76cacb Upload by wagon-svn
git-svn-id: http://jclouds.googlecode.com/svn/trunk@785 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-11 11:46:02 +00:00
adrian.f.cole c9fe9b8010 Upload by wagon-svn
git-svn-id: http://jclouds.googlecode.com/svn/trunk@783 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-11 11:45:23 +00:00