Commit Graph

1633 Commits

Author SHA1 Message Date
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
Andrew Bayer a906f9f4ec JCLOUDS-138. Add CloudStackImageExtension support. 2013-06-26 13:24:16 -07:00
Andrew Bayer ccb4323986 Cleaning up changes from JCLOUDS-106 2013-06-24 13:02:14 -07:00
Andrew Bayer 95308de808 JCLOUDS-105 - fixing a problem caused in cases where vm.isPasswordEnabled() is false and no keypair is specified. 2013-06-23 16:08:05 -07:00
zack-shoylev 46f25bc913 Ensure rackspace cloudidentity live tests pass where applicable
Disables incompatible keystone tests
2013-06-21 11:33:05 -07:00
Andrew Gaul 1a6be0eb67 Do not repeat array type in initializers 2013-06-18 21:02:50 -07:00
Andrew Bayer 75385ee57d JCLOUDS-100. Add AWSServerErrorRetryHandler, with an increased back
off time.
2013-06-17 16:48:15 -07:00
Andrew Bayer 32ea520f34 Add license headers to src/test/resources where possible, more fine-grained RAT exclusions 2013-06-12 16:45:29 -07:00
Andrew Phillips f8fae7d557 JCLOUDS-123: Using Clojure core incubator-specific nilsafe in AMI service binding
Submitted by Trevor Wennblom
2013-06-12 09:23:01 +01:00
Andrew Bayer a3488dc43c JCLOUDS-105. Real fix for keypairs being ignored if VM says it's password-enabled. 2013-06-06 10:26:20 -07:00
Andrew Bayer fbe637c8bf JCLOUDS-106. Add proper support for generation/detection of keypair/security groups to CloudStack. 2013-06-06 10:26:20 -07:00
Jeremy Daggett 7651657cfc Remove async interface support from OpenStack Cinder API 2013-06-06 11:08:21 -05:00
Andrew Gaul d113b0ba63 Remove Strings2.replaceAll(String, Pattern, String)
Replace with direct calls to
Pattern.matcher(String).replaceAll(String).
2013-06-03 14:41:27 -07:00
Andrew Gaul 64e9a4e4c6 Remove Strings2.replaceAll(String, char, String)
String.replace(String, String) serves this purpose better.
2013-06-03 14:41:18 -07:00
Andrew Gaul b3a320e015 Address Checkstyle violations 2013-05-26 21:03:10 -07:00
Everett Toews cbc42fdeb2 JCLOUDS-78: Fix record pagination problem. Backfill tests. 2013-05-23 11:46:33 -06:00
Andrew Gaul af7c003582 JCLOUDS-44: Map TooManyBuckets to proper exception 2013-05-17 10:53:14 -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 fa10fc4838 JCLOUDS-31. remove malformed, duplicate, or unnecessary headers 2013-05-16 21:30:32 -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
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
Jeremy Whitlock e4905799c2 Complete CloudWatch API by adding Alarm APIs. 2013-04-23 19:18:45 -06:00
Andrew Gaul fff2fa6e05 Address Checkstyle violations
This commit requires temporarily disabling some checks.
2013-04-17 16:21:21 -07:00
Everett Toews f3586bec30 Make the URI of Servers and Load Balancers available. 2013-04-11 17:39:16 -05:00
Zack Shoylev 068a8a77b0 Identity support for openstack-reddwarf
Adds basic plumbing that will allow adding support for openstack-reddwarf and rackspace clouddatabases as per https://github.com/jclouds/jclouds/issues/1475
2013-04-10 16:44:57 -05:00
adriancole fbe9f945e7 rename bindMappedApi -> bindSyncToAsyncApi 2013-04-10 08:57:32 -07:00
adriancole 5bc0678a1c naming convention and warning feedback from issue #1511 2013-04-10 08:13:13 -07:00
adriancole 32c0acdb23 added javadoc to FormSigningModule 2013-04-10 08:12:30 -07:00
Andrew Phillips 282f3e2a37 Trying to get the test to *pass* now 2013-04-10 13:04:44 +02:00
Andrew Phillips 52301e0a86 Fixing S3ClientMockTest hanging on Java 7 since 843ed57 2013-04-10 12:03:34 +02: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 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 210250f63f decoupled code that requires async apis from cloud identity 2013-04-09 22:07:54 -07:00
adriancole e613c95eb9 decoupled code that requires async apis from keystone 2013-04-09 22:07:54 -07:00
adriancole dce0ecd889 migrated sts and route53 entirely off deprecated async interfaces 2013-04-09 22:07:45 -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 d37484f127 use more constants in sts tests 2013-04-09 21:34:22 -07:00
adriancole 091ef98dc9 use more constants in cloudloadbalancers tests 2013-04-09 21:34:17 -07:00
adriancole b2f0f3dc71 use more constants in route53 tests 2013-04-09 20:20:18 -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 d3e3f1e8b1 refactored swift MPU and added test 2013-04-09 09:44:48 -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
adriancole 2cdf19a6b1 removed async expect tests 2013-04-08 20:45:04 -07:00
Adrian Cole 33745cdeb1 Merge pull request #1502 from abayer/listnodesdetails-work
Adding listNodesByIds across the board.
2013-04-08 20:00:18 -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 88871c9fe9 issue #1501: add Closeable annotation to all top-level apis 2013-04-08 16:13:09 -07:00
Adrian Cole 0b616fd81a Merge pull request #1464 from aplowe/master
cloudstack: adding support for create volume from a custom disk offering
2013-04-03 17:21:38 -07:00
Adrian Cole d938349229 Merge pull request #1488 from maginatics/remove-input-suppliers-of-input-stream
Remove InputSuppliers.of(InputStream)
2013-04-03 15:39:58 -07:00
Andrew Gaul 648e6c2a8a Remove InputSuppliers.of(InputStream)
This method breaks the contract of an InputSupplier since every call
to getInput returns the same InputStream instance.  This is
particularly dangerous when one of the callers mutates or closes the
InputStream which causes all others callers to fail.
2013-04-03 13:19:42 -07:00
Everett Toews 51a73e76dc Fixed pluralization, Javadoc, Nullable, and static import stuff. 2013-04-02 20:11:44 -05:00
Adam Lowe e364b41805 cloudstack: adding support for create volume from a custom disk offering 2013-04-02 13:29:30 +01:00
Everett Toews 67745b5ef9 Moved CloudIdentityFallbacks to src instead of test. 2013-03-27 16:10:28 -05:00
Everett Toews 870c7d8450 PaginatedCollection for Rackspace style pagination. 2013-03-25 14:22:32 -05:00
adriancole 2095ef5973 add ability to reset as opposed to always append to ResourceRecordSet.values 2013-03-22 15:16:48 -07:00
adriancole 6b931eeb25 corrected serialization bug in weighted route53 rrsets and backfilled missing tests 2013-03-22 08:44:56 -07:00
Matt Stephenson 1713e9f102 Fix missing final keyword for private member variables in cloudloadbalancers api. 2013-03-21 16:06:29 -07:00
Everett Toews d8b82401ea Renamed Rackspace Cloud Load Balanacer domain objects with verb first. 2013-03-18 16:55:53 -05:00
Andrew Gaul c3542f9d12 Correct Keystone 1.1 authentication token timeout
We should renew after 30 minutes, not 30 hours.
2013-03-17 16:27:31 -07:00
Andrew Gaul 371db8d18f Address Xlint warnings 2013-03-13 22:23:19 -07:00
Adrian Cole 2e1cc3c281 Merge pull request #1423 from jclouds/route53-list-name
add support for list recordsets by name in route53
2013-03-13 18:21:44 -07:00
adriancole ac09111dca add support for list recordsets by name in route53 2013-03-13 17:28:53 -07:00
Everett Toews 159b983a4b Renamed classes that create and update to be consistent with other Rackspace APIs. 2013-03-13 15:51:13 -05:00
Adrian Cole cbc175ec84 Merge pull request #1418 from jclouds/allow-immutable-ctors
immutable collection ctor params
2013-03-13 13:03:00 -07:00
Adrian Cole 61e5d6e918 Merge pull request #1415 from maginatics/reduce-keystone-auth-renewal
Reduce Keystone 1.1 auth token renewal timer
2013-03-13 12:30:54 -07:00
adriancole ef2718629f make it possible to deserialize into ctors that have immutable collection parameters 2013-03-13 12:22:41 -07:00
Andrew Gaul 917c03c7bf Memoize Swift TempURL keys
This avoids a round-trip to the server for every signed URL.
2013-03-13 11:59:34 -07:00
Andrew Gaul ce3047517f Allow configuration of session renewal.
Also set default timeout to 30 minutes.  This works around a situation
where we used an expired token.  I saw symptoms where CloudFiles
temporary signed URLs worked for hours 0-23, renewed the token, worked
for hours 23-24, then failed for hours 24-46.  The cycle then repeats.
2013-03-12 21:40:34 -07:00
adriancole fb4248eef7 route53: replace usage of UnsignedInteger with int and corrected default ttl to 300 2013-03-11 14:56:27 -07:00
Adrian Cole fb69ae0fa9 bump master to 1.7.0-SNAPSHOT 2013-03-08 23:02:40 -08:00
Everett Toews 5ad9867e27 Initial commit for the Rackspace DNS API. 2013-03-06 16:02:39 -06: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 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
adriancole b186220ff7 atmos: explicitly set Expect header on methods that need it 2013-03-03 21:09:48 -08:00
Adrian Cole 6a6214d1c5 Merge pull request #1065 from i11/master
Add flavor create and delete API calls for openstack-nova
2013-03-01 15:22:26 -08:00
Adrian Cole d41e6f82e2 Merge pull request #1368 from jcoste/floatingIPFromPool
Nova : Allocate a floating IP from a specified pool instead of the default one
2013-03-01 15:20:15 -08:00
Adrian Cole d1e9b78010 Merge pull request #1372 from digitalsanctum/issue-1357
relaxed vApp description parsing
2013-03-01 15:19:06 -08:00
ilja.bobkevic f9513bec84 Add flavor create and delete API calls for openstack-nova
1. Harden Flavor
2. Update FlavorApi and FlavorAsyncApi by adding create(...) and
delete(...) methods
3. Add flavor_new.json and ParseCreateFlavorTest
4. Add create and delete tests into FlavorApiExpectTest

