Commit Graph

7230 Commits

Author SHA1 Message Date
Adrian Cole 3cc2a25292 Merge branch '1.5.x' of https://github.com/jclouds/jclouds into 1.5.x 2012-11-13 18:58:08 -08:00
Adrian Cole 15deefa6f3 Merge pull request #993 from andrewgaul/honor-request-timeout-1.5.x
Honor PROPERTY_REQUEST_TIMEOUT in clearContainer
2012-11-13 18:54:42 -08:00
Jeremy Daggett 2ae59f58e8 Converted snake case in parameters 2012-11-13 18:22:26 -08:00
Jeremy Daggett 636f7e4dbe Added CDNSslUri to CDNContainer class, updated json and unit tests 2012-11-13 18:22:15 -08:00
Adrian Cole 349961af80 missing version 2012-11-13 18:19:10 -08:00
Andrew Gaul 42b61197a6 Honor PROPERTY_REQUEST_TIMEOUT in clearContainer 2012-11-13 18:07:25 -08:00
Everett Toews 0787201502 Added Cinder service to Keystone test service catalog repsonses. 2012-11-13 18:01:08 -08:00
Everett Toews f63009dacb Moved openstack-cinder and rackspace-cloudblockstorage-us/uk out of labs.
Updated pom.xml files for the move.
2012-11-13 17:47:49 -08:00
Everett Toews d0ebcd415c Added awaitDeleted() to VolumePredicates and SnapshotPredicates. Improved Volume.forId(). 2012-11-13 17:06:02 -08:00
Everett Toews 6da3f392c8 Added Predicates for handling Volume and Snapshot Status. Improved some comments. 2012-11-13 17:05:52 -08:00
Everett Toews fa3d5040da Rackspace Cloud Block Storage providers for the OpenStack Cinder API. 2012-11-13 17:05:25 -08:00
Everett Toews a25bd376f6 Added support for the OpenStack Folsom Cinder Block Storage API. 2012-11-13 17:03:56 -08:00
Andrew Gaul 24b77b00b5 Merge pull request #942 from andrewgaul/clear-container-cancel-futures-1.5.x
Cancel Futures in clearContainer
2012-11-13 14:30:14 -08:00
Adrian Cole caa8fdee20 Issue 1121: Don't generate SecurityGroup when user specifies NovaTemplateOptions.securityGroupNames 2012-11-13 10:11:33 -08:00
Adrian Cole a7f39f5acd Issue 1123: add new Asia Pacific (Sydney) Region [ap-southeast-2] 2012-11-13 10:09:55 -08:00
Adrian Cole 4ad9660596 updated aws template test 2012-11-13 08:44:48 -08:00
Adrian Cole 5c12a4fabb javadoc fixes for TagApi 2012-11-13 08:07:24 -08:00
Ioannis Canellos 19b3400f14 MetadataBundleListener now works with multiple providers/apis per bundle. Added a class assignable check in MetadataBundleListener. Added unit test for MetadataBundleListener. Fixed spelling and formatting of MetadataBundleListener and MetadataBundleListenerTest. 2012-11-13 12:24:55 +02:00
Adrian Cole c98f7d7b72 Issue 1110: replace TagClient with TagApi in aws-ec2 2012-11-12 19:17:52 -08:00
Adrian Cole 36adaa8c96 carve out EC2Api/EC2AsyncApi for new features 2012-11-12 18:11:38 -08:00
Adrian Cole 0838276f21 added ability to test if an api is available based on apiVersion 2012-11-12 17:23:53 -08:00
Adrian Cole 5f6c3e992a improved javadoc including where to look for alternative syntax 2012-11-07 12:44:07 -03:00
Everett Toews a0b50ca5a9 Moved the Volume Attachment stuff into its own API to make it totally clear to users that this is the API to use for attaching volumes. 2012-11-07 11:47:09 -03:00
Adrian Cole a36e6c750f renamed syntax of base64 url-safe to be consistent with guava 14 + fixed bad import from prior PR 2012-11-07 11:11:50 -03:00
Adrian Cole 96b7231b25 refactored cloudstack expect tests and added CloudStackComputeServiceAdapterExpectTest 2012-11-05 11:29:30 -03:00
Adrian Cole 691152c3d8 Merge pull request #958 from jclouds/apply-java-7-fix-to-1.5.x
Implement Comparable in GoGrid ErrorResponse
2012-11-04 17:24:24 -08:00
Adrian Cole a551d912c4 Issue 1120: support base64 encode/decode for url applications 2012-11-04 18:48:44 -06:00
Adrian Cole 312420a761 make tests that decode credentials use valid base64 encoded strings 2012-11-04 18:39:29 -06:00
Andrew Gaul 67b3f78838 Implement Comparable in GoGrid ErrorResponse
Gson collects errors in a TreeMap which requires a well-behaved
Comparable method.  This addresses a Java 7 GoGrid failure seen in
GridServerClientExpectTest.testGetServerCredentialsWhenNotFoundThrowsResourceNotFoundExceptionWithNiceMessage:

