Commit Graph

631 Commits

Author SHA1 Message Date
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
David Ribeiro Alves d4453b2ac2 nodepool progress and AdminAccessBuilderSpec 2012-07-12 11:04:55 -07:00
Andrew Bayer 4aa8e1055a Issue #1020. Fill in GECOS field when creating a user.
We'll just use the username there as well for now.
2012-07-11 17:48:20 -07:00
Adrian Cole 9f05a64c8d usage update wrt group name 2012-07-05 10:12:21 -07:00
Adrian Cole 4d6e8fdd73 Issue 1005:openjdk install fails on ubuntu precise 2012-07-03 22:13:53 -07:00
Adrian Cole fb98ce82f7 cleanup of module binding, clarity in toStrings, reduced wrapper depth for memoized sets 2012-07-02 19:36:27 -07:00
Adrian Cole 547c73ab00 cleaner error messages in templateBuilder 2012-07-02 12:21:13 -07:00
Aled Sage 65b813b1be Issue 989: handles transient node-not-found in nodeRunning
Sometimes on aws-ec2, the client returns null (i.e. node not found).
This fix will cause us retry with the correct node-id, rather than
"forgetting" the original nodeId and retrying with null each time.
2012-06-26 10:09:07 +01:00
Adrian Cole 8c4e74296d added min-disk to compute2.clj 2012-06-19 18:40:45 -06:00
Adrian Cole 09d5e8add4 consistent ordering of hardware 2012-06-19 18:31:39 -06:00
vijaykiran 600e6e0feb Add minDisk to toString. 2012-06-18 11:03:25 +02:00
vijaykiran c3a6ecf757 Test for minDisk 2012-06-18 10:52:26 +02:00
vijaykiran bd675a22eb Merge upstream changes to template builder 2012-06-18 10:12:11 +02:00
Adrian Cole 3afdcb66b3 Issue 981:Quiet down jclouds.compute logger 2012-06-16 18:27:29 -04:00
Adrian Cole 585f44639b Issue 978:image location ignored in templateBuilder 2012-06-15 23:36:21 -04:00
Adrian Cole d980b4fd42 changed test poms to use provider.template and provider.ec2-template accordingly 2012-06-15 23:35:10 -04:00
Andrew Gaul 227dbf777a Correct spelled from delimeter to delimiter 2012-06-14 10:05:13 -04:00
Adrian Cole 73ddd9095c runscript data incorrectly in main source tree 2012-06-12 19:11:15 -07:00
Adrian Cole 4dd8fdd0e2 Issue 964:change script builder variable case format from lowerCamel to UPPER_UNDERSCORE 2012-06-12 19:11:09 -07:00
Adrian Cole cea605b2b0 Merge pull request #671 from aledsage/Fix-TemplateBuilder-javadoc
Fixes TemplateBuilder.from(...) javadoc
2012-06-12 09:51:59 -07:00
Aled Sage 899cd6ebd1 Fixes TemplateBuilder.from(...) javadoc 2012-06-12 17:39:29 +01:00
Aled Sage c50edefef6 Remove deprecated code
Removes PopulateDefaultLoginCredentialsForImageStrategy.execute().
The javadoc said it would be removed in jclouds 1.4.

Adds javadoc to ExecResponse.getExitCode, saying to be deleted in 1.6.
It was deprecated in 1.4 release (so 1.6 would be two releases time).
2012-06-11 15:03:31 -07:00
Adrian Cole 67d375dbd1 Issue 966: retry when exitstatus shows process is still running 2012-06-08 21:44:43 -07:00
Adrian Cole dcad558752 Issue 966: removed pid bracketing 2012-06-08 17:44:16 -07:00
Adrian Cole 5f29c52c19 updated javadoc for imageMatches 2012-06-05 11:35:43 -07:00
Adrian Cole 37e2cc7c1b predicates for image 2012-06-04 17:19:24 -07:00
Adrian Cole d2e1599c26 typo in timeout 2012-06-04 17:18:45 -07:00
Adrian Cole bcd3d50ad6 Issue 956:add getImage by id to ComputeService 2012-06-04 16:54:49 -07:00
Adrian Cole 9bf92e0403 Issue 955:introduce NodeMetadata/Image.backendStatus 2012-06-04 12:50:54 -07:00
Adrian Cole 7203286a90 formatting 2012-06-04 11:42:08 -07:00
Adrian Cole 92d1f1b471 moved to explicitly adding clojure projects 2012-06-03 17:28:56 -07:00
Adrian Cole 5a3f6011a2 removed junit test dependency 2012-06-03 17:26:57 -07:00
Ioannis Canellos b078adc3ce Removed fragments and dynamic imports. Added centralized control of the maven-bundle-plugin. 2012-06-03 19:41:54 +03:00
Adrian Cole 3ddff73609 fixed auth test 2012-06-01 15:55:43 -07:00
Adrian Cole 160cd273e2 group name in test was too long, making dns exceptions 2012-06-01 15:55:42 -07:00
Adrian Cole 96773b8a1b Issue 952:add status field to image 2012-05-30 21:22:10 -07:00
Adrian Cole 07c2c24721 Issue 949:Introduce: ComputeMetadataIncludingStatus; Deprecate NodeState -> NodeMetadata.Status 2012-05-29 20:41:10 -07:00
Adrian Cole 40bd08ee6b Issue 915: don't create full path on useradd 2012-05-22 23:10:41 -06:00
Aled Sage 8033edf72f Issue 889: fixes error msg on aborting early wait for node-running.
If nodeRunning retry-predicate returns early, then message says about
aborting prematurely rather than saying we waited for the full length
of time.
2012-05-22 21:29:25 +01:00
Adrian Cole 7d9bba750a more compatible delimiter as - doesn't work in rackspace 2012-05-21 20:19:42 -06:00
Adrian Cole 6e306175ee Merge pull request #646 from aledsage/Issue-915-AdminAccess-HomeDir
Issue 915: supports AdminAccess.adminHome, and UserAdd.home
2012-05-21 13:56:57 -07:00
Aled Sage 8b6af79214 Issue 915: supports AdminAccess.adminHome, and UserAdd.home
Previously, UserAdd only supported 'defaultHome'. Now it supports 
'home' as well. This involved changing the `mkdir` from making 
defaultHome to making the actual home (felt like easier 
production-code than getting the parent directory of 'home' to mkdir,
but turned out to be a lot of test-code changes!).

Added AdminAccess.adminHome, which is a direct pass-through to 
UserAdd.home.
2012-05-21 21:10:28 +01:00
Adrian Cole 67d8f9a0f4 image extension related classes under extensions package 2012-05-21 12:39:32 -06:00
Adrian Cole 2fef9008eb pretty json test 2012-05-21 10:29:54 -06:00
Adrian Cole 5c647df129 Issue 938:TemplateBuilderSpec 2012-05-21 02:45:25 -06:00