Change-Id: I3ea15883fb655d9a1dc48fb4ed1b1613d4975d93
2013-03-01 22:23:27 +01:00
adriancole 72ac678c5d attempt to deal with cloudbees failure 2013-02-28 18:40:21 -08:00
Julien Coste a80f58fabe Change create method to allocateFromPool 2013-02-27 15:12:51 +01:00
digitalsanctum 20375b9f91 relaxed vApp description parsing 2013-02-26 22:05:14 -05:00
Shri Javadekar 7bfa6649ce Make AWS-S3 use the right directory suffix.
Fixes #1336.
2013-02-26 10:18:57 -08:00
Julien Coste 4bbf8380c7 Add the possibility to create a floating IP from a pool of floating IPs 2013-02-26 14:07:27 +01:00
Adrian Cole 37f07f98d2 rename TemporaryCredentials to SessionCredentials per aws sdk 2013-02-25 20:02:48 -08:00
Adrian Cole ac7a4b5354 unhooked version dependency from ec2 async tests 2013-02-25 17:04:32 -08:00
Adrian Cole 6dc03a7993 fixed NPE on ec2 log statement 2013-02-25 15:40:16 -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 Bayer 707a77fedb EC2 Subnet added, with DescribeSubnets support initially. 2013-02-23 17:31:15 -08:00
Adrian Cole 544f06d37c Merge pull request #1347 from maginatics/findbugs
Address FindBugs errors
2013-02-23 10:20:00 -08:00
Andrew Gaul 1f995879d6 Address FindBugs errors 2013-02-22 20:59:29 -08:00
Andrew Bayer 3fb9ebe054 anyResourceId was actually filtering on any resource type instead 2013-02-22 16:04:46 -08:00
Everett Toews 9dbe283055 Live test to make Swift Keystone testing easier. 2013-02-22 11:08:06 -06:00
Everett Toews eef3d71526 Added version to Rackspace Cloud Load Balancer package namespace. 2013-02-21 16:07:15 -06:00
Andrew Bayer 698db63297 Coerce InsufficientResourcesException for CloudStack 2013-02-21 12:15:25 -08:00
adriancole aa91c6a5aa added summary log output to route53 live test 2013-02-21 10:09:50 -08:00
Andrew Bayer b756af1543 Add StopVirtualMachineOptions for forcing VM stop to CloudStack API 2013-02-20 12:53:10 -08: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
Adrian Cole 3cdf716334 Merge pull request #1317 from rackspace/swift-rax-large-file-upload-fix
Fixed inheritance hierarchy for Swift and Cloud Files to avoid problems when using BlobStore.
2013-02-19 09:24:53 -08:00
Adrian Cole 3f31895614 Merge pull request #1314 from maginatics/creation-date
Expose resource creation date
2013-02-18 19:14:06 -08:00
Everett Toews 3e51ff183c Fixed inheritance hierarchy for Swift and Cloud Files to avoid problems when using BlobStore. 2013-02-18 16:24:13 -06:00
Andrew Gaul b51ce5994a Expose resource creation date 2013-02-18 11:26:44 -08:00
Everett Toews 9c2990201b Updated Rackspace Cloud Load Balancers doc. 2013-02-14 16:13:51 -06: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 6c658f6450 fix issue #1297 put with zero length payload 2013-02-04 10:32:03 -08:00
adriancole 756e7724ef typo 2013-02-04 07:24:18 -08:00
Adrian Cole d1088cd958 Merge pull request #1295 from jclouds/issue1184-swift
normalize command names for all swift derivatives
2013-02-03 15:48:48 -08:00
adriancole 1bcf73197d issue #1184 command names for cloudstack 2013-02-03 13:03:46 -08:00
adriancole f3f4dc9f2a issue #1184 normalize command names for all swift derivatives 2013-02-03 12:05:20 -08:00
adriancole 8c327f036b issue 1184 add named for Atmos commands 2013-02-02 18:12:49 -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
Andrew Phillips 52cc00bf92 Updating route53 project name: jcloud route53 -> jclouds route53 2013-02-01 02:08:20 -05:00
adriancole e85b7b7cc8 fix issue #1277 some nova installs do not generate passwords 2013-01-31 13:56:39 -08:00
Adrian Cole 74ee087c3b issue #1165 promote route53 out of labs 2013-01-31 10:16:51 -08:00
Richard Downer 343da68502 Fix CloudStack URL signing for fields with [ chars
Commit 69a8304 caused the CloudStack QuerySigner to generate invalid
signatures where key names contained square brackets, such as in the
"iptonetworklist[N]" field to deployVirtualMachine. The commit changed
the whole query string being URL-encoded, whereas previously the field
values were encoded but the field names were not. The CloudStack API
guide says that values that should be encoded for signing but not field
names, and indeed the commit does cause signatures to be rejected.

This commit reverses the change to QuerySigner.createStringToSign() and
adds a unit test for this case.
2013-01-31 11:18:39 +00:00
Adrian Cole bb36c363b7 fix issue #1254 cloudstack renamed deployvirtualmachineresponse in version 4.1 2013-01-30 09:15:53 -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
Everett Toews 907c6a3a11 Rename methods for consistency with other Rackspace/OpenStack APIs. Changed remove to delete as delete is the opposite of create. 2013-01-28 16:24:54 -06:00
Everett Toews 96f98c4fc4 The Report API for Rackspace Cloud Load Balancers. 2013-01-27 11:30:25 -06:00
Everett Toews 495f78d8ce The Error Page API for Rackspace Cloud Load Balancers. 2013-01-24 19:26:22 -06:00
Everett Toews 3b0a6c6903 The SSL Termination API for Rackspace Cloud Load Balancers. 2013-01-23 19:11:10 -06:00
Everett Toews 710eec0def The Content Caching API for Rackspace Cloud Load Balancers. 2013-01-23 15:59:21 -06:00
Everett Toews bf3a2ed7a8 These Parsers are unnecessary when the domain objects have ConstructorProperties. 2013-01-22 20:10:28 -06:00
Adrian Cole 223a06224a Merge pull request #1226 from rackspace/rax-clb-session
The Session Persistence API for Rackspace Cloud Load Balancers.
2013-01-22 16:39:21 -08:00
Everett Toews 4adae9339a The Session Persistence API for Rackspace Cloud Load Balancers. 2013-01-22 17:44:16 -06: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 ac9acb8808 Dynamically generate filesystem blobstore input
This removes several large images from the source tree.
2013-01-22 10:57:11 -08:00
Adrian Cole c095475cf7 Merge pull request #1220 from maginatics/entry-set
Use Map.entrySet where possible
2013-01-22 08:23:02 -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
Everett Toews f4b64fd00d The Health Monitor API for Rackspace Cloud Load Balancers. 2013-01-21 21:36:22 -06:00
adriancole be12dc3293 integrated s3 request signing with temporary credentials 2013-01-21 10:16:40 -08:00
Adrian Cole d5f7f8b07e refactored json internals to use Reflections2 2013-01-20 23:13:22 -08:00
Everett Toews 242d3e07be The Connection API for Rackspace Cloud Load Balancers. 2013-01-20 19:51:06 -06:00
Adrian Cole 21ab1ae836 switched to use SocketOpen from guice 2013-01-19 20:06:18 -08:00
Adrian Cole c395d90928 Merge pull request #1203 from jclouds/centralize-invokable
Centralize invokable
2013-01-19 18:25:32 -08:00
Adrian Cole 37e587ee51 changes related to centralizing construction of invokables 2013-01-19 17:17:30 -08:00
Everett Toews 11e6eb02ed @Named annotations in all async api methods for Rackspace. 2013-01-19 19:07:47 -06:00