Commit Graph

1108 Commits

Author SHA1 Message Date
Aled Sage 404870c705 JCLOUDS-269: Report ram as MB rather than GB for SoftLayer 2013-09-16 11:04:32 +01:00
Andrew Gaul 342ae65974 [JCLOUDS-279] Remove spurious executable bit 2013-09-11 15:54:48 -07:00
Andrew Gaul 5b719900a0 [trivial] Remove unused variables 2013-09-09 22:38:41 -07:00
Diwaker Gupta 0930b638e3 Revert "Disable timed temporary signed URLs for AWS-S3"
This reverts commit bc0abbaa07 and
re-enables temp-signed URLs for S3.

Closes JCLOUDS-200
2013-09-09 15:28:31 -07:00
Andrew Gaul d8490f872d Enable some Xlint warnings
Also address a handful of warnings.
2013-09-04 19:45:44 -07:00
Andrew Bayer a61ad06cbf JCLOUDS-166, JCLOUDS-167 - Removing async from vcloud and Terremark APIs/providers 2013-08-29 11:29:14 -07:00
Zack Shoylev 100afba1d8 Skips tests for time signed URLs 2013-08-26 20:35:16 -05:00
Andrew Bayer eabdfe2d92 JCLOUDS-242. Fixing AWSEC2SecurityGroupExtension based on JCLOUDS-242 fix. 2013-08-18 13:53:15 -04:00
Andrew Bayer f7dd08a2a5 JCLOUDS-242. Fix security group creation on aws-ec2
Contributed by Richard Downer.
2013-08-14 11:07:59 -07:00
Everett Toews bf2138089d Support IAD region for Rackspace providers. 2013-08-06 20:54:23 -05:00
Andrew Gaul bc0abbaa07 Disable timed temporary signed URLs for AWS-S3
This functionality uncovered subtleties in URL parameter encoding
which result in random failures integration tests.  References
JCLOUDS-200.
2013-08-06 14:17:00 -07:00
Andrew Gaul 435103eb35 Add live test for JCLOUDS-233 2013-08-06 11:53:48 -07:00
Tom Manville 19f79145fc Handle multiple of MAX_BLOCK_SIZE for Azure MPU
Currently files are not properly uploaded if they are a multiple of
MAX_BLOCK_SIZE.  Fixes JCLOUDS-233.
2013-08-06 11:46:53 -07:00
Diwaker Gupta 96c326d0cd Enable time-bound signed URL tests for HPCS.
HP does, in fact, support configurable temporary signed URLs:
http://docs.hpcloud.com/api/object-storage#temp_url

References JCLOUDS-231
2013-08-05 21:36:42 -07:00
Andrew Bayer 29a5360d71 Fixing API casting for cloudsigma-zrh live test. 2013-08-02 09:55:51 -07:00
Andrew Bayer a14c03ba0b Remove async from glesys 2013-08-02 07:57:42 -07:00
Andrew Bayer d4bf51128e Remove async from gogrid 2013-08-02 07:57:42 -07:00
Andrew Bayer a2af31c419 Removed async from elasticstack 2013-08-02 07:57:41 -07:00
Andrew Bayer 1a6071ab92 Removed async from cloudsigma 2013-08-02 07:57:41 -07:00
Andrew Bayer dae2c67d79 Remove async from softlayer 2013-08-01 18:13:48 -07:00
Andrew Bayer 82fe701c77 JCLOUDS-221. Add availabilityZone to spot price history. 2013-08-01 17:56:16 -07:00
Everett Toews bf723a8649 Support Disk Configuration Extension in NovaTemplateOptions 2013-08-01 16:40:00 -05:00
Diwaker Gupta 675c649cb6 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:32:53 -07:00
Andrew Phillips f6b5b67b5b JCLOUDS-200: Consolidate all feature-specific in the AWS provider
Follow-up to c64c7423
2013-07-26 15:03:12 -04:00
Diwaker Gupta 2409ac1a37 Preserve blob metadata for AWS-S3 MPU
Specifically preserve content-type and content-disposition for
multi-part uploads.

