Commit Graph

1172 Commits

Author SHA1 Message Date
adrian.f.cole 780b347a59 workaround for problem where unauthenticated GET doesn't operate on a bucket with public read acl
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1845 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:45:48 +00:00
adrian.f.cole 02d79627bf Issue 64: eventual consistency acl doesn't always commit immediately
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1844 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:43:07 +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 20fb575056 added / to path for bucket acl as without it Amazon infinitely sends redirects
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1841 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:31:55 +00:00
adrian.f.cole 8baed726ab updated test location for remote http fetch
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1840 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:26:17 +00:00
adrian.f.cole 30d1000165 added signature to AWS error so that we can compare the value we send with that returned from aws
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1839 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:23:52 +00:00
adrian.f.cole 183ab4ad67 updated to testng 5.10
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1838 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:22:41 +00:00
adrian.f.cole be7909f75b removed separate module for ec2api as it is unnecessary complexity
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1837 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:22:03 +00:00
jamurty def8a44348 Issue 75: Fixed options for listing CDN containers
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1836 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 02:14:58 +00:00
jamurty cbb0050d43 Issue 75: Implemented CDN portions of the Cloud Files API. Because the CDN API functions have a different URI end-point at Rackspace, this commit includes a lot of new boilerplate/glue code and a CDN-specific connection so Guice can feed through the appropriate URI. In future, a Guice guru may be able to remove this cruft and move the CDN-specific implementation back into the main CloudFilesConnection.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1835 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 01:53:33 +00:00
adrian.f.cole abf4b13b4d Issue 77: completed functionality, except error handling, version, and limits
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1834 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-23 09:13:05 +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 2436c68578 Issue 77: create image and all backup schedule support
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1832 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-23 07:26:38 +00:00
adrian.f.cole fd9e281069 Issue 77: workaround to Web Hosting #119335
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1831 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-22 11:47:42 +00:00
adrian.f.cole d01b0606c8 Issue 73: added interface for Maps
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1830 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-22 11:03:04 +00:00
adrian.f.cole 4bb2a86e74 Fixed order of delete command and disabled post-build SSH check
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1829 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-21 17:21:03 +00:00
adrian.f.cole 85e24279e1 Fixed order of delete command and disabled post-build SSH check
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1828 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-21 17:19:42 +00:00
adrian.f.cole 8d124e8b7e Issue 77: added shared ip functionality
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1827 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-21 17:02:05 +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 d2985b5c4b Issue 77: shared ip group support
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1823 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-21 12:40:23 +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
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