222 Commits

Author SHA1 Message Date
Andrew Bayer
46b8fd0eee Fix OpenStack Nova SecurityGroupExtension based on live tests
So there were a few problems, but the core ugly one is that what you
pass in for creating a rule allowing groups' access is not the same
thing you get back from a group with such a rule, which makes mapping
between the arguments and the output insanely painful. So now, well,
we do some insanely painful stuff.
2013-10-07 17:50:53 -07:00
Andrew Gaul
f1fc63ab76 Add whitespace around keywords and braces 2013-09-30 09:39:29 -07:00
Andrew Bayer
0aa19a0cee Fix aws-ec2 live tests
Involves some non-trivial reworking of EC2 security group
translation/binding, but it was necessary.

Still problems with a number of tests:
- org.jclouds.aws.ec2.compute.AWSEC2TemplateBuilderLiveTest#testTemplateBuilderWithLessRegions
- org.jclouds.ec2.compute.EC2TemplateBuilderLiveTest#testTemplateBuilderCanUseImageIdWithoutFetchingAllImages

Those seem to be failing because there's caching going on that they're
not expecting, but I could be wrong.

Also failing:
- org.jclouds.aws.ec2.features.PlacementGroupApiLiveTest in general
- org.jclouds.aws.ec2.features.SpotInstanceApiLiveTest - a couple tests
2013-09-30 09:33:57 -07:00
Andrew Bayer
389ba6c94a JCLOUDS-267. Add SecurityGroupExtension support for Nova. 2013-09-17 11:47:42 -07:00
Zack Shoylev
a9cb3cf068 When creating a server, allow attaching server to custom network
https://issues.apache.org/jira/browse/JCLOUDS-202
2013-08-01 21:46:24 -05:00
Everett Toews
bf723a8649 Support Disk Configuration Extension in NovaTemplateOptions 2013-08-01 16:40:00 -05:00
Everett Toews
e6b6e4edb2 Support Disk Configuration Extension 2013-07-31 23:10:35 -05:00
Andrew Gaul
60e9062894 Checkstyle fixes 2013-07-09 14:09:44 -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
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
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
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
adriancole
6afb0dc6b9 quarantined openstack api and providers that still use async code 2013-04-09 22:07:55 -07:00
adriancole
053197fe61 deprecated all top-level Async apis and clients 2013-04-09 10:18:31 -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
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
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
Adrian Cole
fb69ae0fa9 bump master to 1.7.0-SNAPSHOT 2013-03-08 23:02:40 -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
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
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
Julien Coste
a80f58fabe Change create method to allocateFromPool 2013-02-27 15:12:51 +01: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
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
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
adriancole
e85b7b7cc8 fix issue #1277 some nova installs do not generate passwords 2013-01-31 13:56:39 -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
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
d5f7f8b07e refactored json internals to use Reflections2 2013-01-20 23:13:22 -08:00
Adrian Cole
37e587ee51 changes related to centralizing construction of invokables 2013-01-19 17:17:30 -08:00
Everett Toews
d54e8dcecb @Named annotations in all async api methods for OpenStack. 2013-01-19 18:16:14 -06:00
Adrian Cole
4980367991 centralize TypeToken creation 2013-01-19 11:31:55 -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
Adam Lowe
055098866f openstack-nova: eliminating NPE thrown by SecurityGroupApi.delete() 2013-01-16 10:53:27 +00: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
45bb35971e replaced usage of checkNotEmpty with checkNotNull(emptyToNull 2013-01-12 15:20:11 -08:00