1785 Commits

Author SHA1 Message Date
Adrian Cole
8bae4b952f JCLOUDS-49 clear remaining async stuff from openstack 2014-10-05 22:34:14 -07:00
Andrew Phillips
b2ef8820bf Fixing Checkstyle violations 2014-10-05 22:33:58 -07:00
Adrian Cole
f238e697a0 Rather than rely on or work around JRE behavior based, lock S3ClientMockTest using OkHttp. 2014-10-05 20:16:54 -07:00
Adrian Cole
2f0725c832 Move off confusing test names. 2014-10-05 17:23:18 -07:00
Adrian Cole
4b427e503a JCLOUDS-40 Replaced incorrect use of @ConfiguresRestClient and deleted old rest client modules. 2014-10-05 16:22:06 -07:00
Adrian Cole
29f07979ed JCLOUDS-40 Remove AsyncBlobStore references from s3 api 2014-10-05 13:18:50 -07:00
Adrian Cole
4e84ad952d JCLOUDS-40 Remove AsyncBlobStore references from filesystem api 2014-10-05 13:18:46 -07:00
Adrian Cole
1bdf8a1588 JCLOUDS-40 Remove internal usage of AsyncBlobStore. 2014-10-05 09:02:20 -07:00
Adrian Cole
7047874ad9 JCLOUDS-40 remove all implementations of AsyncBlobStore except Submission in preparation for complete removal. 2014-10-05 09:02:13 -07:00
Adrian Cole
d33ec013e9 JCLOUDS-296 unasync legacy cloudservers provider. 2014-10-03 23:24:00 -07:00
Adrian Cole
896cc70374 JCLOUDS-296 unasync legacy cloudfiles provider. 2014-10-03 23:23:02 -07:00
Adrian Cole
7cf11db408 JCLOUDS-296 unasync legacy swift provider. 2014-10-03 23:22:46 -07:00
Adrian Cole
76bd3bea9d JCLOUDS-296 unasync keystone used by swift derivatives and cloudfiles. 2014-10-03 23:19:11 -07:00
Adrian Cole
e55f424167 JCLOUDS-40 unasync atmos. 2014-10-03 22:08:05 -07:00
Adrian Cole
c68078c22d JCLOUDS-150 add SubmissionAsyncBlobStore; unasync s3 and aws-s3 2014-10-03 13:28:20 -07:00
Andrew Phillips
2cbb5e26c0 JCLOUDS-538: Avoiding a VM crash trying to run live tests for Swift
TestNG was throwing up as its reflection was unable to find certain test methods
2014-10-03 10:10:27 -05:00
Adrian Cole
ba04fa043a JCLOUDS-692 Remove the CloudSigma v1 provider. 2014-10-02 10:25:38 -07:00
Evgeny Tarasenko
7682f94ffe Support availability zone in NovaTemplateOptions. 2014-09-24 06:50:27 -07:00
jasdeep-hundal
f510424c43 JCLOUDS-514: Support attaching volumes at boot in Nova 2014-09-18 19:27:46 -07:00
Jeremy Daggett
b9684cd454 JCLOUDS-686: Remove changesSince() query from base PaginationOptions 2014-09-11 09:26:21 -07:00
Jeremy Daggett
885da4ea64 JCLOUDS-296: Deprecate Rackspace First-Gen CloudServers 2014-09-09 18:39:32 -07:00
Jeremy Daggett
c13751cc2f Added assertion for versioned OpenStack extension APIs. Required for the Neutron v2 API. 2014-09-09 15:04:16 -07:00
Jeremy Daggett
6258a4f4ee JCLOUDS-296: Deprecate Rackspace First-Gen CloudServers 2014-09-09 14:52:39 -07:00
Andrew Gaul
f2d897d977 Set Content-MD5 only if ETag has correct format
Previously this check was more lenient than it should have been.
2014-08-28 21:51:51 -07:00
Andrew Gaul
e7c398321a JCLOUDS-679: Use HEAD for S3 bucketExists
This method costs 0.4 cents per 10,000 requests instead of 0.5 cents
per 1,000 requests:

http://aws.amazon.com/s3/pricing/

API reference:

http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketHEAD.html
2014-08-20 12:46:05 -07:00
Ignasi Barrera
e0a6df1544 JCLOUDS-496: Use the security groups options in the portable TemplateOptions 2014-08-12 13:35:10 -04:00
Andrew Phillips
c1ddc74aae [maven-release-plugin] prepare for next development iteration 2014-07-29 16:50:39 -04:00
Andrew Phillips
1cc7fab483 [maven-release-plugin] prepare release jclouds-1.8.0-rc1 2014-07-29 16:50:31 -04:00
Ignasi Barrera
8cb2cb449b Revert "Move jclouds-chef to the main jclouds repo"
This change will be added again after the 1.8.0 release.

