Commit Graph

158 Commits

Author SHA1 Message Date
Andrew Gaul 28d7a6f143 Prefer immutable over empty collections
The former does not create an object when calling iterator(), as
discussed here:

https://groups.google.com/d/msg/jclouds-dev/l7BviKDXreA/mP6Ow_RYxIgJ
2012-10-20 15:35:29 -07:00
Andrew Gaul 2b8b72758f Prefer Files.toString over FileInputStream 2012-10-10 21:33:22 -07:00
Andrew Gaul 71080cf2e1 Use Resources.toString where possible
Replaces calls to
CharStreams.toString(Resources.newReaderSupplier(...)).
2012-10-07 15:37:40 -07:00
Ioannis Canellos 93b869c44d Cleaned up unwanted dependencies from virtualbox api. Widened the version range on jetty and servlet. 2012-10-06 19:02:58 +03:00
Andrea Turli fa93b39c3d issue 384: improved ISession management; managed to start VBoxExperimentLiveTest with 30 guests; added ubuntu 10.04.4 support; paramentrized guest memory 2012-09-19 11:37:01 +02:00
Adrian Cole 28d766b9df bumped to 1.6.0-SNAPSHOT 2012-09-17 01:43:52 -07:00
Andrea Turli dc212cf460 issue 384: added support for ubuntu12.04; prepared for supporting remote host 2012-09-12 08:41:18 +02: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 c7f35d3bb1 removed invalid @Nullable usage and also usage of javax package usage 2012-08-11 20:59:16 -07:00
Adrian Cole b478b02bbe switched to binary-based package manager checks 2012-08-01 11:35:10 -07:00
Andrew Gaul ed8319dbae Use consistent and latest version of commons-io
Changelogs:
http://commons.apache.org/io/upgradeto2_0.html
http://commons.apache.org/io/upgradeto2_2.html
http://commons.apache.org/io/upgradeto2_4.html
2012-07-30 10:58:32 -07:00
Andrew Gaul 8ed0e28e68 Spelling corrections 2012-07-26 22:39:35 -07:00
Andrew Phillips f3419e90c9 Made virtualbox tests compatible with Windows 2012-07-18 09:51:01 -04:00
Adrian Cole 05fd64af44 cleaned up http builders and expect tests 2012-07-15 01:50:38 -07:00
Adrian Cole d980b4fd42 changed test poms to use provider.template and provider.ec2-template accordingly 2012-06-15 23:35:10 -04:00
Adrian Cole dcad558752 Issue 966: removed pid bracketing 2012-06-08 17:44:16 -07:00
Adrian Cole bcd3d50ad6 Issue 956:add getImage by id to ComputeService 2012-06-04 16:54:49 -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 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 67d8f9a0f4 image extension related classes under extensions package 2012-05-21 12:39:32 -06:00
Adrian Cole 5c647df129 Issue 938:TemplateBuilderSpec 2012-05-21 02:45:25 -06:00
Aled Sage 83c9ecc3d8 Issue 858: moved RetryIfSocketNotYetOpen from compute/ to labs/virtualbox/ 2012-05-17 11:29:30 +01:00
Adrian Cole a6cc00e078 Merge pull request #603 from dralves/image-extension-all
image extension working on hpcloud, virtualbox and aws-ec2, cloudservers...
2012-05-10 16:43:27 -07:00
David Ribeiro Alves f63c5a44c6 corrected formating issues and added headers 2012-05-10 09:07:12 +01:00
Adrian Cole d99c18140e cleanup on vbox 2012-05-07 11:51:29 -07:00
Andrew Gaul b0cd47befb Prefer ImmutableMap for static ErrorCode map
Also mark member as final and fix line wrapping.
2012-05-03 15:39:07 -07:00
David Ribeiro Alves 082158ac3f image extension working on hpcloud, virtualbox and aws-ec2, cloudservers implemented but has issues 2012-05-03 03:55:40 +01:00
Andrew Gaul 646f8d8b13 Improve use of Throwables.propagate
Throwing the return value removes some unneeded asserts and return
statements.  Also remove some useless and misspelled propogate
wrappers.
2012-05-02 11:05:22 -07:00
Andrew Gaul 198d19714e Prefer unsynchronized StringBuilder
A few instances remain due to EasyMock and Matcher.
2012-04-30 09:50:18 -07:00
Matt Stephenson 381851b8ab Remove IPSocket class, replace with Guava's HostAndPort class. 2012-04-25 17:52:01 -07:00
Adrian Cole df7d2acbb4 wrapper -> view 2012-04-23 19:14:36 -07:00
Adrian Cole 886d2cafb9 created base Context class with ProviderMetadata and Identity 2012-04-23 16:16:51 -07:00
Andrew Bayer 9b80b984a4 Switch to calling apt-get update before every apt-get install.
I found that the previous "apt-get install || (apt-get update; apt-get
install) didn't work in all cases, but switching to always calling
apt-get update got things working properly.
2012-04-19 13:02:47 -07:00
Adrian Cole 98a205b603 Issue 891: ensure we run apt update when install jdk fails 2012-04-18 15:02:06 -07:00
David Ribeiro Alves 05212b75fa implemented image extension 2012-04-18 09:37:44 +01:00
Andrew Gaul a3161ba7ba Throw return value instead of returning null
Throwables.propagate always throws its argument and throwing its
impossible return value better represents our intent than returning
null.
2012-04-16 13:45:23 -07:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07:00
Adrian Cole 23cb01f977 refactor PropertiesBuilder and related types into ApiMetadata and ProviderMetadata, and update all usage 2012-04-11 19:47:09 -06:00
Adrian Cole af3a226b3d Issue 894:update to guava 12 2012-04-02 11:44:10 -07:00
Adrian Cole 8cf71adedf Merge pull request #537 from dralves/vbox-linux
oneiric update and a few other goodies
2012-04-02 07:28:28 -07:00
Adrian Cole 764e0907f7 Issue 657:ApiMetadata 2012-04-01 18:43:31 -07:00
David Ribeiro Alves 17c1abdb71 updated readme to include paswwordless ssh requirement 2012-04-02 01:15:08 +01:00
David Ribeiro Alves f7f241a12f reverted the preseed and corrected a test to account for multiple masters 2012-04-01 22:07:50 +01:00
David Ribeiro Alves ba7a981a54 added unit test for defaultimagespredicate and corrected preseed 2012-04-01 21:06:07 +01:00
David Ribeiro Alves a715b0e5ba removed mac osx reference 2012-04-01 00:50:29 +01:00
David Ribeiro Alves b62ef9ba9e updated ubuntu, implemented multiple images for guests, consolidated jetty and enforced masters creation on itests 2012-04-01 00:03:11 +01:00
Andrea Turli abeeb4b936 issue 384: fixed IMachineToNodeMetadataLiveTest as suggested by dralves 2012-03-31 11:44:47 +01:00