Commit Graph

195 Commits

Author SHA1 Message Date
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
Adrian Cole 3089111621 refactored internal code and tests to use FunctionalReflection 2013-01-07 00:36:31 -08:00
Adrian Cole 42c7037a59 removed unused code or duplicated code; moved code only used once to where its used 2013-01-01 00:08:34 -08:00
Adrian Cole 9745e9dc2f fixed covariance and warnings on ApiMetadata subclasses 2012-12-31 19:40:49 -08:00
Adrian Cole bb953c981e fix issue #1101: Move to Guava 14 BaseEncoding and Hashing 2012-12-31 14:48:31 -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 13d8b9c402 replaced @Timeout w/explicit properties 2012-12-30 12:31:43 -08:00
Adrian Cole 9b1872c6ff removed custom code that duplicates functionality of guava fallbacks 2012-12-27 16:54:31 -08:00
Adrian Cole 20c3426fc8 replaced jersey w/Uris & UriTemplates; removed complexity in url encoding and edge cases like matrix params 2012-12-24 14:32:59 -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
Adrian Cole 6563ba1ad9 Merge pull request #995 from LeanderBB/openstack-nova-diagnostics
Started work on adding the nova diagnostics command to JClouds
2012-12-04 07:47:31 -08:00
Adrian Cole e66219c16e normalized to CryptoStreams 2012-11-30 17:33:53 -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 878ec1bcab undid Serializable and added checkstyle InterfaceIsType:allowMarkerInterfaces=false 2012-11-18 09:23:44 -08:00
Adrian Cole 34d9d05eca Merge pull request #988 from jclouds/dont-generate-when-user-supplies-groupnames
Issue 1121: Don't generate SecurityGroup when user specifies securityGroupNames
2012-11-13 10:11:04 -08:00
Everett Toews 39d90f954e Added Predicates for handling Volume and Snapshot Status. Improved some comments. 2012-11-13 11:08:30 -06: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
Andrew Gaul 3ad36d25d5 Enforce no unnecessary parentheses via Checkstyle 2012-11-10 13:22:12 -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 08b9982384 Enforce modifier order via Checkstyle
Also fix violations, via:

find -name \*.java | xargs sed -i 's/final static/static final/'
find -name \*.java | xargs sed -i 's/static private/private static/'
find -name \*.java | xargs sed -i 's/static abstract/abstract static/'
2012-11-01 20:01:30 -07:00
Andrew Gaul 35ce78f15a Correct typos 2012-11-01 13:25:44 -07:00
Andrew Gaul 93d69ece2b Enforce newline at end of file via Checkstyle
Also address all warnings, via:

find -name \*.java | while read i; do if [ x`tail -c 1 $i` != x"" ]; then echo >> $i; fi; done
2012-10-29 22:12:44 -07:00