Commit Graph

8092 Commits

Author SHA1 Message Date
Andrew Phillips 0554c6f824 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit df6844474c.
2013-08-05 20:38:20 -04:00
Andrew Phillips df6844474c [maven-release-plugin] prepare for next development iteration 2013-08-02 11:59:22 -04:00
Andrew Phillips 61baf2ada2 [maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc0 2013-08-02 11:59:16 -04:00
Zack Shoylev 8688d8e0c3 When creating a server, allow attaching server to custom network
https://issues.apache.org/jira/browse/JCLOUDS-202
2013-08-01 21:58:10 -05:00
Andrew Bayer 24466fdaab Deprecating async/client classes for a number of apis/providers
Also added dummy *Api classes for classes that'll be renamed from
*Client->*Api in 1.7.0.
2013-08-01 17:58:26 -07:00
Andrew Bayer 0cbcc7d642 JCLOUDS-221. Add availabilityZone to spot price history. 2013-08-01 17:53:23 -07:00
Andrew Bayer e25a0843d4 JCLOUDS-220. Adding projectId to a bunch of CloudStack API options 2013-08-01 17:16:15 -07:00
Andrew Phillips d009a5ae5d JCLOUDS-155: Making header handling in OpenStack case-insensitive
Submitted by Rodney Beede
2013-08-01 19:11:33 -04:00
Everett Toews d9e5ba15bf Support Disk Configuration Extension in NovaTemplateOptions 2013-08-01 16:50:43 -05:00
Everett Toews 01f118b4ef Support Disk Configuration Extension 2013-08-01 16:50:43 -05:00
Andrew Gaul a83564af79 Update URL for commons-logging-1.1.1-bin.tar.gz
This allows testCopyUrl to succeed against blobstore integration
tests.
2013-08-01 10:36:24 -07:00
Diwaker Gupta 89af1466a8 URL encode string to sign.
As recommended at
http://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html:

"You can also send a signature as a URL-encoded query-string parameter
in the URL for the request."

Also deals with some of the craziness of URL encoding/decoding in
jclouds.

References JCLOUDS-200
2013-07-31 16:33:18 -07:00
Andrew Phillips e11cc87cfa JCLOUDS-200: Consolidate all feature-specific in the AWS provider
Follow-up to b7d75f79
2013-07-26 15:26:06 -04:00
Diwaker Gupta 4b5b89ae75 Preserve blob metadata for AWS-S3 MPU
Specifically preserve content-type and content-disposition for
multi-part uploads.

Fixes JCLOUDS-204
2013-07-25 09:50:55 -07:00
Diwaker Gupta b7d75f7949 AWS-S3 configurable temporary signed URL support
Introduces AWSS3BlobRequestSigner, which reuses the
RequestAuthorizeSignature filter for most of the heavy lifting.
Other implementation details based on [1].

Tested with AWSS3BlobSignerLiveTest, in particular,
testSign(Get|Put)UrlWithTime.

Closes JCLOUDS-200

[1] http://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html
2013-07-24 15:23:40 -07:00
Ignasi Barrera a06aa07888 JCLOUDS-149: Reuse checkstyle configuration 2013-07-22 22:55:20 +02:00
Andrew Bayer bbe80c1e0b JCLOUDS-199. CloudStack live tests against ACS 4.2 simulator cleanup.
- ACS 4.x doesn't like taking SSH pub keys from the filesystem, so
    generate them on the fly.
- vm.getDisplayName() can be null now.
- Add new possible resource limit types.
- Default to looking template=osFamily=CENTOS, since that's the only
    template guaranteed to be there in the simulator.
- Use adminJobComplete instead of jobComplete in admin tests
- Accept capacity/usage/etc of 0.
- Premium configuration category not present in ACS.
- Sleep a bit between deleting a domain and verifying it's not there
    any more. Also expect an IllegalStateException.
- Given that there are issues deleting zones at the moment (through
    the UI, too), use a different zone for pod and zone tests.

Still failing tests:
- pretty much everything that creates a VM and expects to log into it,
    but that's simulator-specific.
- Zone deletion, due to a bug in ACS, apparently.
- Registering and creating templates
- creating volumes from snapshots, and attaching volumes
2013-07-22 13:15:50 -07:00
Andrew Bayer 4ffff04651 JCLOUDS-195. Add egress firewall rules for CloudStack in 1.6.x 2013-07-21 13:37:20 -07:00
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