This reverts commit 867c7a407c1db8f56ff3211d70481755cf71440f.
2014-07-29 00:38:46 +02:00
Ignasi Barrera
867c7a407c Move jclouds-chef to the main jclouds repo 2014-07-28 21:08:54 +02:00
Andrew Phillips
eba727fef7 'iso8601DateParseWithOptionalTZ' -> 'iso8601DateOrSecondsDateParse' in DateService
Follow-up to d57bbebe
2014-07-28 12:20:49 -04:00
Shri Javadekar
d57bbebe7e Try iso8601SecondsDateParse if iso8601DateParse fails.
S3 compatible blobStores sometimes return date in the format:
"2014-07-23T20:53:17+0000" instead of the more common
"2014-07-23T18:09:39.944Z". This caused jclouds to barf with an
IllegalArgumentException.

This commit tries to parse both the formats for S3. The exception
is thrown if both fail.

Added unit tests for the same.
2014-07-26 22:19:54 -07:00
Andrew Gaul
9677ed18eb Remove loop to gather metrics
This loop dramatically increases integration test run-time for no
discernible benefit.
2014-07-26 11:08:16 -07:00
Andrew Gaul
1e1eb5a092 Add deleteContainerIfEmpty to BlobStore
This matches how most blobstores operate: delete container is a single
operation, not a compound operation which recursively deletes blobs.
Azure is the only provider which allows deleting a non-empty
container.
2014-07-25 23:02:39 -07:00
Andrew Gaul
10262df81c Add symbolic error codes for Atmos 2014-07-24 16:30:42 -07:00
Andrew Gaul
5c8bdcdfbb Remove ByteSources.asByteSource
This method breaks the contract of ByteSource which specifies that
openStream can produce multiple independent streams.
2014-07-24 13:02:13 -07:00
Andrew Phillips
365ac21f1e Addressing a Checkstyle violation 2014-07-22 13:35:43 -04:00
Andrew Gaul
d1bd551edf Add support for filesystem last modified 2014-07-21 12:25:04 -07:00
Jeremy Daggett
0d77d8c2b1 JCLOUDS-554: Update Nova default API to v2 2014-07-21 10:50:46 -07:00
Andrew Gaul
f17c876d8d Replace const.txt file input with synthetic inputs
This commit replaces file resource-based test inputs with in-memory
equivalents.  This is more consistent and efficient than the previous
approach.  Also resized some test inputs to be partSize + 1 instead of
2 * partSize.  Tested against aws-s3, blobstore, core, cloudfiles-us,
and filesystem.
2014-07-19 18:35:25 -07:00
Andrew Gaul
370194b2be Enable more filesystem integration tests
Other tests will require Java 7 xattr support.
2014-07-19 12:17:23 -07:00
Andrew Gaul
dd3dc9790e Close streams in integration tests
Also remove bogus delete workaround.  Previously unclosed
FileInputStream caused test failures on Windows which cannot delete
open files.  Found with Kohsuke's file-leak-detector.
2014-07-19 05:25:20 -07:00
Aled Sage
1fb286809e JCLOUDS-549: Fix NPE in LoginCredentials.toString
- also deprecates LoginCredentails.get(Password|PrivateKey)
- use getOptionalPassword and getOptionalPrivateKey instead
2014-07-18 14:09:18 +01:00
Andrew Gaul
fb60d76704 JCLOUDS-622: Remove most vestiges of InputSupplier
Guava 16 deprecated InputSupplier and a future release will remove it.
2014-07-16 16:07:59 -07:00
Jeremy Daggett
1a3ad75efd JCLOUDS-40: Unasync Rackspace Cloud Identity 2014-07-16 08:47:39 -07:00
Andrew Gaul
09cf57101d Reduce Swift integration test input size
Previously testMultipartChunkedFilenames uploaded 55 MB and now it
uploads 5 MB.
2014-07-15 18:21:42 -07:00
Andrew Gaul
86de7923a1 Improve use of ByteSource 2014-07-15 18:21:42 -07:00
Jeremy Daggett
801aecafea JCLOUDS-40: Unasync OpenStack Nova API 2014-07-15 14:29:09 -07:00
Andrew Gaul
a8b106c2bb JCLOUDS-622: remove calls to InputSupplier methods
Guava 16 deprecated these methods and Guava 18 will remove them.
2014-07-15 03:09:58 -07:00
Andrew Gaul
f4eca0422d Enforce correct MD5 for local blobstores
Matches behavior of real blobstores.
2014-07-10 22:19:42 -07:00