Adrian Cole
d57197c103
cleaned up code references detected as unnecessary by UEC plugin
2013-01-12 12:31:00 -08:00
Adrian Cole
6e554298ab
ensure extra metadata from provider doesn't trip metadata tests
2013-01-01 17:18:55 -08:00
Adrian Cole
e42cb787f6
revived jetty test
2013-01-01 17:17:13 -08:00
Adrian Cole
79334201bf
added ability to run scripts literally
2013-01-01 17:09:51 -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
0ee2c56668
added new hardware id predicate
2012-12-31 22:11:09 -08:00
Adrian Cole
b19e4a7a0f
removed TransformingSetSupplier as it is replaced with FluentIterable
2012-12-31 20:46:04 -08:00
Adrian Cole
9745e9dc2f
fixed covariance and warnings on ApiMetadata subclasses
2012-12-31 19:40:49 -08:00
Adrian Cole
038e550d2d
moved off deprecated FluentIterable methods
2012-12-30 13:20:09 -08:00
Adrian Cole
472f6dcc32
wave 2 of refactoring ConcurrentOpenSocketFinder and test
2012-12-03 21:52:25 -08:00
Adrian Cole
565a54164b
ConcurrentOpenSocketFinder cleanup
2012-12-02 13:49:30 -08:00
Andrew Phillips
19952dec47
Refactoring ConcurrentOpenSocketFinderTest.testChecksSocketsConcurrently to try to prevent timeouts
2012-11-27 21:06:23 -05:00
Adrian Cole
878ec1bcab
undid Serializable and added checkstyle InterfaceIsType:allowMarkerInterfaces=false
2012-11-18 09:23:44 -08:00
Andrew Gaul
b9e4543cdb
Enforce no use of star imports via Checkstyle
2012-11-13 20:51:59 -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
3ad36d25d5
Enforce no unnecessary parentheses via Checkstyle
2012-11-10 13:22:12 -08:00
Andrew Gaul
cca02ae02d
Improve use of Splitter.omitEmptyStrings
2012-11-07 22:30:52 -08:00
Adrian Cole
c7c27e12e2
improved javadoc including where to look for alternative syntax
2012-11-07 12:02:52 -03:00
Adrian Cole
64a8fd0cbb
Merge pull request #961 from andrewgaul/checkstyle-collection-helpers
...
Enforce use of Collection helpers via Checkstyle
2012-11-05 11:38:49 -08:00
Adrian Cole
6eb0cd197f
Merge pull request #945 from nacx/scriptbuilder-install
...
Improved setupPublicCurl script
2012-11-05 11:30:44 -08:00
Andrew Gaul
3d191253ec
Enforce use of Collection helpers via Checkstyle
...
This ensures that we do not repeat the type name. Some instances remain
due to auto-generated code in dmtf/cim/Cim*.
2012-11-04 20:45:49 -08:00
Aled Sage
3f3037c729
Support for setting RunScriptOnNode.Factory
...
- Set default RunScriptOnNode.Factory impl using @ImplementedBy,
rather than hardcoding the binding
2012-11-04 22:29:52 +00:00
Ignasi Barrera
652bc2f75e
Improved setupPublicCurl script
...
With this changes, apt and yum helper functions can be used to install
many packages at one as follows:
ensure_cmd_or_install_package_apt git git-core build-essentials <...>
2012-11-04 19:43:39 +01: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
Adrian Cole
5da5161485
Merge pull request #909 from andrewgaul/clear-container-timeout-exception
...
Throw TimeoutException from awaitCompletion
2012-10-30 08:57:20 -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
Andrew Gaul
336ccfa2e6
Throw TimeoutException from awaitCompletion
...
This is a common error that callers should interpret correctly. For
DeleteAllKeysInList, we integrate into its retry and backoff logic,
and for other callers, we continue to propagate RuntimeException.
2012-10-25 13:50:29 -07:00
Adrian Cole
bc82296702
Issue 1103: isolate polling of nodes into its own class
2012-10-20 11:05:18 -07:00
Everett Toews
add1182960
Made the polling period between updates for servers and images configurable when using the ComputeService.
2012-10-04 20:45:20 -05:00
Adrian Cole
1edbb0ab4b
override-login-privateKey should be :override-login-private-key
2012-10-04 10:28:14 -07:00
Adrian Cole
28d766b9df
bumped to 1.6.0-SNAPSHOT
2012-09-17 01:43:52 -07:00
Adrian Cole
8ca0dc3c1d
better error reporting
2012-09-16 21:28:51 -07:00
Adrian Cole
2ebd5f0247
not all cloud providers accept mixed case metadata keys
2012-09-16 16:20:45 -07:00
Adrian Cole
a70e3adb20
Issue 1075:switch to use jetty for java install/web service tests
2012-08-27 00:10:18 -07:00
Dies Koper
b7666da170
nslookup on CentOS 6.2 doesn't set error code when failing, so grep expected output instead
2012-08-27 14:31:33 +10:00
Dies Koper
cc5dc55bb0
configure .gitattributes to not convert shell scripts to CRLF on Windows
2012-08-24 17:29:40 +10:00
Adrian Cole
0d805574ed
Issue 1070:TemplateBuilderSpec with loginUser=user:password doesn't use that for login credentials
2012-08-22 12:05:33 -07:00
Dies Koper
c684a59cb3
add predicates and template builder live tests for location scopes SYSTEM and NETWORK
2012-08-06 23:29:26 +10:00
Adrian Cole
513fe2ee3e
fixed typo
2012-08-01 21:54:37 -07:00
Adrian Cole
b478b02bbe
switched to binary-based package manager checks
2012-08-01 11:35:10 -07:00
Andrew Gaul
8ed0e28e68
Spelling corrections
2012-07-26 22:39:35 -07:00
Adrian Cole
3e2e24493e
Issue 981: better toString on template
2012-07-26 11:28:38 -07:00
Adrian Cole
5d6e005e8b
Issue 1030:defaults not picking up on compute.templateOptions()
2012-07-25 00:33:39 -07:00
Adrian Cole
32da070317
revised tests that AdminAccess change recently broke
2012-07-23 19:28:58 -07:00
Andrew Gaul
985cccff9a
Prefer valueOf over explicit object creation
...
This allows use of cached values. Patched with:
find -name \*.java | xargs sed -i 's/new Boolean(false)/Boolean.FALSE/g'
find -name \*.java | xargs sed -i 's/new Boolean(true)/Boolean.TRUE/g'
find -name \*.java | xargs sed -i 's/new Boolean(/Boolean.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Integer(/Integer.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Long(/Long.valueOf(/g'
2012-07-22 21:01:46 -07:00
Andrew Gaul
a40983a39d
Prefer InputSupplier helpers
...
These ensure that inputs are closed properly.
Updated with: find -name \*.java | xargs sed -i
's/toStringAndClose(\(.*\)\.getInput())/toString(\1)/'
2012-07-18 17:42:48 -07:00
Adrian Cole
05fd64af44
cleaned up http builders and expect tests
2012-07-15 01:50:38 -07:00