Commit Graph

143 Commits

Author SHA1 Message Date
Adrian Cole 02fffda058 fixed date parser when there's a wrong date format specified 2011-01-26 19:23:22 -08:00
Adrian Cole 1df15209ec fixed built-in http client 2011-01-25 10:23:58 -08:00
Adrian Cole 60b6b68556 code cleanup: http request immutability (except payload), builders, test backfill 2010-12-30 23:40:23 +01:00
Adrian Cole 53ac4751f5 Issue 414: fixed length problem on string payload by eagerly encoding to UTF-8 2010-11-30 11:46:25 +00:00
Adrian Cole f4870b547c bad method mapping for count-blobs 2010-11-25 15:18:16 +01:00
Adrian Cole fb93e81301 refactored to create typed contextspec objects 2010-10-24 22:59:01 -05:00
Adrian Cole 0f0710e2f9 beta-7 regressions 2010-09-19 21:30:07 -07:00
Adrian Cole 1981b15837 regressions for beta-7 2010-09-19 19:12:44 -07:00
Adrian Cole 53f4bec356 Issue 361: normalize test properties 2010-09-19 13:30:11 -07:00
Hugo Duncan af094f6ffe Added sign-blob-request overload for default get request 2010-09-19 11:15:22 -04:00
Hugo Duncan b7307add04 added new header methods to sign-blob-request, and enabled sign-blob-request-test 2010-09-19 10:28:10 -04:00
Adrian Cole 226179869a Issue 353: updated and tested through s3, azureblob, cloudfiles, and synaptic 2010-09-19 03:37:41 -07:00
Adrian Cole 3639af0f12 Issue 353: refactored payload/blob so that contentMetadata is a type. 2010-09-19 02:15:03 -07:00
Adrian Cole ac9a642cd3 Issue 353: added disposition, encoding, language to blob and transient blobstore 2010-09-18 19:38:14 -07:00
Rainbowbreeze 4c2ff1ea63 Added futher implementation for content disposition 2010-09-17 18:05:13 +02:00
Adrian Cole 0e5823afad Issue 352: added transient blob signing 2010-09-13 22:41:19 -07:00
Hugo Duncan 8088bdc1a1 Comment failing (new) tests 2010-09-13 23:43:04 -04:00
Hugo Duncan 754a511ec2 Added sign-blob-request method, and some tests (broken) 2010-09-13 23:30:13 -04:00
Adrian Cole f068a06354 Issue 352: refactored request signing 2010-09-13 18:24:16 -07:00
Adrian Cole 198eeec3d9 added volume to hardware object, added signed blob support, added example of how to use signed blobs with computeservice 2010-09-12 02:27:42 -07:00
Adrian Cole 420503d32e updated and corrected license headers 2010-08-12 16:04:26 -07:00
Adrian Cole 60908bfb6e Issue 191: added databag support 2010-08-11 18:34:50 -07:00
Adrian Cole 7a593a1630 added WriteTo interface for streaming puts 2010-08-11 02:13:28 -07:00
Adrian Cole 25bc2c0691 added get-blob-stream helper and corresponding test 2010-08-10 10:37:17 -07:00
Adrian Cole 6f180ddb4e Issu 301: refactored utilities that depend on guava. introduced Crypto, CryptoStreams, and more Payloads to help deal with encrypted payloads and headers 2010-08-01 02:07:53 -07:00
Adrian Cole a9a0c53fb2 Issue 191: added RSA PEM parsing to encryptionUtils 2010-07-30 23:58:31 -07:00
Adrian Cole 34518f54ba Issue 325: massive refactor in order to stop serializing native async http client requests 2010-07-30 01:26:55 -07:00
Adrian Cole 7c3518f7ff Issue 191: changed encryption service so that it can decode a PEM key. updated chef to work in google appengine 2010-07-22 15:35:03 -07:00
Adrian Cole 887bb7adfe Issue 316: refactored ssh to use Payload object; deprecated non-payload methods 2010-07-19 13:08:12 -07:00
Adrian Cole 1d0949dec5 Issue 315: added auto-deserialization of json into java objects and new @Unwrap annotation; Issue 311: fixed template parsing for new cluster instance in ec2; Issue 191: started adding node support to chef 2010-07-17 01:30:37 -05:00
Adrian Cole 41e3ec6709 Issue 27: got eucalyptus and walrus working, after refactoring error handling 2010-07-11 01:26:56 -07:00
Adrian Cole e8d0a11cda Issue 301: refactored http payload and rewrote crufty tests 2010-07-09 21:13:11 -07:00
Adrian Cole 31d2da3c6f Issue 301: removed encryption service dependency from blob and added helper methods to blobstore.clj 2010-07-08 10:42:18 -07:00
Adrian Cole da3baf523c Issue 301: refactored http payload data from blob -> core, added content length, type, md5; fixed length bug in ec2 and added more tests to ensure this doesn't happen again 2010-07-08 03:46:34 -07:00
Adrian Cole 204c093753 refactored encryption service and exposed sha256 routine 2010-07-06 18:21:11 -07:00
Adrian Cole 7e28286dd0 Issue 293: normalized on provider vocab 2010-06-28 12:03:35 -07:00
Adrian Cole caceae90bd Issue 293: normalized on identity/credential vocab 2010-06-28 11:33:41 -07:00
Adrian Cole 27f4f69b4c Issue 293: refactored code to provide for api versions and coherent properties for authorization 2010-06-28 05:07:36 -07:00
Adrian Cole ab5e8b3ab4 added new annotation @PartParam for multipart form support 2010-06-09 17:00:18 -07:00
Adrian Cole 84ad021268 added retry handler for io exceptions, created modular rest client, swapped generic type args on restcontext 2010-06-06 23:01:48 -07:00
Adrian Cole 0684dc2344 Issue 264: fixed blob stuff in rackspace 2010-05-24 12:29:39 -07:00
Adrian Cole d45dfff1ec fixed regression 2010-05-24 00:44:54 -07:00
Adrian Cole 7c4307ba56 Issue 262: name of the blob didn't parse correctly; fixed 2010-05-24 00:13:17 -07:00
Adrian Cole efc47969d9 Issue 254: distinguish between id and providerId 2010-05-20 19:36:25 -07:00
Adrian Cole 239519c8ca added exceptions to ssh commands and changed interface to not index on id, since ids are not guaranteed unique 2010-05-04 15:01:01 -07:00
Adrian Cole a1c7ccfd3f Issue 241:Add provider to the Location hierarchy and make getParent a Location object; also fixed compute services where broken and added ssh logging for runscript 2010-05-03 01:04:48 -07:00
Adrian Cole 021e5e18e0 Issue 203 normalized location across blobstore and compute 2010-04-25 17:38:21 -07:00
Adrian Cole dedd8f8270 fixed templateBuilder logger and also fixed copyright headers 2010-04-13 23:40:56 -07:00
Adrian Cole 45384de903 Issue 202: with-details option for blobstore list 2010-04-06 19:33:26 -07:00
Adrian Cole 9837bfd3ba fixed vfs snapshot repo and added test 2010-04-05 15:57:19 -07:00
Phil Hagelberg a5454fe040 Update clojure blobstore tests to reflect new argument order. 2010-03-26 10:31:14 -07:00
phil 91f09690b6 Rename create-blob to upload-blob. 2010-03-26 01:07:13 +00:00
Adrian Cole 614cbb24c6 Issue 207: increased ferocity of tests to do concurrent 5MB downloads w/checksum on both http and blobstore level. 2010-03-21 16:48:16 -07:00
Phil Hagelberg 0d0b4e849f Factor out service args into a fixture so other modules can reuse tests. 2010-03-19 15:41:14 -07:00
Phil Hagelberg 7a4b513191 Add a test to blobstore_test.clj to detect for corrupt downloads. 2010-03-19 12:59:46 -07:00
Jim c0d8e90e72 Added retry to download-blob if MD5 checksums don't match. 2010-03-17 14:05:35 -07:00
Adrian Cole 3be3966f45 fixed bad naming convention on constant 2010-03-15 10:42:46 -07:00
Adrian Cole dc512e8bae Issue 202: withDetails support for BlobStore.list(String,ListContainerOptions) 2010-03-14 23:34:47 -07:00
Phil Hagelberg 9ba88797a0 Fix File method of download-blob multimethod. 2010-03-09 17:01:24 -08:00
Jim 5311b05192 Run clojure blobstore tests inside with-blobstore. 2010-03-09 16:16:43 -06:00
Jim 1da7c5a6b6 Added higher-level download-blob function and tests for it. 2010-03-09 16:13:23 -06:00
Phil Hagelberg 659f4b9612 Remove a redundant function, rename a test, add test todo. 2010-03-09 10:42:05 -08:00
Hugo Duncan bdba469580 changed blobstore test to use factory for renamed transient provider 2010-03-09 12:32:01 -05:00
Adrian Cole e04784373e Issue 154: added Transient blobstore 2010-03-09 09:17:33 -08:00
Hugo Duncan cb0928afae major update to blobstore clojure binding. factored out core.clj 2010-03-09 11:11:19 -05:00
Adrian Cole b190651247 refactored configuration module so that Issue 201 could occur. linked context with objects created from it 2010-03-09 00:10:27 -08:00
Hugo Duncan 33a31c03ed import bindings from crane. Merge branch 'jclouds' of git://github.com/bradford/crane 2010-03-03 09:17:00 -05:00
Adrian Cole a72efaea6d Issue 177: support scheme-only redirects 2010-02-21 10:43:00 -08:00
Adrian Cole bb80d90755 Issue 172: updated stubs to have enough threads to complete execution 2010-02-16 10:07:04 -08:00
adrian.f.cole 7120f6e536 corrected CNFE, as it should have been a subclass of ResourceNotFoundException; stabalized the directory support for rackspace and atmos
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2753 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-02 04:07:49 +00:00
adrian.f.cole a268309c94 overhauled the blobstore api to work with pseudo directories and continuable lists. fixed connection errors in http executor. changed to return null on resource not found
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2745 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-01 10:09:45 +00:00
adrian.f.cole 70aa7e4ef3 Issue 73, 130, 150: overhauled context builders, blobstore javadocs, setup http connection limiter, and otherwise readied the code for consumption
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2729 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-25 09:41:37 +00:00
adrian.f.cole aa41f4512b Issue 130: added rackspace and cleaned up builder concepts
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2721 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-22 20:39:23 +00:00
adrian.f.cole a17da70588 support null; add AuthorizationException
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2717 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-22 00:30:07 +00:00
adrian.f.cole cb906ded3c Issue 130: added options to runNode like openPorts and runScript; added ability to specify alternate endpoint in *ContextBuilderFactory; updated ant tasks to use new node features; Issue 112: normalized vcloud clients
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2712 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-21 06:22:42 +00:00
adrian.f.cole 9b39988ad7 Issue 130, Issue 73: separated out provider context from abstraction. accessible via getProviderSpecificContext
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2684 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-20 00:32:04 +00:00
adrian.f.cole 0f6412dfbd Issue 86 updated to latest azure api release and added more support for queue
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2674 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-19 11:34:28 +00:00
adrian.f.cole 969bb8ea38 Issue 144: Temporary hack until http://code.google.com/p/guava-libraries/issues/detail?id=317 is fixed.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2670 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-19 02:23:30 +00:00
adrian.f.cole 27de8ac105 Issue 148 Issue 9 cleanup javadoc, removed use of string.replaceAll
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2664 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-18 20:28:37 +00:00
adrian.f.cole 2776d12093 corrected ssl errors in blobstore and normalized context factories
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2663 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-16 17:35:59 +00:00
adrian.f.cole d8e6c0e248 Issue 130, Issue 29: normalize location, called Region in amazon speak, restructured domain model across compute and blobstore
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2658 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-15 23:13:35 +00:00
adrian.f.cole 83a2d54e3e Issue 144: convert to ListenableFutures
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2625 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-10 06:25:44 +00:00
adrian.f.cole e69831b1a9 Issue 144: replaced exception handling with guava's Throwables methods
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2624 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-10 05:07:42 +00:00
adrian.f.cole 1284fd67fa Issue 144: replaced FutureFunctionCallable, FutureFunctionWrapper, RunnableFutureTask with Futures.compose and Futures.chain
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2617 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-07 01:46:43 +00:00
adrian.f.cole 2d3c1b6019 made name a mandatory parameter of newBlob
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2612 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-06 17:54:41 +00:00
adrian.f.cole 183342d7f0 broke the build
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2611 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-06 16:41:01 +00:00
adrian.f.cole 32ab37d3d7 Fixed license error caught by libcloud: jclouds isn't licensed to Apache, it just uses that license. thanks guys
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2558 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-31 17:36:46 +00:00
adrian.f.cole 8116d47b67 Removed dependency of apache commons-io as it overlaps with guava. note guava will include google collections soon
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2457 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-17 20:10:58 +00:00
adrian.f.cole 4a22f808d1 Issue 134: switch to typed payloads for http requests and blob types
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2410 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-13 20:46:48 +00:00
adrian.f.cole 74be2180d3 Issue 131: reorganized package structure
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2409 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-13 06:42:22 +00:00
adrian.f.cole 1eb4619faa Issue 131: extract out bouncycastle
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2408 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-13 05:16:26 +00:00
adrian.f.cole 507794042e Issue 131: move joda to extension
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2407 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-13 02:24:30 +00:00
adrian.f.cole a900e05a1f Issue 131: modularized out blobstore
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2405 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-12 23:28:02 +00:00