Commit Graph

1592 Commits

Author SHA1 Message Date
adriancole 294807a103 Deprecated remaining code related to RestContext, RestApiMetadata, and RestClientModule for ApiContext, HttpApiMetadata, HttpApiModule 2013-04-09 23:17:03 -07:00
Adrian Cole c23ea656c6 Merge pull request #1510 from jclouds/deprecate-async-1.6.x
Deprecate async 1.6.x
2013-04-09 22:42:07 -07:00
adriancole 28448d462b deprecated blobstore interfaces that imply complex internal code 2013-04-09 16:56:04 -07:00
Adrian Cole 9db6177d37 Merge pull request #1507 from jclouds/listnodesdetails-1.6.x
Adding listNodesByIds across the board. (1.6.x)
2013-04-09 13:40:10 -07:00
adriancole 9d57af1c2e deprecated all top-level Async apis and clients 2013-04-09 13:38:43 -07:00
adriancole 39f3dba5ef moved all code off use of RestContext except CloudStackContext, which will use it until 1.7 2013-04-09 13:38:31 -07:00
adriancole d2974132d5 removed async expect tests 2013-04-09 13:37:50 -07:00
adriancole dc12122afd refactored swift MPU and added test 2013-04-09 10:59:48 -07:00
Andrew Bayer 15046719eb 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 20:02:32 -07:00
adriancole a7bb80bd44 issue #1501: add Closeable annotation to all top-level apis 2013-04-08 18:06:33 -07:00
Adrian Cole 8e20652021 Merge pull request #1491 from maginatics/remove-input-suppliers-of-input-stream-1.6.x
Remove InputSuppliers.of(InputStream)
2013-04-04 16:20:34 -07:00
adriancole 0d34d0729d [maven-release-plugin] prepare for next development iteration 2013-04-03 18:25:58 -07:00
adriancole 985f3b5c0f [maven-release-plugin] prepare release jclouds-1.6.0-rc.3 2013-04-03 18:25:57 -07:00
Adrian Cole 3c8a751abc Merge pull request #1465 from aplowe/1.6.x
cloudstack: adding support for create volume from a custom disk offering
2013-04-03 17:21:58 -07:00
Andrew Gaul 2c06317354 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:48 -07:00
Everett Toews f30bd94cbe Fixed pluralization, Javadoc, Nullable, and static import stuff. 2013-04-02 22:01:22 -05:00
Matt Stephenson 7c3683e060 Fix missing final keyword for private member variables in cloudloadbalancers api. 2013-04-02 13:30:17 -05:00
Adam Lowe 9990d11fbb cloudstack: adding support for create volume from a custom disk offering 2013-04-02 15:11:10 +01:00
Everett Toews 782c99d17c Renamed Rackspace Cloud Load Balanacer domain objects with verb first. 2013-04-01 18:46:39 -05:00
Everett Toews 3a40d31c67 Renamed classes that create and update to be consistent with other Rackspace APIs. 2013-04-01 15:19:42 -05:00
Everett Toews 260a3b0200 Moved CloudIdentityFallbacks to src instead of test. 2013-04-01 10:42:09 -05:00
adriancole bfd5b114d7 [maven-release-plugin] prepare for next development iteration 2013-03-25 20:50:05 -07:00
adriancole db9d422a04 [maven-release-plugin] prepare release jclouds-1.6.0-rc.2 2013-03-25 20:50:04 -07:00
Everett Toews 72d910dd4c PaginatedCollection for Rackspace style pagination. 2013-03-25 12:45:42 -07:00
adriancole 9e9e0b6ce5 add ability to reset as opposed to always append to ResourceRecordSet.values 2013-03-22 15:57:01 -07:00
adriancole 30814079f8 corrected serialization bug in weighted route53 rrsets and backfilled missing tests 2013-03-22 09:28:19 -07:00
Andrew Gaul d72ea8a9e8 Correct Keystone 1.1 authentication token timeout
We should renew after 30 minutes, not 30 hours.
2013-03-17 16:29:21 -07:00
adriancole d0240f38f9 add support for list recordsets by name in route53 2013-03-13 18:22:49 -07:00
adriancole 5cc15b4f9b make it possible to deserialize into ctors that have immutable collection parameters 2013-03-13 13:03:18 -07:00
Andrew Gaul 4ed7078b5d 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-13 12:31:08 -07:00
Andrew Gaul 7aa03de83f Memoize Swift TempURL keys
This avoids a round-trip to the server for every signed URL.
2013-03-13 12:30:00 -07:00
adriancole 12fd9bf581 route53: replace usage of UnsignedInteger with int and corrected default ttl to 300 2013-03-11 15:44:25 -07:00
Adrian Cole 3ec76d3072 [maven-release-plugin] prepare for next development iteration 2013-03-08 20:27:16 -08:00
Adrian Cole 1221795f36 [maven-release-plugin] prepare release jclouds-1.6.0-rc.1 2013-03-08 20:27:15 -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
Adrian Cole fe220e5105 Merge pull request #1201 from rackspace/openstack-naming
@Named annotations in all async api methods for OpenStack.
2013-01-19 16:53:54 -08:00
Everett Toews d54e8dcecb @Named annotations in all async api methods for OpenStack. 2013-01-19 18:16:14 -06:00
Everett Toews b7d76e7b8d The Metadata API for Load Balancers and Nodes in Rackspace Cloud Load Balancers. 2013-01-19 14:12:13 -06: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
adriancole 04fe89b75a update to guava 14.0-rc2 2013-01-18 16:02:25 -08:00
Andrew Gaul d96777ca70 Work around failed metadata lookups with Rackspace
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.  This commit is similar to commit 3c7b965 to
hpcloud-objectstorage.
2013-01-17 16:26:02 -08:00
Everett Toews 47c38b55f9 The Virtual IP API for Rackspace Cloud Load Balancers. 2013-01-17 14:18:39 -06:00
Everett Toews 98f00a81dd Changed return types on remove methods and minor naming fixes. 2013-01-17 13:03:44 -06:00
Adrian Cole c1590325f2 Merge pull request #1185 from jclouds/process-named-timeouts
Process named timeouts
2013-01-16 11:32:08 -08:00
adriancole b3901deeb9 rewrote aws config to use standard op names 2013-01-16 10:54:17 -08:00
Adrian Cole 184ff81f3d Merge pull request #1179 from rackspace/rax-clb-access-list
The access list API for Rackspace Cloud Load Balancers.
2013-01-16 10:03:16 -08:00
Adrian Cole f6990c60c9 Merge pull request #1182 from aplowe/master
openstack-nova: NPE in SecurityGroupApi.delete()
2013-01-16 08:40:21 -08:00
Everett Toews e7d324b868 The access list API for Rackspace Cloud Load Balancers. 2013-01-16 09:54:34 -06:00
Adam Lowe 055098866f openstack-nova: eliminating NPE thrown by SecurityGroupApi.delete() 2013-01-16 10:53:27 +00:00
Adrian Cole 1ab3f0bb44 accomodate runtime credential changes 2013-01-15 22:26:50 -08:00
Adrian Cole f18d3b433f Merge pull request #1177 from jclouds/retryablepredicate-highlander
There can be only one retryable predicate; use Predicates2.retry
2013-01-13 22:07:42 -08:00
Adrian Cole 3ac6f475e7 unwound dependencies relating to ssh keys and crypt 2013-01-13 20:53:59 -08:00
Adrian Cole a49a060152 There can be only one retryable predicate; use Predicates2.retry decorator 2013-01-13 20:30:34 -08:00
Adrian Cole 3962b30808 updated to use standard guava Futures and ListenableFuture 2013-01-13 09:31:10 -08:00
Adrian Cole 547f574eea got rid of custom MoreExecutors.sameThreadExecutor 2013-01-12 15:47:58 -08:00
Adrian Cole f1819fe8b9 decorating cacheloader only used in s3 2013-01-12 15:47:51 -08:00
Adrian Cole 45bb35971e replaced usage of checkNotEmpty with checkNotNull(emptyToNull 2013-01-12 15:20:11 -08:00
Adrian Cole 015fbf22a2 removed redundant retrying assertion code 2013-01-12 14:04:47 -08:00
Adrian Cole d57197c103 cleaned up code references detected as unnecessary by UEC plugin 2013-01-12 12:31:00 -08:00
Everett Toews 6bc848c232 More attributes and domain objects for Rackspace Cloud Load Balancers. 2013-01-11 16:18:14 -06:00
adriancole 9d75aa353d refactored ec2 tests so that they can be used in aws-ec2 2013-01-10 13:38:58 -08:00
adriancole 992e9ebbcf change cacheloader that can return nulls to return optional so to avoid cacheload exceptions 2013-01-10 13:20:27 -08:00
Adrian Cole 47c215c63c removed custom guava code for scoped binding and type params 2013-01-08 22:48:10 -08:00
Andrew Gaul 6da0c84101 Ignore ETags with non-hex suffixes
Amazon S3 blobs created via multi-part uploads have these suffixes.
Reference:

https://forums.aws.amazon.com/thread.jspa?messageID=203510
2013-01-08 17:08:06 -08:00
Adrian Cole 2480481835 dependent changes on tests and internal classes 2013-01-08 00:32:45 -08:00
Adrian Cole 3089111621 refactored internal code and tests to use FunctionalReflection 2013-01-07 00:36:31 -08:00
Adrian Cole 74c633f90a moved all providers and test cases from j.l.r.Method -> Invokable 2013-01-05 18:51:38 -08:00
Adrian Cole afc070ac07 First wave of RestAnnotationParser refactoring introduces Invokable, removes SeedAnnotationCache and associated race conditions 2013-01-04 13:51:46 -08:00
Adrian Cole 36123a6068 deterministic creation of requests based on arg order 2013-01-04 12:44:26 -08:00
Adrian Cole a17e8e25d7 removed need to support multiple @EndpointParam annotations 2013-01-04 11:31:06 -08:00
Adrian Cole 8121444f04 removed deprecated cloudwatch method 2013-01-03 16:13:27 -08:00
Hugo Trippaers 28e8f2663d Test the password tool with a domain with a slash
And some tests for other situations
parse domain/user with String.lastIndexOf() instead of a File object
2013-01-03 11:56:09 +01:00
Everett Toews 23c8c017b7 Copied test over from labs/openstack-cinder that got missed in the move to apis/opopenstack-cinder. 2013-01-02 20:29:32 -06:00
Adrian Cole 9237f1a406 eliminated errors when multiple groups have the same name 2013-01-01 22:16:28 -08:00
Adrian Cole b582d4a4a8 added recent aws instance types 2013-01-01 22:15:59 -08:00