175 Commits

Author SHA1 Message Date
Francis Devereux
d60d2681d1 JCLOUDS-251: Swift: Delete chunks when deleting a multipart blob
Also:
- Make SwiftBlobIntegrationLiveTest.testMultipartChunkedFileStream more realistic by uploading a file large enough to be split into parts.
- JavaDoc fixes for SwiftBlobStore: don't reference nonexistent methods.
2013-08-25 10:20:22 -05:00
Francis Devereux
d05e77b8b6 Fix JCLOUDS-250 for the common case where blob names do not contain / 2013-08-25 10:17:14 -05:00
Francis Devereux
c11614400f Handle quoted ETags for OpenStack objects to fix JCLOUDS-247
This avoids a 'java.io.IOException: Unrecognized character: "' when a quoted ETag is encountered (which happens when getting a multipart blob from Rackspace Cloud).
2013-08-24 21:03:47 -05:00
Andrew Phillips
375cb2075d JCLOUDS-155: Making header handling in OpenStack case-insensitive
Submitted by Rodney Beede
2013-08-01 19:09:48 -04:00
Andrew Gaul
c299b8ff61 Add Swift-specific MD5 checksum header
Tested against cloudfiles-us, hpcloud-objectstorage, and
swift-keystone.  Reference for ETag:

