Commit Graph

8164 Commits

Author SHA1 Message Date
Ignasi Barrera 888d365fb4 JCLOUDS-431: Added m3.medium and m3.large instance types to EC2 2014-02-27 15:10:28 -08:00
Andrew Bayer 845fdb526a JCLOUDS-412. Add the new i2.* instance sizes 2014-02-27 15:10:17 -08:00
Andrew Phillips 9fbe68ef93 JCLOUDS-452: Adding bcpkix to the jclouds-sshj driver. Required by sshj.
Thanks to Andrea Turli and Ignasi Barrera for research and testing!
2014-02-05 17:04:10 +00:00
Andrew Phillips c56d7ad8cd JCLOUDS-440: Upgrading Bouncy Castle to 1.49 (1.50 has issues with OSGi)
Artifact ID has also changed: bcprov-jdk16 -> bcprov-ext-jdk15on
2014-01-29 21:00:55 -05:00
Ioannis Canellos af6b561cd7 [JCLOUDS-439] Fix osgi metadata on jclouds-sts. 2014-01-29 15:48:05 +02:00
Andrew Phillips 1b2fb3e10f JCLOUDS-427: Avoiding Guava reflection code broken in Java 7u51
Backport of 8ff60020f

- Adding a version of TypeToken.where that replaces two parameters in one go
- Avoiding TypeToken type parameter replacement with wildcard bounds

Works around https://code.google.com/p/guava-libraries/issues/detail?id=1635

