Commit Graph

8074 Commits

Author SHA1 Message Date
Andrew Bayer b72f440a62 Allow skipping duplicate-finder-plugin by setting skipDuplicateFinder property to true 2013-07-17 12:44:16 -07:00
Andrew Phillips 2ebde8c556 Follow-up to Azureblob cleanup
See discussion at https://github.com/jclouds/jclouds/pull/66
2013-07-17 10:35:24 -07:00
John Kew a6f6f04d75 Cleanup of Azureblob code; as per pull request review. Additional items
not covered here are assigned specific bug ids.
2013-07-17 10:35:18 -07:00
John Kew 3a734b897c JCLOUDS-161: large blob support for Azure
Large blob support for AzureClient; the next step of this is to
support PutOptions.multipart and digest a blob into 4M parts. This
just implements the Azure interaction.
2013-07-17 10:35:13 -07:00
Andrew Gaul 6c8679af66 Expect exception from FilePayload.getInput
Previously the constructor threw this.  Fixes regression from ac58a70.
2013-07-16 08:29:02 -07:00
Andrew Gaul 859eaca9fd Do not eagerly check for existence in FilePayload
This is a TOCTOU violation and FilePayload.getInput already propagates
this.  This commit allows external callers like jclouds-cli to
introspect on the exception type, returning a more friendly error
message in some situations.
2013-07-15 23:34:33 -07:00
Diwaker Gupta 76e5e80e5b Introduce StripExpectHeader filter and a property to control it.
Some providers (specifically HP Cloud and Google Cloud Storage) do not
properly support Expect: 100-continue headers. JDK7 is stricter in its
handling of the Expect header than JDK6 -- in particular, it expects
servers to properly respond to an expect header and times out only if a
prior timeout did not exist on the underlying HTTP connection. As a
result, JDK7 tests against these providers hang and fail.

This commit introduces a new filter -- appropriate called
StripExpectHeader -- that is controlled by the property
jclouds.strip-expect-header. The property defaults to false to preserve
existing behavior but allows applications to tweak Expect header
handling.

Tested by running HPCS live tests with JDK7 -- previously most of these
tests would fail with timeouts.

Closes JCLOUDS-181
2013-07-11 15:13:11 -07:00
zack-shoylev 5b9419a499 Upgrade to gson 2.2.4
https://issues.apache.org/jira/browse/JCLOUDS-117
2013-07-11 13:54:52 -07:00
Andrew Gaul b31bda2005 Set provider id in AtmosClientLiveTest
This allows Atmos live tests to run.
2013-07-10 22:14:42 -07:00
Andrew Gaul ced5abdd77 Add Swift-specific MD5 checksum header
Tested against cloudfiles-us, hpcloud-objectstorage, and
swift-keystone.  Reference for ETag:

https://answers.launchpad.net/swift/+question/157064
2013-07-09 21:56:11 -07:00
Zack Shoylev 7b0cd9be43 A 401 error should result in re-authenticating for a new token 2013-07-09 14:15:16 -07:00
Andrew Bayer 35a44243a7 JCLOUDS-151. Deprecate CloudStack *Client classes, add dummy *Api classes. 2013-07-02 14:38:25 -07:00
Andrew Bayer 264d47e3ce JCLOUDS-150. Deprecate EC2 *Client, add dummy *Api classes. 2013-07-02 09:06:57 -07:00
zack-shoylev 3731f812cb Fixes testCreateAndRunAService by fixing the outdated jetty URL 2013-07-01 19:48:05 -05:00
zack-shoylev 162379aae0 Ensure rackspace cloudidentity live tests pass where applicable
Disables incompatible keystone tests
2013-07-01 19:43:44 -05:00
Andrew Bayer 56a5d2dc35 JCLOUDS-138. Add CloudStackImageExtension support. 2013-06-26 13:24:56 -07:00
Andrew Bayer 746dc2ed14 Cleaning up changes from JCLOUDS-106 2013-06-24 13:02:24 -07:00
Andrew Bayer 091881ab20 JCLOUDS-105 - fixing CloudStack logic for case where password is not enabled *and* no keypair is specified 2013-06-23 16:19:08 -07:00
Andrew Bayer ca369df7cc JCLOUDS-106. Add proper support for generation/detection of keypair/security groups to CloudStack. 2013-06-23 13:02:39 -07:00
Andrew Phillips 6f53e2b70b JCLOUDS-124: Missing ^:dynamic in Clojure blobstore example
Submitted by Trevor Wennblom
2013-06-21 12:27:08 +00:00
Andrew Phillips e06222bbab JCLOUDS-123: Using Clojure core incubator-specific nilsafe in AMI service binding
Submitted by Trevor Wennblom
2013-06-21 12:26:11 +00:00
Everett Toews 00b4376c6c Added the SYD zone to Rackspace providers. 2013-06-20 16:47:08 -05:00
Andrew Gaul 1209f252ad Deprecate Strings2.replaceAll
Removed in 1.7.0.
2013-06-20 11:45:10 -07:00
Andrew Bayer 7ac0d3729b JCLOUDS-99. Enable use of Iterable<IpPermission> for aws-ec2
- Added AWSEC2CreateSecurityGroupIfNeeded, using
AWSSecurityGroupClient's ability to call
authorizeSecurityGroupInRegion with Iterable<IpPermission>

