Commit Graph

202 Commits

Author SHA1 Message Date
Adrian Cole ca247efaed Issue 324: added properties for (jclouds|provider).modules, (jclouds|provider).credential.resource, and (jclouds|provider).credential.file in order to support rewiring jclouds http and other components via properties files, and extract out where credentials are obtained from 2010-07-28 00:41:13 -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
Phil Hagelberg 328679799b Missed a layer of nesting. 2010-07-13 17:18:21 -07:00
Phil Hagelberg 3db58174bd Fix formatting of generateMD5BufferingIfNotRepeatable call. 2010-07-13 17:00:49 -07:00
Phil Hagelberg 2ad5df1d3c Use blobstore argument in md5-blob instead of dynamically-bound var. 2010-07-13 17:00:49 -07: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 8703c4a7a4 Issue 199: ning examples 2010-07-06 14:37:40 -07:00
Adrian Cole e90857d7a4 added toString hashCode and equals to context objects 2010-07-06 13:32:13 -07:00
Adrian Cole 85b5bd48f1 loosened dependency on the GeneratedHttpRequest class 2010-07-02 16:47:46 -07:00
Adrian Cole 9bac52d315 Issue 298: fixed regression on authorizationexception not propagating, and also missing gogrid file 2010-07-02 12:05:41 -07:00
Adrian Cole 714a459796 Issue 297: exposed utilities like encryption, logging, date, threads, and ssh to context objects 2010-06-29 15:45:59 -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 055c56dc08 Issue 292: added simple http client 2010-06-25 10:45:15 -07:00
Adrian Cole b2141b0d59 Issue 271 updated to support google storage and eucalyptus 2010-06-15 17:05:55 -04:00
Adrian Cole 518b453c6d Issue 271 updated to support google storage 2010-06-15 17:04:01 -04:00
Adrian Cole cba3f660fb Issue 27: added 'walrus' blobstore and 'eucalyptus' compute providers 2010-06-15 15:22:32 -04:00
Adrian Cole f25100fe9b Issue 191: corrected multipart form and added cookbook signing to chef client 2010-06-12 17:17:42 -07:00
Adrian Cole 306bb0ebde Issue 191: started cookbook support; refactored multipart form code 2010-06-11 19:02:19 -07:00
Phil Hagelberg d2c6a6f17e blobstore/download-blob should .writeTo instead of c.c.io/copy. 2010-06-10 11:27:02 -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
Phil Hagelberg 438ee7abe2 Don't need to qualify blobstore/list-containers. 2010-05-26 15:39:55 -10:00
Phil Hagelberg e64fd52a60 Add list-blobs function to create a lazy-seq of blobs.
list-container is still available as a low-level call, but list-blobs
should be preferred going forward since it doesn't need to be manually
paginated.
2010-05-26 15:22:13 -10: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 a4bdd433f4 Issue 260: fixed i/o threadpool to min=max; refactored session expiry logic. Issue 258 refactored load balancer code 2010-05-23 15:39:49 -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 10af8cdae8 Issues 203 234 235, add visibility to image from nodemetadata, update to stable version of guava, harden tests, normalize location 2010-04-25 00:46:54 -07:00
Alex Yarmula 25c7345177 Added options to (node) function in compute.clj, currently a single option to show/fetch details.
Extended the doc in blobstore.clj.
2010-04-19 15:20:08 -07:00
Chas Emerick 82f6b1c777 refactor out clojure-contrib :require and :use declarations to provide clojure 1.1/1.2 compatibility 2010-04-16 11:20:04 -04: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
Adrian Cole 6ea95932ff fixed deleteallkeysinlist which forgot to check the status of the futures 2010-03-29 10:43:16 -07:00
Phil Hagelberg a5454fe040 Update clojure blobstore tests to reflect new argument order. 2010-03-26 10:31:14 -07:00
Phil Hagelberg f17352c70f Handle container-name arg correctly in list-container. 2010-03-26 10:30:55 -07:00
phil a87560113e Remove magic ListOptionsContainer macros in favour of explicit fn mapping. 2010-03-26 01:09:21 +00:00
phil 91f09690b6 Rename create-blob to upload-blob. 2010-03-26 01:07:13 +00:00
phil 94b6efe802 Reorder arguments so optional args are always last. 2010-03-26 00:32:13 +00:00
Hugo Duncan 53bac3fa65 Fixed bug in extension module option parsing 2010-03-24 17:33:01 -04:00
Hugo Duncan 88bf948eb6 changed clojure-maven-plugin to 1.3.2 and removed its configuration in blobstore/pom.xml 2010-03-24 12:26:55 -04:00
Adrian Cole 574af762f6 added md5OutputStream to encryptionService and refactored blobstore.clj to use it 2010-03-21 21:04:10 -07: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
Adrian Cole b70da07b27 Issue 212: now all modules can run clojure tests, and the test clj files will end up in the test jars 2010-03-20 16:39:11 -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
Andrew Phillips 64b68d73db Housekeeping: renamed all .svnignore files to .gitignore, and some line endings. 2010-03-19 11:30:13 +01:00
Jim c0d8e90e72 Added retry to download-blob if MD5 checksums don't match. 2010-03-17 14:05:35 -07:00
Adrian Cole 7def9eee7c missing file 2010-03-15 15:32:40 -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 dba85d84dd Automatically generate MD5 of payload in create-blob function. 2010-03-12 14:11:08 -08:00
Phil Hagelberg 769ba19157 Correct the argument order of create-container. 2010-03-11 17:17:18 -08:00
Phil Hagelberg 2a6580d342 Switch arg name back to dir from prefix; trim long lines.
(Too used to S3 where dirs are a figment of our imagination and
prefixes are what really matter.)
2010-03-11 17:07:14 -08:00
Phil Hagelberg 4f097cd21c First arity for clear-container just calls itself instead of second arity. 2010-03-11 14:51:40 -08:00
Phil Hagelberg 7310d04ae5 Use as-blobstore when listing blobs in clojure wrapper.
Seems to be more forgiving and consistent this way.
2010-03-11 11:21:55 -08: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
Adrian Cole 09e797de0b Issue 189: atmos support for att is called synaptic 2010-03-06 21:00:06 -08:00
Hugo Duncan fd066e02c1 Added resources directory back as a resource 2010-03-06 12:11:11 -08:00
Adrian Cole 0bc94f517e corrected swank version 2010-03-04 15:35:41 -08:00
Hugo Duncan 88f992a53e Added clojure to tests and jar 2010-03-04 16:03:34 -05:00
Hugo Duncan 6ad07515c5 Removed static dependency on extension modules. Removed lein project.clj files. 2010-03-04 09:22:01 -05: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 Cole 52e40c4651 normalized usage of null across compute apis, removed loop of recreating nodes, extracted BaseComputeService class 2010-02-08 01:32:53 -08:00
Adrian Cole 4582c57c72 fixed version numbers to SNAPSHOT 2010-02-04 21:30:22 -08:00
adrian.f.cole 2ed029764f beta-3 release
git-svn-id: http://jclouds.googlecode.com/svn/branches/1.0-beta-3@3054 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-02 11:34:05 +00:00
adrian.f.cole b217410ac0 Issue 9, Issue 127: updated javadoc, modified dist to not jarjar, changed dist to support profiles, tools, blobstore, and compute api
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2754 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-02 08:31:30 +00: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 3521c47029 Issue 130: added location and made compute service set-based
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2730 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-28 05:21:11 +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