Fixes JCLOUDS-204
2013-07-25 10:31:47 -07:00
Diwaker Gupta c64c7423cd 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:22:45 -07:00
Andrew Phillips c6facc13d6 Follow-up to Azureblob cleanup
See discussion at https://github.com/jclouds/jclouds/pull/66
2013-07-17 10:32:05 -07:00
John Kew 865b910637 Cleanup of Azureblob code; as per pull request review. Additional items
not covered here are assigned specific bug ids.
2013-07-16 18:08:49 -07:00
John Kew 1b2fb8259f 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-10 16:04:51 -07:00
Andrew Gaul c299b8ff61 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:35:17 -07:00
Ignasi Barrera bbfec4a990 JCLOUDS-160: Support tags in EC2 images
Based on the work made by Brock Noland
2013-07-06 10:08:10 +02:00
Andrew Bayer 5f3b8d3fa7 JCLOUDS-150 - Removal of async from AWS - specifically EC2
...and EC2-related elsewhere. Also moved *Client -> *Api, and moved
everything from .../services to .../features, and threw in a bunch of
Optionals to fit the EC2Api approach.

And a very big tip of the hat to nacx for figuring out the generics
stuff my brain just could not handle. =)
2013-07-01 12:12:26 -07:00
Andrew Bayer 5f524ee6c9 JCLOUDS-101 - Add SecurityGroupExtension for compute
- Adds the SecurityGroupExtension to compute, with tests and stub
support.
- Gets everything else to actually build against this.
- Unifies on compute's IpPermission/IpProtocol, eliminating EC2's.
- Converters from EC2/Nova/CloudStack SecurityGroup (and rules, for
the latter two) to the compute SecurityGroup (and rules, etc).
- EC2SecurityGroupExtension and tests.
- AWSEC2SecurityGroupExtension and tests - depends on JCLOUDS-99.
2013-06-26 14:59:01 -07:00
Everett Toews 6249d60b0b Added the SYD zone to Rackspace providers. 2013-06-20 16:38:01 -05:00
Andrew Bayer 82f25150b9 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:07:18 -07:00
Andrew Gaul 1a6be0eb67 Do not repeat array type in initializers 2013-06-18 21:02:50 -07:00
zack-shoylev bcf8e3fe50 Fixes testCreateAndRunAService by fixing the outdated jetty URL 2013-06-17 15:08:00 -05:00
Jeremy Daggett 7651657cfc Remove async interface support from OpenStack Cinder API 2013-06-06 11:08:21 -05:00
Andrew Gaul b3a320e015 Address Checkstyle violations 2013-05-26 21:03:10 -07:00
adriancole d17efa34a1 Revert "[JCLOUDS-43] add TransactionApi and tests to ultradns-ws provider"
This reverts commit b021d743fd.
2013-05-17 15:10:56 -07:00
adriancole 834373354f Revert "[JCLOUDS-43] add scoped transaction support to ultradns-ws"
This reverts commit f88609d1dd.
2013-05-17 15:10:46 -07:00
adriancole ed2f18a1af JCLOUDS-31. updated to ASF headers via mvn com.mycila.maven-license-plugin:maven-license-plugin:format 2013-05-16 21:30:37 -07:00
adriancole f1b8ca1ff2 JCLOUDS-31. manually adjusted license header on checkstyle and terremark xml files 2013-05-16 21:30:32 -07:00
adriancole fa10fc4838 JCLOUDS-31. remove malformed, duplicate, or unnecessary headers 2013-05-16 21:30:32 -07:00
adriancole f88609d1dd [JCLOUDS-43] add scoped transaction support to ultradns-ws 2013-05-15 12:26:09 -07:00
adriancole b021d743fd [JCLOUDS-43] add TransactionApi and tests to ultradns-ws provider 2013-05-15 12:06:05 -07:00
Andrew Bayer 7923009eb5 JCLOUDS-37. Fix RAT violations in incubator-jclouds, master branch 2013-05-13 19:17:50 -07:00
Andrew Bayer 446ac67884 JCLOUDS-30. Switch to 2 space indents for POM files. 2013-05-13 12:04:43 -07:00
Andrew Bayer 259b04ff1c JCLOUDS-16. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos. 2013-05-13 12:04:42 -07:00
adriancole 166118be2c remove stratogen 2013-04-26 20:08:43 -07:00
Adrian Cole 1052370405 Merge pull request #1568 from jclouds/remove-synaptic-storage
removed defunct synaptic-storage provider
2013-04-26 14:41:44 -07:00
adriancole be6e7cc47a removed defunct synaptic-storage provider 2013-04-26 09:31:32 -07:00
Everett Toews 2bbd03939f Removed trystack-nova provider. 2013-04-26 10:54:49 -05:00
Everett Toews 998bfea33e The Rackspace Cloud DNS APIs moved over from labs. 2013-04-24 09:07:31 -05:00
adriancole 592d27f5ef cleaned up style in mock responses that need to consider the port of the current MockWebServer 2013-04-23 11:26:24 -07:00
adriancole 6eaf0830db fix issue #1492: invalidate dynect session on ip mismatch 2013-04-21 22:50:32 -07:00
adriancole 7f6929b623 fixed order of zone and fqdn in dynect 2013-04-18 15:04:22 -07:00
Adrian Cole 85e815a743 Merge pull request #1548 from jclouds/dynect-geo-read
added geo read-only commands to dynect
2013-04-18 08:15:46 -07:00
adriancole 160fa9527b added geo read-only commands to dynect 2013-04-18 07:49:24 -07:00
adriancole 0d4e488a95 added code and tests for geo-based write ops in ultradns 2013-04-17 22:09:04 -07:00
Andrew Gaul fff2fa6e05 Address Checkstyle violations
This commit requires temporarily disabling some checks.
2013-04-17 16:21:21 -07:00
adriancole 8773cda5c7 cleanup naming convention differences across ultradns apis 2013-04-16 11:47:41 -07:00
adriancole 8c18f3ba1b converted RegionToTerritories to a multimap and normalized use of IdAndName 2013-04-15 11:05:11 -07:00
adriancole a8ca5466ef corrected argument order on DirectionalRecordDetail of ultradns 2013-04-13 17:50:50 -07:00
Andrew Gaul 04fad88fd3 Remove duplicate Utils getters
Rename callers as required.
2013-04-12 16:24:37 -07:00
adriancole dd11ab1d0e fixed toString on ultra domain objects 2013-04-10 11:43:07 -07:00
adriancole 4130db4f43 added ability to read directional groups in ultradns 2013-04-10 11:43:04 -07:00
adriancole ec439c65b7 added ability to read directional pools and records in ultradns 2013-04-10 11:43:03 -07:00
adriancole 0abfaf5184 added ability to read the regions available in ultradns 2013-04-10 11:43:03 -07:00
adriancole 5bc0678a1c naming convention and warning feedback from issue #1511 2013-04-10 08:13:13 -07:00
Adrian Cole 3c34aeb112 Merge pull request #1514 from jclouds/use-more-constants
use more constants in tests
2013-04-09 23:33:01 -07:00
adriancole 2e64f3e156 removed async api from ultradns-ws 2013-04-09 22:59:29 -07:00
adriancole 7e0c4cfb00 removed async api from dynect 2013-04-09 22:35:05 -07:00
adriancole d1af582ed0 removed async api from cloudloadbalancers 2013-04-09 22:07:55 -07:00
adriancole 6afb0dc6b9 quarantined openstack api and providers that still use async code 2013-04-09 22:07:55 -07:00
adriancole 61067d3683 Deprecated remaining code related to RestContext, RestApiMetadata, and RestClientModule for ApiContext, HttpApiMetadata, HttpApiModule 2013-04-09 22:07:43 -07:00
adriancole 2855cacc6d use more constants in ultradns-ws tests 2013-04-09 21:34:23 -07:00
adriancole e22be464d0 use more constants in dynect tests 2013-04-09 20:37:07 -07:00
adriancole f56da43db1 deprecated blobstore interfaces that imply complex internal code 2013-04-09 14:37:34 -07:00
Adrian Cole 109db817ed Merge pull request #1508 from jclouds/deprecate-async
Deprecate async
2013-04-09 13:04:19 -07:00
adriancole 053197fe61 deprecated all top-level Async apis and clients 2013-04-09 10:18:31 -07:00
adriancole 413538c453 refactored aws-s3 MPU test 2013-04-09 09:44:44 -07:00
adriancole 36dd831b84 moved all code off use of RestContext except CloudStackContext, which will use it until 1.7 2013-04-09 09:23:31 -07:00
Andrew Bayer c566418d87 Adding listNodesByIds across the board.
Adding to both ListNodesStrategy and ComputeServiceAdapter. When
possible, does a query explicitly for the specified IDs. When not,
falls back on either listDetailsOnNodesMatching (for ListNodesStrategy
implementations and in BaseComputeService) or filters listNodes output
itself (in ComputeServiceAdapter).
2013-04-08 17:21:01 -07:00
adriancole a92cd40806 made it possible to replace a value in the ultradns record builder 2013-03-25 17:19:58 -07:00
adriancole 3be95807c2 wrong values for SRVData keys in DynECT 2013-03-25 14:36:29 -07:00
Adrian Cole 420f332a08 Merge pull request #1454 from jclouds/ultradns-tcpool-recordupdate
update pool record support in ultradns
2013-03-24 23:35:04 -07:00
adriancole 16b43b08db it is possible for an ultradns error to not include a message 2013-03-24 22:35:28 -07:00
adriancole 6ab744d674 addressed nits from issue #1453 2013-03-24 22:06:59 -07:00
adriancole d7221dc9fc specify weight when adding pool record support in ultradns 2013-03-24 22:06:55 -07:00
adriancole f669ed136e backfilled test that ensures login command on trmk sets content-length 2013-03-24 21:09:30 -07:00
adriancole d9572151ae update pool record support in ultradns 2013-03-24 16:04:39 -07:00
adriancole 30a0bf7657 make error handling code in ultradns more readable 2013-03-24 15:12:24 -07:00
adriancole 43b2065947 rewrote ultradns TrafficControllerPoolApiLiveTest to validate metadata such as dname and record ttl 2013-03-24 15:10:19 -07:00
adriancole 5549eddf92 add ability to lookup traffic controller pool in ultradns by its dname 2013-03-24 15:09:53 -07:00
adriancole 6b14bec945 ultradns no longer throws an exception if you attempt to list zones of an unknown account 2013-03-24 15:09:53 -07:00
adriancole bc52b54945 renamed IDHandler in ultradns to TextHandler as it isn't limited to ids 2013-03-24 15:09:53 -07:00
adriancole 818a6f2c6f added predicates to ultradns which simplify common queries for traffic controller resources by id 2013-03-24 15:09:53 -07:00
adriancole 83ddeb10ab added ability to get the specification of an ultradns pool record by id 2013-03-24 15:09:47 -07:00
adriancole 179a0ea30a backfilled tests for case where traffic controller record in UltraDNS doesn't exist 2013-03-24 10:38:30 -07:00
adriancole eb1d4710ec create and delete traffic controller records in ultradns 2013-03-23 18:49:43 -07:00
adriancole a329feee7c create and delete traffic controller pools in ultradns 2013-03-23 17:17:38 -07:00
adriancole e3f51bd030 refactored out common id parsing logic in ultradns 2013-03-23 17:16:27 -07:00
adriancole 7bd8082106 add ability to read ultradns traffic controller pool records 2013-03-23 16:48:05 -07:00
adriancole 7dde2dd105 added base TrafficControllerPoolApi with list() implemented 2013-03-22 12:53:11 -07:00
adriancole e7bdfa65f9 fixed bad assertion in delete rrpool in ultradns 2013-03-22 11:24:48 -07:00
adriancole 0c09140f54 azureblob does not support expires header 2013-03-21 09:07:23 -07:00
Andrew Gaul 371db8d18f Address Xlint warnings 2013-03-13 22:23:19 -07:00
adriancole 77d15933b5 add support for list records by name in dynect 2013-03-13 17:11:54 -07:00
Adrian Cole 10827445f7 Merge pull request #1412 from jclouds/ultradns-remove_recordmap
removed problematic record type mapping code
2013-03-11 22:13:21 -07:00
adriancole 75315c8a28 removed problematic record type mapping code 2013-03-11 20:35:35 -07:00
adriancole e182497c5c add SPF and SSHFP records to dynect 2013-03-11 20:03:18 -07:00
adriancole a95e42d180 ultradns-ws: replaced usage of UnsignedInteger with int 2013-03-11 14:56:37 -07:00
adriancole 971a82098e dynect: replace usage of UnsignedInteger with int and fixed serialized form of rdata classes 2013-03-11 14:56:33 -07:00
Adrian Cole fb69ae0fa9 bump master to 1.7.0-SNAPSHOT 2013-03-08 23:02:40 -08:00
adriancole 83a31e7692 unhook labs dependency from aws-ec2; to be re-enabled when issue #1400 is complete 2013-03-08 19:30:41 -08:00
adriancole df346ade7e promote dynect out of labs 2013-03-08 18:02:58 -08:00
adriancole b1ad2148ee promote ultradns-ws out of labs 2013-03-08 16:33:26 -08:00
adriancole c31145e42e [maven-release-plugin] prepare for next development iteration 2013-03-04 06:13:59 -08:00
adriancole 0eb3ee8091 [maven-release-plugin] prepare release jclouds-1.6.0-alpha.4 2013-03-04 06:13:57 -08:00
adriancole 1e98bc51ab azureblob: explicitly set Expect header on methods that need it 2013-03-03 21:09:53 -08:00
adriancole 1c2090fd08 s3: explicitly set Expect header on methods that need it 2013-03-03 21:09:49 -08:00
adriancole 2c3c3fad52 swift: explicitly set Expect header on methods that need it 2013-03-03 21:09:48 -08:00
Diwaker Gupta c37d3103e7 Fix static access of MultipartUpload members. 2013-03-01 18:49:28 -08:00
Shri Javadekar 32f8d8d3ca Add directory specific live test to AWS-S3.
This patch adds a test to the AWS live test suite for making sure
that a directory is basically a blob with a trailing '/'.
2013-02-27 22:52:44 -08:00
Adrian Cole 1fbc47bd77 added iam instance profile args to aws-ec2 2013-02-25 17:35:02 -08:00
Adrian Cole ac7a4b5354 unhooked version dependency from ec2 async tests 2013-02-25 17:04:32 -08:00
Andrew Gaul ff42fdfa13 Address FindBugs warnings 2013-02-24 20:17:50 -08:00
Adrian Cole 7e270c5ddb various cleanups to get ec2 subnet api up to latest 2013-02-24 14:40:31 -08:00
Andrew Gaul 1f995879d6 Address FindBugs errors 2013-02-22 20:59:29 -08:00
Everett Toews eef3d71526 Added version to Rackspace Cloud Load Balancer package namespace. 2013-02-21 16:07:15 -06:00
adriancole bebdfff5be synchronized naming of route53 with aws sdk, and changed resource record type from enum to string 2013-02-19 15:32:20 -08:00
adriancole 89fda8ee28 [maven-release-plugin] prepare for next development iteration 2013-02-04 17:30:46 -08:00
adriancole 2b0ad28f26 [maven-release-plugin] prepare release jclouds-1.6.0-alpha.2 2013-02-04 17:30:44 -08:00
adriancole f3f4dc9f2a issue #1184 normalize command names for all swift derivatives 2013-02-03 12:05:20 -08:00
adriancole c517fad22d issue #1184 add named for Azure commands 2013-02-02 18:46:48 -08:00
adriancole 267069755e [maven-release-plugin] prepare for next development iteration 2013-02-02 08:41:53 -08:00
adriancole 7c924b312f [maven-release-plugin] prepare release jclouds-1.6.0-alpha.1 2013-02-02 08:41:51 -08:00
Adrian Cole 74ee087c3b issue #1165 promote route53 out of labs 2013-01-31 10:16:51 -08:00
Adrian Cole 5aa41d07aa Merge pull request #1261 from jclouds/aws-action-names
changed aws apis to use Action key for config instead of more verbose iam names
2013-01-29 05:53:06 -08:00
adriancole b3c3cb0a88 issue #1184 changed aws apis to use Action key for config instead of more verbose iam names 2013-01-29 04:45:42 -08:00
adriancole a51e6a8323 issue #1089 removed default timeout values so that those not using async will have simpler debugging 2013-01-29 04:19:00 -08:00
adriancole 40d9f8bfe7 changes that facilitate synchronous fallbacks and http invocation 2013-01-29 04:09:45 -08:00
adriancole 085a1ef2b8 merged STS and aws-common, so that all aws apis can test support of temporary credentials 2013-01-22 12:27:44 -08:00
adriancole 2a1bf88372 promoted aws-sts to top-level 2013-01-22 12:27:44 -08:00
Andrew Gaul af963df92d Use Map.entrySet where possible
Improves run-time efficiency and addresses FindBugs warnings.
2013-01-21 23:59:42 -08:00
Adrian Cole 21ab1ae836 switched to use SocketOpen from guice 2013-01-19 20:06:18 -08:00
Adrian Cole 37e587ee51 changes related to centralizing construction of invokables 2013-01-19 17:17:30 -08:00
Adrian Cole 4980367991 centralize TypeToken creation 2013-01-19 11:31:55 -08:00
adriancole dc4ca1efbd removed deprecated methods which were easy to do 2013-01-19 08:32:45 -08:00