Commit Graph

648 Commits

Author SHA1 Message Date
adrian.f.cole bff270c6e5 simplified naming for cloud poms
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1821 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-20 15:27:43 +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 3c0547c7df Issue 77: more support on cloud servers including password change
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1654 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-19 18:54:58 +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 86475e60e7 Issue 79: bad dep definition
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1650 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 18:51:17 +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 4842055443 Issue 77: added get flavor details
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1645 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 14:53:47 +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
jamurty 1e56bb6eea Issue 75: Implemented HEAD, POST and (simple) GET for objects
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1642 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-17 23:01:31 +00:00
adrian.f.cole 14053f0341 Issue 77: getImageDetails, except the test is disabled due to rackspace issue 118856
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1641 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-17 18:37:52 +00:00
adrian.f.cole ffac49c5b7 Issue 77: cpu priority is missing by design per rackspace issue 118770
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1640 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-17 16:29:50 +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 cf8fa7aa33 Issue 75: cleaned up context bulding and added logging
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1638 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-17 15:26:09 +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
adrian.f.cole 3fd5333732 Issue 77: added list Image support
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1636 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-17 14:56:55 +00:00
adrian.f.cole f5e52178f9 Issue 77: added support for flavors
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1635 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-17 13:41:02 +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 0c4b0203a8 Issue 77: initial support for rackspace cloud servers
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1632 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-16 22:26:12 +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 fbe7ad9f8e filters are also rackspace level
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1630 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-16 20:41:59 +00:00
adrian.f.cole 78573da3d0 fixed case on RackSpace should be Rackspace
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1629 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-16 19:46:20 +00:00
adrian.f.cole bdd0cf3b22 Issue 75: pushed more code up to rackspace level
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1628 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-16 19:34:06 +00:00
adrian.f.cole 3877b69c76 Issue 75: authentication is rackspace scoped, not cloud files
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1627 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-16 17:23:05 +00:00
jamurty 02f858fd97 Issue 75: Added container deletion and listing options, and get account metadata
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1625 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-14 20:42:53 +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 c4d8f5ff96 Issue 75: container create/list support
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1622 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 22:46:19 +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
jamurty d8557f6d89 Corrected request building/signing to specify ETag values in 'Content-MD5' HTTP header instead of the 'ETag' header, which is only used in responses
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1619 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 19:08:13 +00:00
jamurty 03631f84d1 Default temporary directory java.io.tmpdir is now used for 'basedir' if no other basedir is specified in the testing options
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1618 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 19:06:05 +00:00
adrian.f.cole fb85439380 Issue 76 added resteasy repo
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1616 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 10:42:05 +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 8c49965f3d Issue 75: rackspace
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1607 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-11 22:08:14 +00:00
adrian.f.cole 26b1011937 Issue 75: began rackspace development
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1606 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-05 21:25:49 +00:00
adrian.f.cole 530e7f38a0 Issue 73: created module for object storage
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1605 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-05 21:25:09 +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 e5bc2dd5e7 cleaned up controller
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1603 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-03 15:42:50 +00:00
jamurty 08ea6293fb Issue 15: Added test demonstrating that JetS3t's multi-threaded service implementations work
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1599 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-30 21:00:49 +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 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 5fbbe085d4 corrected to use java logging
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1500 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 19:44:42 +00:00
adrian.f.cole 0d14eda8df Issue 72: UTF-8 workaround
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1499 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 17:24:58 +00:00