All reflection magic now :-(
2014-01-27 14:13:26 -05:00
Ignasi Barrera e86462d499 Properly set the request method in HTTPS connections 2013-12-12 21:58:49 +01:00
Andrew Gaul 7dc52f52ea [maven-release-plugin] prepare for next development iteration 2013-11-26 14:45:31 -08:00
Andrew Gaul c7058cb2ce [maven-release-plugin] prepare release jclouds-1.6.3-rc2 2013-11-26 14:45:30 -08:00
Andrew Gaul 5119592e11 Remove more incubator references
Fixes JCLOUDS-388.
2013-11-21 12:51:29 -08:00
Andrew Phillips 4b997d5dd5 JCLOUDS-387: Removing DISCLAIMER file now that jclouds has graduated 2013-11-21 12:51:29 -08:00
Andrew Gaul b37941e1aa Upgrade to maven-duplicate-finder-plugin 1.0.5
This adds a cache which accelerates mvn install:

1.0.3:

real    3m4.419s
user    3m29.749s
sys     0m48.495s

1.0.5:

real    1m48.533s
user    2m22.457s
sys     0m46.331s
2013-11-16 19:20:49 -08:00
Andrew Bayer d199db312b JCLOUDS-383. Adding c3 instance sizes. 2013-11-15 10:15:22 -08:00
Alex Heneveld 8967fb7a69 JCLOUDS-331 - support specifying an imageChooser function in TemplateBuilder
Includes fix in ca8289b contributed by Martin Harris
2013-11-15 01:59:38 +00:00
Andrea Turli 844819d8b7 JCLOUDS-373: Change parent of SoftLayerOrderItemDuplicateException to HttpResponseException
- SoftLayerOrderItemDuplicateException extends HttpResponseException as it is a propagated exception by jclouds
2013-11-14 12:51:25 +01:00
Ignacio Mulas d8ce79cecf JCLOUDS-376: PATCH HTTP request implementation 2013-11-13 11:07:37 +01:00
Andrea Turli 6e78115295 JCLOUDS-373: Fix VirtualGuestToNodeMetadata when server returns SoftLayer_Exception_Order_Item_Duplicate
* Wrap getOrderTemplate in VirtualGuestToNodeMetadata.getImage with try/catch
* Address comments from @nacx and @demobox:
  - remove the fields of the custom SoftLayerOrderItemDuplicateException and propagate the HttpResponseException
  - use of order = null instead of return null
  - extend RuntimeException instead IllegalStateException in SoftLayerOrderItemDuplicateException
2013-11-12 12:28:15 +01:00
Andrea Turli f278450355 JCLOUDS-213: Fixing SoftLayer support 2013-11-10 12:03:46 -05:00
Andrew Phillips 0298318790 JCLOUDS-352: Drops support for "-incubating" release versions 2013-11-06 22:34:09 -05:00
Andrew Phillips 3b8c38994a Fixing typos in test name 2013-11-06 22:34:03 -05:00
jolly 8eeeffa08b add g2.2xlarge EC2 instance size (JCLOUDS-364) 2013-11-06 12:25:13 -08:00
Zack Shoylev fc9d5be294 JCLOUDS-332 Skips tests broken on windows 2013-10-30 11:20:52 -05:00
Andrew Gaul 44e30f06b7 Address Checkstyle violations 2013-10-22 16:50:24 -07:00
Andrew Phillips 75066730af Move Expect: 100 stripping after asserts against the request
Follow-up to e30f86521
2013-10-19 20:07:45 -07:00
Diwaker Gupta 3399816f83 Return false if container already exists in AWS-S3
AWS-S3 returns the incorrect creation status when a container already
exists in the us-standard (or default) region.  Fixes JCLOUDS-334.
2013-10-17 13:38:23 -07:00
Andrew Gaul ba91165c29 Work around CloudFiles test failures
Java helpfully interprets Expect: 100-continue instead of returning
the response code.  This commit reverts
100afba1d8.
2013-10-17 13:09:08 -07:00
Zack Shoylev 7a977b5eaf Reauthenticate on Keystone HTTP 401 (JCLOUDS-178)
The number of retries here is not the same as for 500 errors; expected
behavior is a quick fail while retaining some robustness.  This fix
should not reintroduce JCLOUDS-231.
2013-10-16 10:34:46 -07:00
Niraj Tolia 6b8ee8b904 [JCLOUD 301]: Make increased use of Invokable params cache
This patch moves the Invokable Parameter cache to Reflection2 and adds
a convenience method for it to allow it to be shared by multiple
callers. The subsequent ability of S3Utils to use this cache results
in a ~40% improvement in performance for generating signed GETs and
PUTs for S3. This commit also converts a few others calls to
Invokable.getParameters() but the observed benefit from those was
small in microbenchmarks.
2013-10-14 17:53:17 -07:00
Andrew Gaul 962003bb0b Skip testCreateBlobWithExpiry for Swift
jclouds does not implement this functionality.  Now all tests pass for
cloudfiles-us.
2013-10-13 20:09:57 -07:00
Andrew Gaul 13e55349a3 Do not set hash to null unnecessarily
This avoids test failures seen in
CommonSwiftClientLiveTest.testObjectOperations.
2013-10-13 19:25:56 -07:00
Andrew Gaul af115a1240 Get container name before creating with metadata 2013-10-12 14:11:04 -07:00
Andrew Gaul 12c23f39f9 Do not call createContainer(getContainerName)
BaseBlobStoreIntegrationTest.getContainerName implicitly calls
createContainer.
2013-10-12 12:39:50 -07:00
Everett Toews 2a041bdf2a Support HKG region for Rackspace providers. 2013-10-10 21:08:53 -05:00
Andrew Gaul 99a01fac1f JCLOUDS-339. Handle zero-length objects in Atmos
Atmos does not return a location header when writing zero-length
objects, which normally throws an HttpResponseException: no uri in
headers or content.
2013-10-08 22:15:02 -07:00
Andrew Gaul 1ee9a61fb5 JCLOUDS-334. Return URI only if container created
This allows us to honor the BlobStore.createContainerInLocation
interface and gives consistency with other providers.
2013-10-08 13:04:29 -07:00
Andrew Gaul f6b502707d Skip failing testCreateBlobWithExpiry on Atmos 2013-10-08 11:45:51 -07:00
Shri Javadekar 313484567b JCLOUDS-334. Return correct status while creating containers in Swift.
BlobStore.createContainerInLocation is supposed to return True if the
container was newly created and False if the container already
existed. This commit makes that happen for Swift blobstores.
2013-10-07 21:49:25 -07:00
Adrian Cole a25a7aa12c JCLOUDS-311. work around mixed versions in hpcloud-objectstorage regions 2013-09-30 15:34:02 -07:00
Niraj Tolia ebd75d36ef [JCLOUDS-302] Remove unnecessary String construction in HttpUtils 2013-09-27 16:16:30 -07:00
Niraj Tolia 82708c98de [JCLOUDS-301] Reduce reflection overhead of Invokable.getParameters()
By caching the results from Invokable.getParameters(), this commit
improves request signing performance (GETs and PUTs) for S3 by >
3X. These performance problems were seen in production and diagnosed
using the YourKit profiler.
2013-09-27 07:50:15 -07:00
Francis Devereux 44e8487230 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-09-21 20:35:04 -07:00
JoshVote d6bb789efb JCLOUDS-277: Made the description in org.jclouds.compute.domain.Image nullable 2013-09-16 16:30:32 +01:00
Aled Sage 8de60eab25 JCLOUDS-282: Add NL to assignable locations for SoftLayer
- zone contained NL, so needed to add it to SoftLayerProviderMetadata's
  iso3166Codes
2013-09-16 16:03:23 +01:00
Aled Sage 4f772c4d22 JCLOUDS-269: Report ram as MB rather than GB for SoftLayer 2013-09-16 11:06:24 +01:00
Andrew Gaul 81c8b7bedc Skip unimplemented test with transient blobstore 2013-09-16 02:53:53 -07:00
Andrew Gaul 82b9704e52 Add Atmos-specific MD5 checksum header
Tested against Atmos Online.
2013-09-11 18:06:27 -07:00
Andrew Gaul 5527fae061 Add test for correct and incorrect contentMD5
Tested against atmos (skipped), aws-s3, azureblob, cloudfiles-us, and
filesystem (skipped).
2013-09-11 16:14:35 -07:00
Andrew Gaul 48a12b0ce3 [JCLOUDS-279] Remove spurious executable bit 2013-09-11 15:55:44 -07:00
Andrew Gaul b4454b6151 Delete containers after integration tests
Also return newly allocated containers to the pool.
2013-09-09 17:02:23 -07:00
Andrew Gaul f6cf6a19b8 Reduce testFileGetParallel input size to ~160 KB
Previously this test downloaded 45 MB in 30 seconds which failed on
slower connections, causing spurious test failures.  The larger input
size provides no benefit.
2013-09-04 19:51:19 -07:00