Commit Graph

692 Commits

Author SHA1 Message Date
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 9de6b331a7 Issue 86: shortened project names
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1867 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-01 23:31:56 +00:00
adrian.f.cole e3b3ca5e6f Issue 86: authentication filter for Microsoft Azure Storage
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1863 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-01 23:07:35 +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 8a4e5d4839 eventual consistency madness
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1861 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-01 23:00:54 +00:00
adrian.f.cole 9ee13291bb Issue 86: setup maven structure for azure cloud storage
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1860 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-01 06:16:38 +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 1740912593 we must explicitly disable inherited test methods in surefire even when the class is disabled
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1857 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 23:01:29 +00:00
adrian.f.cole 4d9ccc797e cleanup
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1856 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 23:00:34 +00:00
adrian.f.cole 915e05330a cleanup
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1855 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 23:00:11 +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 c1c6ab959b formatting
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1853 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:58:54 +00:00
adrian.f.cole daf95d7e8a add signature to AWS error message
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1852 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:57:01 +00:00
adrian.f.cole 2fef8da975 wrong AWS message
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1851 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:56:16 +00:00
adrian.f.cole 11bbc6f3c7 redirect handling is only specific to AWS when the LOCATION header is consumed
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1850 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:55:45 +00:00
adrian.f.cole f001f26298 only create nodes if there is content associated with it
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1849 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:54:51 +00:00
adrian.f.cole b2987c9682 during integration testing on bad networks, dns responses may not return fast enough. relaxSSLHostname works around this
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1848 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:52:43 +00:00
adrian.f.cole 008979b027 attempts to clean up base integration test
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1847 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:51:35 +00:00
adrian.f.cole 6dc3d789c1 fixed integration test that downloads remote files
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1846 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:47:03 +00:00
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