java.lang.ClassCastException: org.jclouds.gogrid.domain.internal.ErrorResponse cannot be cast to java.lang.Comparable
2012-11-04 19:00:36 -05:00
Andrew Gaul acd256f9f1 Cancel Futures in clearContainer
This prevents Futures from hanging around on exceptional code paths like
interrupts and timeouts.
2012-11-02 10:10:03 -07:00
Adrian Cole e7354c6f4a Merge pull request #933 from andrewgaul/clear-container-timeout-exception-1.5.x
Throw TimeoutException from awaitCompletion
2012-11-02 09:56:29 -07:00
Andrew Gaul d58acbacae Throw TimeoutException from awaitCompletion
This is a common error that callers should interpret correctly.  For
DeleteAllKeysInList, we integrate into its retry and backoff logic,
and for other callers, we continue to propagate RuntimeException.
2012-10-30 09:15:00 -07:00
Adrian Cole 2beb5cf7f7 Merge pull request #929 from andrewgaul/hpcloud-clearcontainer-1.5.x
Work around failed CDN metadata lookups with HPCS
2012-10-29 21:02:36 -07:00
Andrew Gaul 0b2902c5e0 Work around failed CDN metadata lookups with HPCS
Previously BlobStore.list and thus BlobStore.clearContainer serialized
on synchronous and failed CDN lookups.  This effectively prevents
clearing any large container.  We cache a negative entry to work
around this.  When HP improves their CDN support we should remove this
workaround.
2012-10-29 17:20:19 -07:00
Everett Toews f58442eea1 Added rackspace-cloudservers-uk to allcompute. 2012-10-25 19:59:35 +03:00
Andrew Gaul 41c7f82f3c Fix compile error regression from a5c56e7 2012-10-15 15:17:30 -07:00
Andrew Gaul 87821b33c6 Remove X-Auth-Token from HP temporary signing
HP Cloud does not use X-Auth-Token for temporary signed URLs and
leaking this allows clients arbitrary privileges until token timeout.
2012-10-15 13:19:07 -07:00
Adrian Cole aa8ff8e7ef [maven-release-plugin] prepare for next development iteration 2012-10-11 11:23:44 +02:00
Adrian Cole 5deb0ca54a [maven-release-plugin] prepare release jclouds-1.5.2 2012-10-11 11:23:43 +02:00
Andrew Gaul adcde09347 Prefer Files.toString over FileInputStream 2012-10-11 11:06:06 +02:00
Andrew Gaul 5dc495a2bf Retry each operation up to maxErrors times
Previously we only allowed maxErrors per directory, which tended to
fail with large directories.  Also rename counter to something more
intuitive.
2012-10-11 11:04:23 +02:00
Andrew Gaul 4b146dfff6 Support HP Cloud temporary signed URL
HP modified the Swift signing mechanism to include the tenant id.
Note that this functionality requires using API access key
credentials.  Live tests need some sorting out since we only support
password credential tests today.
2012-10-11 11:02:21 +02:00
Adrian Cole c1e63bb360 corrected guice bindings for swift-based blob signatures and backfilled expect tests 2012-10-10 13:07:10 +02:00
Andrew Bayer d2f7efcda9 Fixing CloudStack TemplateFilter enum to work with 3.x API properly 2012-10-10 12:18:54 +02:00
Adrian Cole be40ff5e47 fixed context builder when params in properties 2012-10-09 11:55:29 +02:00
Ioannis Canellos c086231b56 Added javadoc description for name property. Cleaned up code in ContextBuilder 2012-10-09 11:54:42 +02:00
Ioannis Canellos 420264cf73 Added name property to Context. 2012-10-09 11:54:41 +02:00
Adrian Cole 108cd55676 Merge pull request #888 from andreisavu/issue-973-1.5.x
Issue 973. Performance problems with Synaptic's Atmos service
2012-10-09 02:47:36 -07:00
Andrei Savu a3d421442a Issue 973. Performance problems with Synaptic's Atmos service and writing new blobs 2012-10-09 02:14:55 +03:00
Adrian Cole b34c253392 added id to endpoint and used only endpoint.versionId to enforce endpointVersion 2012-10-08 15:59:29 -04:00