https://answers.launchpad.net/swift/+question/157064
2013-07-09 21:35:17 -07:00
JoshVote
8db0218cf7 JCLOUDS-126 - Support and tests for region selection in swift-keystone BlobStore 2013-07-03 13:44:46 -07:00
Andrew Gaul
1a6be0eb67 Do not repeat array type in initializers 2013-06-18 21:02:50 -07:00
adriancole
ed2f18a1af JCLOUDS-31. updated to ASF headers via mvn com.mycila.maven-license-plugin:maven-license-plugin:format 2013-05-16 21:30:37 -07:00
adriancole
fa10fc4838 JCLOUDS-31. remove malformed, duplicate, or unnecessary headers 2013-05-16 21:30:32 -07:00
Andrew Bayer
7923009eb5 JCLOUDS-37. Fix RAT violations in incubator-jclouds, master branch 2013-05-13 19:17:50 -07:00
Andrew Bayer
446ac67884 JCLOUDS-30. Switch to 2 space indents for POM files. 2013-05-13 12:04:43 -07:00
Andrew Bayer
259b04ff1c JCLOUDS-16. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos. 2013-05-13 12:04:42 -07:00
Everett Toews
2bbd03939f Removed trystack-nova provider. 2013-04-26 10:54:49 -05:00
Andrew Gaul
fff2fa6e05 Address Checkstyle violations
This commit requires temporarily disabling some checks.
2013-04-17 16:21:21 -07:00
adriancole
5bc0678a1c naming convention and warning feedback from issue #1511 2013-04-10 08:13:13 -07:00
adriancole
6afb0dc6b9 quarantined openstack api and providers that still use async code 2013-04-09 22:07:55 -07:00
adriancole
61067d3683 Deprecated remaining code related to RestContext, RestApiMetadata, and RestClientModule for ApiContext, HttpApiMetadata, HttpApiModule 2013-04-09 22:07:43 -07:00
adriancole
f56da43db1 deprecated blobstore interfaces that imply complex internal code 2013-04-09 14:37:34 -07:00
Adrian Cole
109db817ed Merge pull request #1508 from jclouds/deprecate-async
Deprecate async
2013-04-09 13:04:19 -07:00
adriancole
053197fe61 deprecated all top-level Async apis and clients 2013-04-09 10:18:31 -07:00
adriancole
d3e3f1e8b1 refactored swift MPU and added test 2013-04-09 09:44:48 -07:00
adriancole
36dd831b84 moved all code off use of RestContext except CloudStackContext, which will use it until 1.7 2013-04-09 09:23:31 -07:00
adriancole
88871c9fe9 issue #1501: add Closeable annotation to all top-level apis 2013-04-08 16:13:09 -07:00
Andrew Gaul
c3542f9d12 Correct Keystone 1.1 authentication token timeout
We should renew after 30 minutes, not 30 hours.
2013-03-17 16:27:31 -07:00
Andrew Gaul
371db8d18f Address Xlint warnings 2013-03-13 22:23:19 -07:00
Adrian Cole
61e5d6e918 Merge pull request #1415 from maginatics/reduce-keystone-auth-renewal
Reduce Keystone 1.1 auth token renewal timer
2013-03-13 12:30:54 -07:00
Andrew Gaul
917c03c7bf Memoize Swift TempURL keys
This avoids a round-trip to the server for every signed URL.
2013-03-13 11:59:34 -07:00
Andrew Gaul
ce3047517f Allow configuration of session renewal.
Also set default timeout to 30 minutes.  This works around a situation
where we used an expired token.  I saw symptoms where CloudFiles
temporary signed URLs worked for hours 0-23, renewed the token, worked
for hours 23-24, then failed for hours 24-46.  The cycle then repeats.
2013-03-12 21:40:34 -07:00
Adrian Cole
fb69ae0fa9 bump master to 1.7.0-SNAPSHOT 2013-03-08 23:02:40 -08:00
adriancole
c31145e42e [maven-release-plugin] prepare for next development iteration 2013-03-04 06:13:59 -08:00
adriancole
0eb3ee8091 [maven-release-plugin] prepare release jclouds-1.6.0-alpha.4 2013-03-04 06:13:57 -08:00
adriancole
2c3c3fad52 swift: explicitly set Expect header on methods that need it 2013-03-03 21:09:48 -08:00
Andrew Gaul
1f995879d6 Address FindBugs errors 2013-02-22 20:59:29 -08:00
Everett Toews
9dbe283055 Live test to make Swift Keystone testing easier. 2013-02-22 11:08:06 -06:00
Adrian Cole
3cdf716334 Merge pull request #1317 from rackspace/swift-rax-large-file-upload-fix
Fixed inheritance hierarchy for Swift and Cloud Files to avoid problems when using BlobStore.
2013-02-19 09:24:53 -08:00
Everett Toews
3e51ff183c Fixed inheritance hierarchy for Swift and Cloud Files to avoid problems when using BlobStore. 2013-02-18 16:24:13 -06:00
Andrew Gaul
b51ce5994a Expose resource creation date 2013-02-18 11:26:44 -08:00
adriancole
89fda8ee28 [maven-release-plugin] prepare for next development iteration 2013-02-04 17:30:46 -08:00
adriancole
2b0ad28f26 [maven-release-plugin] prepare release jclouds-1.6.0-alpha.2 2013-02-04 17:30:44 -08:00
adriancole
f3f4dc9f2a issue #1184 normalize command names for all swift derivatives 2013-02-03 12:05:20 -08:00
adriancole
267069755e [maven-release-plugin] prepare for next development iteration 2013-02-02 08:41:53 -08:00
adriancole
7c924b312f [maven-release-plugin] prepare release jclouds-1.6.0-alpha.1 2013-02-02 08:41:51 -08:00
adriancole
a51e6a8323 issue #1089 removed default timeout values so that those not using async will have simpler debugging 2013-01-29 04:19:00 -08:00
adriancole
40d9f8bfe7 changes that facilitate synchronous fallbacks and http invocation 2013-01-29 04:09:45 -08:00
Adrian Cole
37e587ee51 changes related to centralizing construction of invokables 2013-01-19 17:17:30 -08:00
Everett Toews
d54e8dcecb @Named annotations in all async api methods for OpenStack. 2013-01-19 18:16:14 -06:00
Adrian Cole
4980367991 centralize TypeToken creation 2013-01-19 11:31:55 -08:00
adriancole
04fe89b75a update to guava 14.0-rc2 2013-01-18 16:02:25 -08:00
Adrian Cole
3962b30808 updated to use standard guava Futures and ListenableFuture 2013-01-13 09:31:10 -08:00
Adrian Cole
47c215c63c removed custom guava code for scoped binding and type params 2013-01-08 22:48:10 -08:00