ivan@ivan.net.nz
22f98a77c7
Added ant tests
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2385 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-08 07:34:02 +00:00
adrian.f.cole
fc5f675be5
reduced iterations so the tests will run faster
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2382 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-07 19:42:51 +00:00
adrian.f.cole
1f6b92fc9d
made times looser so that windows won't break
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2381 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-07 19:28:17 +00:00
adrian.f.cole
9e340f286e
Issue 128: added initial vfs module and fixed dependent bugs
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2374 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-07 07:09:57 +00:00
adrian.f.cole
4a65872d9b
removed unused import
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2363 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-02 16:56:43 +00:00
ivan@ivan.net.nz
84116b387c
Renamed servers -> compute, ServerService -> ComputeService
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2347 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-30 02:28:42 +00:00
ivan@ivan.net.nz
13dd0a3f67
RimuHosting Impl of Server and ServerService
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2342 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-29 04:41:27 +00:00
ivan@ivan.net.nz
44ec84c8aa
Initial Server Interface commit
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2341 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-28 23:30:57 +00:00
adrian.f.cole
a6e43612fd
added Utils.replaceTokens
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2336 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-28 01:50:26 +00:00
adrian.f.cole
0b94f0ef12
added path to redirect options
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2315 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-23 08:09:59 +00:00
adrian.f.cole
839cf3d26c
converted to nanos as currenttimemillis is only accurate to 10ms
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2307 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-22 18:20:56 +00:00
adrian.f.cole
fc9fd1e93d
Bad newlines on windows
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2302 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-21 20:23:19 +00:00
sharedocs1@gmail.com
99f29fb10b
Cleanup.
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2301 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-21 00:49:03 +00:00
adrian.f.cole
a35a0f84ab
updated to latest guice
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2300 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-17 21:20:38 +00:00
adrian.f.cole
bc238bc507
Issue 121: converted all modules to sync/asyc
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2293 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-15 23:16:38 +00:00
adrian.f.cole
9a1abce72f
Issue 112: added better testing for cloud compatibility
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2290 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-15 01:48:27 +00:00
adrian.f.cole
3aa7e73351
Issue 112: added support for most Terremark Internet Services Functions
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2287 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-14 00:57:17 +00:00
adrian.f.cole
aa1dd2009b
fixed post binder param
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2271 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-12 21:52:48 +00:00
adrian.f.cole
fedf3ac2cd
fixed annotation processing of @ParamParser
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2268 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-12 18:41:46 +00:00
adrian.f.cole
9a654d7708
Issue 117: fixed pom.xml and character encodings
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2267 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-12 15:42:49 +00:00
adrian.f.cole
10fe315b7d
Issue 116: consolidated blobstore into core
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2249 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-11 07:10:33 +00:00
adrian.f.cole
0268cb59fc
Issue 118: removed JDK 5 and rolled concurrent into core
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2248 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-11 06:29:38 +00:00
adrian.f.cole
78fbcd0688
added support for links with names
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2246 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-11 02:57:33 +00:00
adrian.f.cole
7602f1b7b8
Issue 112: formatting and pulled shareable code into core
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2241 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-09 17:44:00 +00:00
adrian.f.cole
59cd117fdf
fixed unit tests
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2238 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-09 06:13:41 +00:00
adrian.f.cole
7f3e658953
Issue 76: added FormParam support
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2233 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-09 03:25:17 +00:00
adrian.f.cole
5d4a5622fc
fix file headers
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2051 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-06 21:07:35 +00:00
adrian.f.cole
ce5e7017eb
thread safety in xml parser lookup
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2043 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-04 01:58:46 +00:00
adrian.f.cole
cc0a346289
utility for eventual consistency testing
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2036 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-02 09:11:13 +00:00
adrian.f.cole
67612d0f0c
Issue 114: first support for twitter
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2033 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-31 19:35:14 +00:00
adrian.f.cole
3d030cfac0
removed mapmaker expiration as it is incompatible with google appengine. replaced with ExpirableSupplier
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2032 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-31 09:07:57 +00:00
adrian.f.cole
bcd1c2343a
marked stateless objects as Singleton
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2015 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-31 00:48:49 +00:00
adrian.f.cole
243ec0d2aa
Issue 113: centralized loggers and switched to logger: jclouds.signature not jclouds.signature.wire
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2007 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-30 16:52:04 +00:00
adrian.f.cole
5b95c35ca7
Issue 113: signature logger
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2006 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-30 16:19:35 +00:00
adrian.f.cole
1bc88f36f2
fixed double-slash in path
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2004 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-30 03:26:33 +00:00
adrian.f.cole
7171f2c431
fixed double-slash in path
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2002 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-30 03:20:27 +00:00
adrian.f.cole
050f6e9a82
Issue 74, Issue 76, Issue 101: revamped blobstore and rest subsystems; Issue 10: removed assisted inject
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2001 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-29 20:17:42 +00:00
adrian.f.cole
ff9abb6884
Issue 76: parse response header Location
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1985 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-19 01:11:34 +00:00
adrian.f.cole
bf0943ac6c
add better support for matrix
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1983 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-14 21:24:11 +00:00
adrian.f.cole
e939114702
tuned timestamp logic
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1982 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-14 04:59:51 +00:00
adrian.f.cole
ae1ad7498b
better message in exception
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1978 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-14 01:14:21 +00:00
adrian.f.cole
33d11fe07f
Issue 73: changed eTag to String, as at least two clouds don't have parsable etags; changed user metadata to Map from Multimap as there are no dupes
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1973 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-12 06:10:15 +00:00
adrian.f.cole
9c3dcdf495
Issue 76: Reverted decision to rename binders to decorators. binders are not decorators, as they do not enclose objects and add behavior
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1970 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-11 23:22:49 +00:00
adrian.f.cole
06c63e6284
Issue 74: changed scope for performance tests
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1969 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-11 18:38:02 +00:00
adrian.f.cole
50fc3cb913
Issue 74: refactored logging including addition of new trace and header logs. These remove the need for separate json and xml debugging, as it is seen in wire logs
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1968 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-10 21:55:18 +00:00
adrian.f.cole
5b7878b0ea
Issue 76: added support for @Produces and @Consumes, replaced @EntityBinder with @DecoratorParam so that we can manipulate more things then just entities; organized rest module
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1952 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-10 00:18:34 +00:00
adrian.f.cole
e93a081d9e
fixed to work with Compute Maps
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1947 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-07 21:08:42 +00:00
adrian.f.cole
557d28783f
Issue 109, Issue 73: more work on compatibility layer; expose vendor interface as getApi(); more Strategies
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1946 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-05 16:27:48 +00:00
adrian.f.cole
e95e8f3429
Issue 108
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1942 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-03 22:33:10 +00:00
adrian.f.cole
a1ca5773c7
Issue 108: changed from List to SortedSet
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1941 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-03 19:53:27 +00:00
adrian.f.cole
502dc92836
Issue 103, Issue 73: cleaned up injection and portability layer, removing need for most internal classes and facilitating shared testing stubs across providers
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1940 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-30 21:17:07 +00:00
adrian.f.cole
be48d352f9
Issue 103: changed class processors to use TypeLiteral to obtain class object instead of factories
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1936 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-28 01:53:44 +00:00
adrian.f.cole
2de58bb5b9
Issue 102: refactor to use RestContext instead of httpresponse.request
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1935 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 19:28:37 +00:00
adrian.f.cole
9f2ebf62cd
Issue 88: corrected test to accurately reflect need for leading double-dashes
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1933 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 19:09:26 +00:00
adrian.f.cole
ac8c681eb1
Issue 76: added ParamParser on Methods and added ability for ResponseTransformers to implement RestContext which will give them access to the originating request and args
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1931 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 18:24:51 +00:00
adrian.f.cole
09b2c80cd2
Issue 97: added function to derive date from seconds since epoch
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1930 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 18:22:32 +00:00
adrian.f.cole
98ad5128df
fixed test name
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1929 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 18:21:30 +00:00
adrian.f.cole
e89aab8453
Issue 99: added multipart form support
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1928 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 18:20:53 +00:00
adrian.f.cole
98b759f51a
Issue 76: add support for @QueryParam
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1926 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-25 17:22:34 +00:00
adrian.f.cole
bb50a7364f
Issue 99: organize binders
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1924 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-25 05:33:03 +00:00
adrian.f.cole
58b075562f
Issue 95: multiple endpoints per interface
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1922 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-25 04:02:38 +00:00
adrian.f.cole
e680ce6302
made default properties for NIO
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1918 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 23:25:01 +00:00
adrian.f.cole
95409990b1
Issue 95: created qualifier annotations for endpoints and removed host/port logic
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1917 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 22:49:43 +00:00
adrian.f.cole
9f78e8d2fc
Issue 96: removed redundant factories and modified utilities and functions to use XML parsers directly
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1915 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 22:42:58 +00:00
adrian.f.cole
eaa4674918
added support for BASIC authentication
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1914 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 22:36:53 +00:00
adrian.f.cole
3cde3d6356
Issue 67: convert to javax.inject annotations
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1913 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 05:37:25 +00:00
adrian.f.cole
ffd34b36c2
Updates to Http: separate md5 from etag, switch from URL to URI
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1909 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 00:20:42 +00:00
adrian.f.cole
09f81b222a
Issue 82: Filters didn't copy when redirects occurred
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1908 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 00:18:50 +00:00
adrian.f.cole
2f2dd9f881
refactored to not require the type of the api
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1907 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 00:14:17 +00:00
adrian.f.cole
ca7ae7040c
refactored to not require the type of the api
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1906 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 00:14:00 +00:00
adrian.f.cole
4a091d0669
formatting
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1903 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-23 23:18:45 +00:00
adrian.f.cole
d941ae646e
Issue 76: added ability to specify multiple default headers and queries, as well addedd a common collection type
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1902 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-23 23:16:48 +00:00
adrian.f.cole
6de55b5fd6
Issue 76: added ability to specify multiple default headers and queries, as well addedd a common collection type
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1901 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-23 23:15:43 +00:00
adrian.f.cole
ed12a262ce
Issue 93: moved concurrent libraries to their own module and setup custom properties so that it can compile under jdk 5
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1885 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-23 22:50:18 +00:00
adrian.f.cole
4e05fcf529
took out null checking, as exceptions are now thrown when parsing fails
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1873 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-03 03:57:21 +00:00
adrian.f.cole
94b13626f1
Issue 76: added support for default header parameters on an interface
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1872 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-03 03:49:13 +00:00
adrian.f.cole
7dd111435b
changed to correctly address Byte-Order mark
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1871 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-03 03:48:14 +00:00
adrian.f.cole
086bab21f3
Issue 76: added support for default query parameters on an interface
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1870 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-02 23:09:30 +00:00
adrian.f.cole
8889daaa9b
tests for hex encoding
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1869 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-02 23:08:35 +00:00
adrian.f.cole
3a569021dc
fixed DateService to throw Exceptions instead of returning null
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1868 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-02 23:07:36 +00:00
adrian.f.cole
a0192989d4
added base64 utility
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1862 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-01 23:01:17 +00:00
adrian.f.cole
93866572a0
Issue 85: removed HttpMethod enum, as it is inherently non-extensible. Documented http://code.google.com/p/jclouds/wiki/NewService
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1859 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-22 23:19:30 +00:00
adrian.f.cole
fbb7740f17
allow filtering to be chained by returning the request on filter()
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1854 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:59:33 +00:00
adrian.f.cole
44eed3917f
Issue 76: properly address UTF encoding of paths
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1843 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:41:55 +00:00
adrian.f.cole
6f58f153b5
added constructor that accepts http headers
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1842 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:40:35 +00:00
adrian.f.cole
3571be7a16
Issue 76: allow map binders to work without args in rare cases where there are no parameters, but a request body is needed
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1833 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-23 09:11:39 +00:00
adrian.f.cole
feb0385c0a
Issue 76: retyped PostBinder so that it can be used with PUTs that also need parameters
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1826 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-21 17:00:15 +00:00
adrian.f.cole
c63e532271
Issue 79: improved session handling
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1825 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-21 16:50:58 +00:00
adrian.f.cole
ea874483b0
Issue 79: added ssh exec feature
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1824 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-21 12:45:08 +00:00
adrian.f.cole
16e87c39f2
Issue 75: fixed Range header on tests
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1822 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-20 15:28:14 +00:00
jamurty
427ccfa963
Issue 75: Added GET with options for object
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1820 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-19 23:08:08 +00:00
adrian.f.cole
3d5d31f037
Issue 76: fixed varags annotation searching for subclasses/implementors
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1653 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-19 18:39:39 +00:00
adrian.f.cole
2b0eb5025a
Issue 76:
...
New interface annotation parsing:
1. HttpRequestOptions can now be a vararg option. While we only support one element at the moment, it can cut down on repetition.
ex.
public List<Stuff> listStuff();
public List<Stuff> listStuff(ListOptions options);
becomes
public List<Stuff> listStuff(ListOptions ... options);
This is especially important when attempting to limit the copy-pasting of annotations which are the same between slight deviations
2. HttpRequestOptions can now create a path suffix. Again, this is to cut down on redundancy in the api:
ex.
public List<Stuff> listStuff();
public List<Stuff> listStuff(ListOptions options);
@Path(/details)
public List<Stuff> listStuffDetails();
@Path(/details)
public List<Stuff> listStuffDetails(ListOptions options);
becomes
public List<Stuff> listStuff(ListOptions ... options);
where ListOptions contains withDetails option.
example usage:
List<Server> servers = connection.listServers(withDetails());
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1652 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-19 17:33:17 +00:00
adrian.f.cole
02b35f2cb0
Issue 77: rackspace server commands
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1651 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 22:34:35 +00:00
adrian.f.cole
3daa05652b
Issue 79: first run of ssh support
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1649 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 18:45:19 +00:00
adrian.f.cole
2272333eaa
missing license header
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1646 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 14:54:36 +00:00
adrian.f.cole
5a548f5a7e
Issue 76: POST support; Added PostParam PostBinder and renamed PathParamParser to ParamParser so that it can be reused for post.
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1644 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 14:52:19 +00:00
adrian.f.cole
205a929526
entity was missing on redirect
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1643 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 14:49:34 +00:00
adrian.f.cole
73ec708b03
Issue 77: iso8601 timezones aren't supported in DateService. changed to use regular DateTime constructor
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1639 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-17 15:55:22 +00:00
adrian.f.cole
2d68a4e748
Issue 77: added log4j to rackspace
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1637 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-17 15:19:41 +00:00
jamurty
b25f3fbed7
Issue 75: Implemented object PUT and DELETE.
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1634 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-17 06:22:56 +00:00
adrian.f.cole
d92f4e2750
added json to core parser module
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1631 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-16 22:18:28 +00:00
adrian.f.cole
2573d399ca
Issue 76: new annotation for RequestFilters
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1623 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 22:47:45 +00:00
adrian.f.cole
8588776eb0
added json support
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1621 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 22:44:32 +00:00
jamurty
f9cd7e19d9
HttpResponse now requires the corresponding request's URL in its constructor, so the response's S3Object key name can be reconstituted. A better approach may be to associate the entire HttpRequest object with the related HttpResponse?
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1620 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 19:56:45 +00:00
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
adrian.f.cole
88cf2aad63
better debug and disabled google test
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1503 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-30 17:19:13 +00:00
adrian.f.cole
f146babae1
ExecutionExceptions are unwrapped, changed to response exception
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1498 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 17:11:22 +00:00
adrian.f.cole
fe012d98e2
increased default timeout so ec2 can finish
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1497 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 15:54:15 +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
9072a949d3
Issue 70: InputStreamReader is a more effective way to enforce encoding
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1494 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 14:32:57 +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
cc6ff3a805
avoid thread safety issues
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1491 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 13:52:02 +00:00
adrian.f.cole
fcaa546356
Issue 70, hard set encoding to UTF-8 to avoid silent errors that result in characters being converted to '???'
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1490 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 13:07:53 +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
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
8508c37a3b
instrumented so that NPE contain the XML content it arised from
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1474 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-27 18:27:59 +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
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
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
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
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
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
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
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
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
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
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
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
d9ff753ac4
Issue 9: better javadoc
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@883 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-30 10:47: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
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
e102d1e64f
Made backoff-delay error handler test more forgiving of delays in testing
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@869 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 07:12:59 +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
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
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
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
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
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
0e07b7236f
Issue 9 javadoc coverage
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@644 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-11 01:09:41 +00:00