- Added a utility method,
ComputeServiceUtils.getPortRangesInList(int... ports), to get pairs of
start/end ports covering all ranges in a list of ports. Used above.
2013-06-19 14:05:56 -07:00
Andrew Bayer 8d4e88ad98 JCLOUDS-100. Add AWSServerErrorRetryHandler, with an increased back
off time.
2013-06-19 14:03:56 -07:00
Andrew Bayer 1a130bffa2 [maven-release-plugin] prepare for next development iteration 2013-06-19 13:24:39 -07:00
Andrew Bayer 06bef76ca8 Cleaning up lurking copyright issues/NOTICE txt 2013-06-16 19:37:32 -07:00
Andrew Bayer 079f9f0bcc [maven-release-plugin] prepare release jclouds-1.6.1-incubating-rc3 2013-06-12 17:12:14 -07:00
Andrew Bayer 7c4196dc09 Revert "[maven-release-plugin] prepare release jclouds-1.6.1-incubating-rc2"
This reverts commit 5c18b6a1b4.
2013-06-12 16:49:34 -07:00
Andrew Bayer b5de0e6b8c Adding DEPENDENCIES to rat exclude 2013-06-11 09:24:19 -07:00
Andrew Bayer a02218e212 Add license headers to src/test/resources where possible, more fine-grained RAT exclusions 2013-06-10 11:45:58 -07:00
Andrew Bayer 5c18b6a1b4 [maven-release-plugin] prepare release jclouds-1.6.1-incubating-rc2 2013-05-31 14:11:50 -07:00
Andrew Bayer 7828eef359 Revert "[maven-release-plugin] prepare release jclouds-1.6.1-incubating-rc1"
This reverts commit 57718280be.
2013-05-31 13:48:27 -07:00
Andrew Bayer f615eb11a3 JCLOUDS-105. Short-term fix for keypairs being ignored if VM says it's password-enabled. 2013-05-31 12:57:16 -07:00
Andrew Bayer af0d1d3009 Rename top-level artifact properly 2013-05-31 10:02:49 -07:00
Andrew Bayer c9af43757a Use default Apache remote resources 2013-05-31 09:43:21 -07:00
Andrew Bayer 57718280be [maven-release-plugin] prepare release jclouds-1.6.1-incubating-rc1 2013-05-30 11:20:44 -07:00
Andrew Bayer 1561e23314 Needed to update resources POM as well for remote resources to work right 2013-05-29 16:58:26 -07:00
Andrew Bayer a54166bb0d Switch maven-remote-resources-plugin execution to default ID to override apache POM remote resources bundle 2013-05-29 16:39:57 -07:00
Andrew Bayer 3a11a5ac71 Fixing NOTICE.txt 2013-05-28 11:37:04 -07:00
Andrew Bayer 755a47f1d6 Tweaking release plugin config 2013-05-28 10:58:32 -07:00
Andrew Phillips 5344ed482e Move license header after opening <?xml... in Checkstyle config 2013-05-24 17:11:58 -04:00
Andrew Bayer b2f96a67cf JCLOUDS-31. License header cleanup 2013-05-24 11:41:25 -07:00
Andrew Bayer 4e1ca1f014 JCLOUDS-66. Update Maven project metadata for ASF. 2013-05-23 12:55:48 -07:00
Everett Toews a86df9bb88 JCLOUDS-78: Fix record pagination problem. Backfill tests. 2013-05-23 11:57:13 -06:00
Andrew Phillips a3eea35e53 JCLOUDS-75: Support '-incubating' release versions 2013-05-22 11:31:52 +02:00
Andrew Bayer 5adc0b963e JCLOUDS-80. Inherit apache-rat plugin config. 2013-05-21 16:57:22 -04:00
Ioannis Canellos 14bdcf5087 Add @Inject to the Compute class. 2013-05-21 21:34:33 +03:00
Ignasi Barrera 9ce7bc9e80 JCLOUDS-67: Filtered license headers from script fragments 2013-05-20 11:24:34 +02:00
adriancole dd863238ac Revert "[JCLOUDS-43] add TransactionApi and tests to ultradns-ws provider"
This reverts commit b021d743fd.
2013-05-17 15:11:25 -07:00