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
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
Andrea Turli
50815d2483
issue 384: added support for creation of hostOnly interface with DHCP enabled
2012-03-31 11:44:47 +01:00
Andrea Turli
af309232ad
issue 384: preparing vbox 1.5.1 - adapt ContextModule to external changes
2012-03-31 11:44:47 +01:00
Andrea Turli
e27db18cfd
issue 384: vbox 1.5.1
2012-03-31 11:44:47 +01:00
Andrea Turli
a2922006c9
issue 384: preparing 1.5.0-beta - guestAdditions installations fixed
2012-03-31 11:44:47 +01:00
Adrian Cole
5c6ce9f081
organize imports
2012-03-28 03:37:48 -04:00
Adrian Cole
025396be37
added new properties object
2012-03-28 03:37:41 -04:00
David Ribeiro Alves
6743f0bbf6
corrected spacing and new lines for README.md
2012-03-28 00:37:08 +01:00
David Ribeiro Alves
3be85a61de
updated readme.md
2012-03-27 20:39:02 +01:00
Adrian Cole
59f1d0b316
rename vbox live test
2012-03-22 14:46:03 -07:00
David Ribeiro Alves
893d2d9e55
removed lock printous
2012-03-22 17:58:58 +00:00
David Ribeiro Alves
1f31e96a9f
fixed locking transient bug
2012-03-22 17:49:04 +00:00
David Ribeiro Alves
28bd62edfc
added a unit test for guest additions installer. installguestadditions is now able to mount the pre-downloaded iso
2012-03-22 15:16:19 +00:00
David Ribeiro Alves
582423bd2d
commented machine utils
2012-03-22 03:46:22 +00:00
David Ribeiro Alves
6b4a4c6054
consolidated locking machines as locking was crashing all over the place
2012-03-22 03:36:42 +00:00
David Ribeiro Alves
4a32b0107f
parsed names from vm so that nodemetadata has correct group and name (updated unit test), corrected transient bug obtaining locks for vms
2012-03-22 02:44:41 +00:00
David Ribeiro Alves
aceaaf0eb0
updated readme
2012-03-21 22:36:14 +00:00
David Ribeiro Alves
5bca27923c
corrected IMachineToNodeMetadata to comply with the new non-natted ip
2012-03-21 22:19:03 +00:00
David Ribeiro Alves
92a940e95d
guests are now accessible because host-only ips are assigned in the same network as the default vbox host-only network (vboxnet0)
2012-03-21 22:04:05 +00:00
David Ribeiro Alves
68290ba2b2
added mock identity prop to prevent NPE in some cases
2012-03-21 22:04:05 +00:00
David Ribeiro Alves
d742d53f6b
reverted formatting changes
2012-03-21 22:03:48 +00:00
David Ribeiro Alves
f4d0e18320
prevented tests from failing due to missing property
...
!
2012-03-21 22:02:11 +00:00
David Ribeiro Alves
c4a02a6753
added ssh command to log into hosts
2012-03-17 01:27:36 +00:00
David Ribeiro Alves
fc8c5417e1
updated vbox readme
2012-03-17 01:17:31 +00:00
David Ribeiro Alves
e4259b5cc8
one machine was being wasted due to bad ip reporting
2012-03-15 07:58:04 +00:00
David Ribeiro Alves
d987e847ca
made vbox start nodes in HEADLESS mode (since we don't have access after AdminAccess anyway
2012-03-15 06:44:58 +00:00
David Ribeiro Alves
641f530e0c
preseed.cfg was being server from target/classes but not from the jar
2012-03-15 06:33:37 +00:00
David Ribeiro Alves
c9c4a1aef0
made jetty serve preseed.cfg from inside the jar (was serving from src/test/resources)
2012-03-15 04:42:33 +00:00
David Ribeiro Alves
04f72a67d7
made taking snapshots more resilient with retries
2012-03-15 03:24:53 +00:00
David Ribeiro Alves
b1333b1f2c
moved deleting gshadow lock to the clones since it was reappearing on the master
2012-03-15 03:03:53 +00:00