Commit Graph

162 Commits

Author SHA1 Message Date
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
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 2d19e33828 changed factories to not use varargs as it makes scripting ugly. also added NONE options for the same reason.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2645 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-13 06:34:35 +00:00
adrian.f.cole 6ff6abd36c Issue 129 Issue 130: changed naming convention per libcloud; added context object
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2644 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-13 01:19:42 +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 e14135e535 added jruby example
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2589 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-04 00:29:48 +00:00
adrian.f.cole bdbb6d0ec9 corrected license of pom.xml files
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2564 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-01 17:56:29 +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
sharedocs1@gmail.com caaf950fc1 Rewritten the distribution generation to a) use descriptors from a shared dependency b) correctly package transitive dependencies and c) correctly JarJar these dependencies
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2517 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-24 19:50:37 +00:00
adrian.f.cole 9c4ff83f25 Issue 139: introduced default exception for 404 errors
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2501 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-22 00:05:16 +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
sharedocs1@gmail.com 4c924cb24a Updated svn:ignore
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2418 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-14 13:31:27 +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
adrian.f.cole 10fe315b7d Issue 116: consolidated blobstore into core
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2249 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-11 07:10:33 +00:00
adrian.f.cole 99ba4498ec changed to Linked Lists so that unit tests are predictable across JDKs
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2234 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-09 03:27:10 +00:00
adrian.f.cole b14210bf92 changed name of blobstore module
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2060 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-06 22:52:52 +00:00
adrian.f.cole 5d4a5622fc fix file headers
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2051 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-06 21:07:35 +00:00
adrian.f.cole f3cd3f2db9 loosened testing
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2039 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-03 01:48:21 +00:00
adrian.f.cole 830d90874d Issue 73: updated to allow container listings to have pagination
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2037 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-02 09:13:40 +00:00
adrian.f.cole 483c144d38 Issue 114: new demo of twitter
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2035 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-01 05:19:01 +00:00
adrian.f.cole 3d030cfac0 removed mapmaker expiration as it is incompatible with google appengine. replaced with ExpirableSupplier
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2032 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-31 09:07:57 +00:00
adrian.f.cole bcd1c2343a marked stateless objects as Singleton
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2015 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-31 00:48:49 +00:00
adrian.f.cole 6336fa1823 made sure MD5 are sent during testing
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2013 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-31 00:46:55 +00:00
adrian.f.cole 92b7a3ea89 Issue 73: support recursive listing on stubs
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2010 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-30 20:48:47 +00:00
adrian.f.cole 050f6e9a82 Issue 74, Issue 76, Issue 101: revamped blobstore and rest subsystems; Issue 10: removed assisted inject
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2001 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-29 20:17:42 +00:00
adrian.f.cole ee6ffff298 Issue 73: normalizing names of objects; break metadata into interfaces so that they can be implemented differently
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1986 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-19 01:14:25 +00:00
adrian.f.cole eefd7d47f8 removed multimap for user metadata
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1984 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-14 21:24:50 +00:00
adrian.f.cole e939114702 tuned timestamp logic
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1982 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-14 04:59:51 +00:00
adrian.f.cole 79a3e40d14 update to ensure metadata cannot have multiple values
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1974 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-12 14:39:22 +00:00
adrian.f.cole 33d11fe07f Issue 73: changed eTag to String, as at least two clouds don't have parsable etags; changed user metadata to Map from Multimap as there are no dupes
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1973 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-12 06:10:15 +00:00
adrian.f.cole 9c3dcdf495 Issue 76: Reverted decision to rename binders to decorators. binders are not decorators, as they do not enclose objects and add behavior
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1970 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-11 23:22:49 +00:00
adrian.f.cole 50fc3cb913 Issue 74: refactored logging including addition of new trace and header logs. These remove the need for separate json and xml debugging, as it is seen in wire logs
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1968 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-10 21:55:18 +00:00
adrian.f.cole 5b7878b0ea Issue 76: added support for @Produces and @Consumes, replaced @EntityBinder with @DecoratorParam so that we can manipulate more things then just entities; organized rest module
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1952 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-10 00:18:34 +00:00