Commit Graph

7068 Commits

Author SHA1 Message Date
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
Adrian Cole 0394afe23f Issue 671: NPE on aws-ec2 w/vpc security groups 2012-10-08 15:41:50 -04:00
Everett Toews 6a509aca3e Made the polling period between updates for servers and images configurable when using the ComputeService. 2012-10-05 11:38:32 -07:00
Adrian Cole 9e3b673dab override-login-privateKey should be :override-login-private-key 2012-10-04 10:28:33 -07:00
Adrian Cole 8deacf86bc corrected api metadata and backfilled expect tests for hpcloud rackspace and trystack nova implementations 2012-09-29 19:02:28 -07:00
Adrian Cole de9185ff01 refactored openstack-nova expect tests so that they don't mask zone ids from subclasses 2012-09-29 19:02:27 -07:00
Adrian Cole 1f4e22c6c9 reveal underlying exception that causes a guice provider to fail 2012-09-29 14:05:11 -07:00
Adrian Cole 3695c34bd4 cleanup and example of overriding nova api version 2012-09-29 14:05:10 -07:00
Andrew Gaul 554d6cfd24 Handle InputStreamPayload in filesystem putBlob
We must save input to subsequently calculate its MD5.  Also tidy up
testWritePayloadOnFile.  Closes #1093.  Test case written by Tom
Manning.
2012-09-29 12:42:58 -07:00
Adrian Cole 269915ce31 [maven-release-plugin] prepare for next development iteration 2012-09-27 11:00:25 -07:00
Adrian Cole e8fc6ae324 [maven-release-plugin] prepare release jclouds-1.5.1 2012-09-27 11:00:24 -07:00
Adrian Cole 43381f6c4d Issue 1092: fix hostname when path-based buckets are used in non-default location 2012-09-26 13:15:07 -07:00
Adrian Cole 8891aa8b27 Merge pull request #852 from abiquo/fix-version-1.5
Remove SNAPSHOT deps and pom cleanup
2012-09-25 09:53:45 -07:00