2114 Commits

Author SHA1 Message Date
Zack Shoylev
833f046a5c A 401 error should result in re-authenticating for a new token 2013-07-09 14:14:37 -07:00
Andrew Gaul
60e9062894 Checkstyle fixes 2013-07-09 14:09:44 -07:00
Andrey Trubitsyn
02d1ac4648 Added test environment for Quantum v2.0 client
This patch adds test environment for the future
Quantum v2.0 client implementation.

Signed-off-by: Andrey Trubitsyn <andrey@sentilla.com>
2013-07-09 12:18:09 -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
JoshVote
8db0218cf7 JCLOUDS-126 - Support and tests for region selection in swift-keystone BlobStore 2013-07-03 13:44:46 -07:00
Ignasi Barrera
44ea490c1e JCLOUDS-149: Reuse checkstyle configuration 2013-07-02 18:10:27 +02:00
Andrew Bayer
c6986efda6 JCLOUDS-151 - CloudStack refactored to remove async, *Client renamed to *Api. 2013-07-01 12:13:48 -07: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
zack-shoylev
2792975ebe Ensuring pem files are properly split regardless of source OS 2013-06-30 18:19:40 +02: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
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
Ignasi Barrera
2701655f91 JCLOUDS-107: Use Guice multibinding extensions 2013-06-06 17:35:52 +02:00
Ignasi Barrera
ea262c3995 JCLOUDS-38: Removed servlet project and unused constants 2013-06-04 17:47:41 +02: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
Ignasi Barrera
543dc025c4 JCLOUDS-82: Use unwrapApi from View and remove custom method in ChefContext 2013-05-27 22:14:55 +02: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
Ignasi Barrera
474f7fffad JCLOUDS-58: Updated license headers and rat plugin configuration 2013-05-20 16:53:37 +02: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
Ignasi Barrera
4455b9daf4 JCLOUDS-3: Bootstrap nodes in a custom environment
Added the environment where the nodes in a group must be created in the
bootstrap data bag. This way the configuration is persisted and can be
used between runs, such as the node run list.

To accomodate the new bootstrap parameter, the method in the ChefService
used to create the data bag has been refactored and a the new
BootstrapConfig object has been created. This way, we'll be able to
extend the information in the bootstrap databag in the future without
changing the ChefService interface.
2013-05-14 23:39:45 +02: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
Andrew Bayer
a4ee5ba496 JCLOUDS-30. Switch to 2 space indents for POM files. 2013-05-13 10:29:06 -07:00
Andrew Bayer
3760cc09ae JCLOUDS-17. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos. 2013-05-13 10:28:43 -07:00
Ignasi Barrera
2afa950cb2 Merge pull request #85 from nacx/fix-test-config
Fix TransientChef and Strategy live tests
2013-04-29 02:26:58 -07:00
adriancole
397349f50e create property jclouds.version for upstream dependencies 2013-04-28 15:53:30 -07:00
Ignasi Barrera
19b9d5c4c7 Fix TransientChef and Strategy live tests 2013-04-29 00:22:34 +02:00
Everett Toews
2bbd03939f Removed trystack-nova provider. 2013-04-26 10:54:49 -05:00
Ignasi Barrera
f06cd83844 Use Futures.getUnchecked to get strategy results 2013-04-25 16:42:28 +02:00
Ignasi Barrera
c9cdeb5c2f Fixed typo 2013-04-25 09:14:07 +02:00
Ignasi Barrera
d245cb6aa3 Unasync Chef
* Removed all async apis
* Refactored strategies to avois using the async apis
* Removed references to awaitCompletion and use Guava helpers
* Added a method in ChefContext to access the underlying api (ChefApi,
  HostedChefApi or PrivateChefApi)
2013-04-24 23:47:16 +02: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
Ignasi Barrera
892f9f9493 Deprecate async apis. Fixes #70
* Deprecated all async apis.
* Refactored tests to extend BaseApiLiveTest.
* ChefContext now extends View.
* HostedChefApi now extends ChefApi.
* PatchedChefApi has been removed.
* Removed HostedChefContext and PrivateChefContext because they are now
  redundant. The concrete apis can be unwrapped from teh ChefContext
  view.
2013-04-22 19:00:53 +02:00
Andrew Gaul
fff2fa6e05 Address Checkstyle violations
This commit requires temporarily disabling some checks.
2013-04-17 16:21:21 -07:00
Ignasi Barrera
9d66de545b Do not use removed getXXX methods from jclouds Utils 2013-04-17 16:18:11 +02:00