Commit Graph

247 Commits

Author SHA1 Message Date
David Santiago 6a3ce93d26 Clean up a comment on the blobstore2/blob function. For realsies. 2011-04-21 14:05:51 -05:00
David Santiago 29744fddda Clean up a comment on the blobstore2/blob function. 2011-04-21 11:36:47 -05:00
David Santiago 6152de91c5 Small enhancements to blobstore2_test.
Made each test clause insert a uniquely named blob, to reduce risk that an
earlier correct result masquerades as a success in a later clause.
2011-04-21 11:32:42 -05:00
David Santiago cea0e7d7ad Update blobstore2 to have a convenience protocol for building blob payloads.
* Added PayloadSource protocol with a number of implementations, including
  all currently covered classes.
* Added implementation for clojure.lang.IFn, so that you can pass in a closure.
* Updated blob function to pass the :payload argument through the payload
  protocol function.
* Added some tests for the payload protocol.
2011-04-21 04:03:58 -05:00
Adrian Cole 9e94fc6fc9 updated license headers 2011-04-09 03:20:17 -07:00
Adrian Cole 8d26999bc2 updated to surefire 2.8, and revised test annotations to be compatible with testng 5.14.10 2011-04-09 01:09:35 -07:00
Adrian Cole 5f43dbb6fa updated tests to include containercount parameter 2011-04-08 15:03:14 -07:00
Adrian Cole 25eb1581ea added parallel file upload test to blobstore 2011-04-07 12:26:47 -07:00
David Santiago a9f99f1b4e Update put-blob to new multipart API and add test.
How to do multipart on a put changed after the previous commit.
2011-04-06 02:53:19 -05:00
David Santiago 27189fba21 Add multipart? option to put-blob. 2011-04-06 00:29:22 -05:00
David Santiago aa89a53b86 Merge remote branch 'upstream/master' 2011-04-06 00:26:42 -05:00
David Santiago ee339e109b Update create-container to take more options.
* location is now optional, given through the :location keyword.
* public-read? option, can be set to true to create a publically readable
  container.
2011-04-05 18:57:28 -05:00
Adrian Cole 2bfc84beeb Issue 430: PutOptions.multipart() 2011-04-05 12:26:16 -07:00
David Santiago 793740b9be Merge remote branch 'upstream/master' 2011-04-05 02:48:48 -05:00
David Santiago ed90e29d68 Further refinements to blobstore2 in response to feedback on Github and IRC.
* Removed redundant functions, made others delegate to others instead
  of calling right into Java.
* Fixed typos, removed unused dependency references.
* Better naming for key functions: list-container -> blobs, list-blobs ->
  container-seq.
* Made blob fn no longer require a blobstore argument.
* Better comments, updated tests.
2011-04-05 02:42:45 -05:00
Adrian Cole b9f0cbcb89 crypto tuning 2011-04-04 23:37:00 -07:00
David Santiago 3011ffad23 Merge remote branch 'upstream/master' 2011-04-05 01:34:25 -05:00
Adrian Cole d69d31a5d2 expose constructor for blobbuilderimpl 2011-04-04 22:35:22 -07:00
David Santiago 1239e1a7c9 Merge remote branch 'upstream/master'
Conflicts:
	blobstore/src/test/clojure/org/jclouds/blobstore_test.clj
2011-04-04 19:04:46 -05:00
David Santiago 33150c40a2 Reduce the number of blobs to test in large-container-list-test. 2011-04-04 19:02:24 -05:00
Adrian Cole ab8a7e452c tuning so that we can reliably test multiple page lists in clj 2011-04-04 17:00:28 -07:00
David Santiago c85a7f7693 Merge remote branch 'upstream/master'
Conflicts:
	blobstore/src/test/clojure/org/jclouds/blobstore_test.clj
