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
d22ec1690f
Issue 93: added concurrent dep to core
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1899 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-23 22:55:23 +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
b7fbf48dbb
added gson repo
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1624 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-14 10:35:23 +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
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
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
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
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
da67580497
Issue 67: updated pom and repo to include guice version that supports constructor binding
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1485 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 09:23:36 +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