222 Commits

Author SHA1 Message Date
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
Andrew Gaul
709ca69a2d Enforce that all imports are used via Checkstyle
Also remove all unused imports, via:

mvn checkstyle:checkstyle -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | awk -v FS=: '/warning/{print "sed -i " $2 "d " $1}' | while read i; do $i; done
2012-10-29 17:11:08 -07:00
Adrian Cole
3a00a2c389 Merge pull request #924 from andrewgaul/copyright-notice
Address minor copyright notice typos
2012-10-29 16:50:01 -07:00
Aled Sage
09425f4f69 Version upgrades
- gson from 2.2 to 2.2.2
- guava from 13.0 to 13.0.1
- rocoto from 6.1 to 6.2
- log4j from 1.2.16 to 1.2.17
- log back from 1.0.0 to 1.0.7
- httpclient from 4.1.3 to 4.2.2
- netty from 3.3.1 to 3.5.9
- slf4j from 1.6.4 to 1.7.2
- testing from various to 6.8
- jetty from 8.1.1 to 8.1.7
- snakeyaml from 1.10 to 1.11
2012-10-29 13:00:44 +00:00
Andrew Gaul
e7dde3aff5 Address minor copyright notice typos 2012-10-28 23:27:56 -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
28d766b9df bumped to 1.6.0-SNAPSHOT 2012-09-17 01:43:52 -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
a0c383334e Boolean -> boolean 2012-09-16 14:58:07 -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
7d70b5ddc3 Updated NovaComputeService and FloatingIp cache to deal with extensibility 2012-08-23 07:29:40 +03:00
Andrew Donald Kennedy
931aa7838a Make all Nova extensions extensible 2012-08-23 06:46:25 +03:00
Andrew Donald Kennedy
8ae33f2315 Added binding for optional extensions 2012-08-14 02:23:54 +01: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