2011-04-04 17:27:15 -05:00
David Santiago 3d7033ad3d New Clojure blobstore API in blobstore2.clj
Updates to API include more regular function arguments, fewer compound
functions, and fewer arities of dubious quality. Tests also ported.
2011-04-04 17:23:56 -05:00
Adrian Cole c0a261334b added large container list test in clj 2011-04-04 14:37:46 -07:00
David Santiago 57f0dcaf15 Add another arity to list-blobs so that it can be called without the blobstore argument. Also add some basic tests for list-blobs-test. 2011-04-04 15:54:35 -05:00
Adrian Cole 53c735fdff enforced blobs must have uri, container, and can have publicAccess 2011-04-03 18:15:09 -07:00
Adrian Cole fc8bb96363 Merge branch 'master' of https://github.com/davidsantiago/jclouds
* 'master' of https://github.com/davidsantiago/jclouds:
  Additional refinements to blobstore.clj updates.
  Updates to improve blobstore.clj.
2011-04-02 00:34:14 -07:00
Adrian Cole e4b85db4b5 added md5 test 2011-04-02 00:30:57 -07:00
Adrian Cole a3a9bc3948 fixed usage statement 2011-04-02 00:30:49 -07:00
David Santiago 3459df3653 Additional refinements to blobstore.clj updates.
* Added an option to conditionally call calculateMD5() in blob2.
* Fixed a bug in md5-blob (which predated these changes).
* Added a direct test for blob2 and calculateMD5.
2011-04-02 02:26:45 -05:00
David Santiago 85d0474068 Merge remote branch 'upstream/master' 2011-04-02 02:26:15 -05:00
Adrian Cole 82d84b1ca1 added getoptions to blob request signer 2011-04-01 21:38:53 -07:00
David Santiago 2c74c70b1f Updates to improve blobstore.clj.
* New function blob2 exposes many more options for creating blobs.
* Updated functions that use blob to use blob2.
* New functions sign-get, sign-put, and sign-delete replace the
  functionality of sign-blob-request.
* Added tests.
* Deprecation metadata added to blob and sign-blob-request.
2011-04-01 23:32:07 -05:00
Adrian Cole 54ea98ba49 fixed typo in blob builder 2011-04-01 14:43:08 -07:00
Adrian Cole ddbd6fc1d8 allow usermetadata to be null 2011-04-01 13:52:43 -07:00
Adrian Cole 5ddf9aabca added forSigning to blobBuilder 2011-04-01 11:38:10 -07:00
Adrian Cole c352895ae2 Merge branch 'fix-list-blobs' of https://github.com/joodie/jclouds
* 'fix-list-blobs' of https://github.com/joodie/jclouds:
  make prefix optional for blobstore/list-blobs
  make blobstore/list-blobs actually lazy
2011-03-31 10:03:52 -07:00
Adrian Cole 15d8aecdac Issue 488:add support for ninefold storage 2011-03-29 14:03:21 -07:00
Adrian Cole 5fd7e559f4 fixed so that you can pass properties into blobstore 2011-03-29 13:05:24 -07:00
Joost Diepenmaat 23e988ef5a make prefix optional for blobstore/list-blobs 2011-03-15 15:49:00 +01:00
Joost Diepenmaat 5983eb0402 make blobstore/list-blobs actually lazy 2011-03-15 15:34:54 +01:00
Adrian Cole f5fa2d983b added toString to common functions so that they are easier to see when debugging 2011-03-14 01:39:59 -07:00
Adrian Cole 9bdd97340b Issue 506:support hosteurope blobstore; break out scality-rs2 2011-03-12 12:14:11 -08:00
Adrian Cole e5af84ef0e Issue 486: moved netty to a driver and created a base payload slicer 2011-03-07 09:54:25 +01:00
Tibor Kiss ed27cbc7c0 AWS S3 sequential Multipart Upload strategy 2011-03-07 09:54:25 +01:00
Adrian Cole 897dc000d5 made blobmetadata parser name accessible for testing 2011-02-26 21:48:51 -08:00
Adrian Cole f38c8d5e56 Issue 475: removed builtin providers for ec2, s3, cloudservers, cloudfiles, and vcloudexpress 2011-02-15 17:51:40 +01:00
Adrian Cole 20c23e7962 Issue 462: corrected semantics of BlobMap when using inDirectory and added BlobBuilder 2011-02-13 22:32:31 +01:00
Adrian Cole 30ed6fd848 promote scaleup-storage 2011-01-31 10:20:17 -08:00
Adrian Cole c93186ef9d S3 acls are not portable, so let's not make them enums 2011-01-31 10:05:23 -08:00