121 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
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
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
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
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
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
e85b7b7cc8 fix issue #1277 some nova installs do not generate passwords 2013-01-31 13:56:39 -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
a49a060152 There can be only one retryable predicate; use Predicates2.retry decorator 2013-01-13 20:30:34 -08:00
Adrian Cole
45bb35971e replaced usage of checkNotEmpty with checkNotNull(emptyToNull 2013-01-12 15:20:11 -08:00
Adrian Cole
cddd35bc51 removed unnecessary generic types and made RestAnnotationProcessor immutable 2012-12-30 23:18:59 -08:00
Adrian Cole
038e550d2d moved off deprecated FluentIterable methods 2012-12-30 13:20:09 -08:00
Adrian Cole
9b1872c6ff removed custom code that duplicates functionality of guava fallbacks 2012-12-27 16:54:31 -08:00
Everett Toews
0084dbeecb Fixed intermittent and changing test failures. 2012-12-13 12:39:05 -06:00
Steve Loughran
04a528e823 integrated RetryAfterException into OpenStack Nova error response 2012-12-09 03:00:51 -08:00
Leander Bessa Beernaert
38be08eb6b Extends JClouds' OpenStack Nova API with the Diagnostics command
The diagnostics command returns a collection of system information
for the a given server. At the moment, there is no formal
specification for this command. Therefore, it is returned as
a Map of hypervisor specific entries and corresponding values.
More information about the command can be viewed here [1]
in the section "Server Diagnostics".

[1] http://api.openstack.org/api-ref.html
2012-11-30 17:40:12 +00:00
Adrian Cole
5a2af5c29e Issue 1121: Don't generate SecurityGroup when user specifies NovaTemplateOptions.securityGroupNames 2012-11-12 22:33:36 -08:00
Andrew Gaul
d7380114a6 Enforce use of Atomics.newReference via Checkstyle
Avoids duplicating types.
2012-11-12 11:56:48 -08:00
Andrew Gaul
4af8008b51 Address all existing Checkstyle violations 2012-11-12 10:30:46 -08:00
Everett Toews
2682759b49 Moved the Volume Attachment stuff into its own API to make it totally clear to users that this is the API to use for attaching volumes. 2012-11-07 07:46:11 -06:00
Andrew Gaul
bfa3458b97 Prefer specific asserts where possible 2012-11-04 14:40:24 -08:00
Andrew Gaul
0761874578 Prefer Assert.fail over assert
The former cannot be disabled.
2012-11-03 14:51:52 -07:00
Andrew Gaul
35ce78f15a Correct typos 2012-11-01 13:25:44 -07:00
Adrian Cole
99d3422b4d added id to endpoint and used only endpoint.versionId to enforce endpointVersion 2012-10-08 15:59:04 -04:00
Adrian Cole
376db9e239 refactored openstack-nova expect tests so that they don't mask zone ids from subclasses 2012-09-29 18:35:03 -07:00
Adrian Cole
b77a3bf0c8 cleanup and example of overriding nova api version 2012-09-29 14:03:25 -07:00
Adrian Cole
54ec689019 stable openstack 2012-09-16 22:38:22 -07:00
Adrian Cole
605d6580de metadata for nova 2012-09-16 17:07:42 -07:00
Jeremy Daggett
c078cb2170 Initial contribution to metadata APIs 2012-09-16 16:22:48 -07:00
Adrian Cole
fae9ec1228 straightened out AdminActionsApi test 2012-09-16 12:38:01 -07:00
Adrian Cole
f7feb0248a fixed bad test assertions in openstack-nova 2012-09-16 12:38:00 -07:00
Adrian Cole
b5f60f1e70 pagination and consistency cleanup on openstack 2012-09-16 00:19:30 -07:00
Andrew Donald Kennedy
88a84ae3fb Added test descriptions and dependencies to basic Nova live tests 2012-08-24 21:19:35 +03:00
Andrew Donald Kennedy
0a7a9f378e Updated KeyPair toString method to make expect test pass 2012-08-23 17:08:06 +03:00
Andrew Donald Kennedy
fec936ca36 Update Nova extension tests to use covariant returns 2012-08-23 08:17:30 +03:00
Andrew Donald Kennedy
0da2616737 Make the OpenStack extension lists accessible for all APIs. Copied the Nova extension related code to the shared keystone package and added providers for extensions and aliases to all modules 2012-08-13 22:22:04 +01:00
Adrian Cole
0666a6fbde fixed broken test 2012-08-12 10:00:17 -07:00
Adrian Cole
0f0bc429c1 threading issue in test 2012-08-12 09:31:18 -07:00
Adrian Cole
b055fb1233 Merge pull request #780 from grkvlt/openstack
Openstack Extensibility
2012-08-12 09:29:51 -07:00
Andrew Donald Kennedy
9acfa880d4 openstack-nova extensibility 2012-08-12 12:29:36 +01:00
Adrian Cole
c7f35d3bb1 removed invalid @Nullable usage and also usage of javax package usage 2012-08-11 20:59:16 -07:00
Adam Lowe
4fad770eaf openstack-nova: allowing extension of the standard extensions by providers 2012-08-12 02:48:24 +01:00