Commit Graph

7102 Commits

Author SHA1 Message Date
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
Ignasi Barrera 566afe46e8 Removed SNAPSHOT dependencies
Removed SNAPSHOT dependencies and licensed all abiquo dependencies under
the ASL 2.0 license.
2012-09-25 17:13:27 +02:00
Ignasi Barrera 2db4e38e96 Removed jenkins profile 2012-09-25 17:13:20 +02:00
Adrian Cole 5e14792016 corrected equals/hashCode as map builder doesn't honor that 2012-09-23 14:34:57 -07:00
Adrian Cole 737af9d355 added SQS utility for fetching all messages 2012-09-21 17:33:22 -07:00
Adrian Cole 7595718408 added advancing iterable 2012-09-21 17:33:14 -07:00
Adrian Cole 4852c13fa0 added get queue by name for SQS 2012-09-20 15:32:29 -07:00
Adrian Cole c9baf20082 removed static field-based state sharing when looking up delegate methods 2012-09-20 15:32:21 -07:00
Adrian Cole f00a4284c9 Merge pull request #850 from andrewgaul/delete-container-1.5.x-backports
Delete container 1.5.x backports
2012-09-20 12:09:39 -07:00
Andrew Gaul a70ba3f986 Avoid Futures.getUnchecked in DeleteAllKeysInList
This masks InterruptedException.  We should rework the logic in
execute to unwind the stack on errors; currently we only return from
the leaf method.
2012-09-20 11:07:08 -07:00
Andrew Gaul b68001e085 Fix deleteAndVerifyContainerGone return value
Return true if the container does not exist -- this matches the
behavior of Atmos and Swift.  This allows deleteAndEnsurePathGone to
terminate correctly with S3.
2012-09-20 11:06:42 -07:00
Andrew Gaul b1c688b079 Merge pull request #848 from everett-toews/cloudfiles-increase-container-count
Increased container count for cloudfiles tests.
2012-09-20 10:58:40 -07:00
Everett Toews edfbfc61a5 Increased container count for cloudfiles tests so tests have enough containers to test against. 2012-09-20 17:56:43 +00:00
Adrian Cole 82f28c1800 [maven-release-plugin] prepare for next development iteration 2012-09-17 00:25:49 -07:00
Adrian Cole 93ac6cdf0f [maven-release-plugin] prepare release jclouds-1.5.0 2012-09-17 00:25:44 -07:00
Adrian Cole f831549341 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds:
  fixed pom typo in sqs
2012-09-17 00:07:11 -07:00
Adrian Cole 5860d2500b fixed pom typo in sqs 2012-09-17 00:06:35 -07:00