Ioannis Canellos
0932195d33
Specified a wider version range for netty.
2012-10-31 11:11:12 +02:00
Ioannis Canellos
f76b67ac33
Specified a wider version range for rocoto.
2012-10-31 11:10:57 +02:00
Ioannis Canellos
f49cca46f0
MetadataBundleListener now works with multiple providers/apis per bundle. Added a class assignable check in MetadataBundleListener. Added unit test for MetadataBundleListener. Fixed spelling and formatting of MetadataBundleListener and MetadataBundleListenerTest.
2012-10-31 11:10:20 +02:00
Andrew Gaul
b3da8e4603
Remove filesystem dependency on Apache commons-io
2012-10-30 20:48:58 -07:00
Adrian Cole
cd330a759b
Merge pull request #931 from abiquo/abiquo-live-tests
...
Added live tests in the Abiquo provider
2012-10-30 11:32:38 -07:00
Ignasi Barrera
98787ecc00
Override setupContext and tearDownContext to avoid ordering issues when running live tests
2012-10-30 17:13:09 +01: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
Adrian Cole
7a46979e66
Merge pull request #922 from andrewgaul/checkstyle-newline-eof
...
Enforce newline at end of file via Checkstyle
2012-10-30 08:55:16 -07:00
Adrian Cole
c5892ad522
Merge pull request #930 from andrewgaul/filesystem-test-teardown
...
Simplify FilesystemAsyncBlobStoreTest.tearDown
2012-10-30 08:50:11 -07:00
Susana Acedo
6b257340eb
Added live tests in the Abiquo provider
...
This commit adds a few more relevant live tests to be executed by any
user, covering the virtual machine deployment and their lifecycle.
2012-10-30 11:21:18 +01:00
Andrew Gaul
fd26ba0d40
Simplify FilesystemAsyncBlobStoreTest.tearDown
...
We should not swallow an IOException and resourcesToBeDeleted only ever
has one file.
2012-10-30 03:01: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
Adrian Cole
7eadbf84ad
Merge pull request #923 from andrewgaul/checkstyle-unused-imports
...
Enforce that all imports are used via Checkstyle
2012-10-29 20:55:22 -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
3a2905ee1e
Merge pull request #926 from andrewgaul/to-string-and-close-exception-handling
...
Propagate exceptions from toStringAndClose
2012-10-29 16:50:37 -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
Adrian Cole
afa3018dd0
Merge pull request #918 from andrewgaul/hpcloud-clearcontainer
...
Work around failed CDN metadata lookups with HPCS
2012-10-29 16:48:04 -07:00
Adrian Cole
68165154ed
Merge pull request #916 from andrewgaul/checkstyle
...
Add Checkstyle configuration for line length
2012-10-29 16:47:00 -07:00
Andrew Gaul
3c7b9652f4
Work around failed CDN metadata lookups with HPCS
...
Previously BlobStore.list and thus BlobStore.clearContainer serialized
on synchronous and failed CDN lookups. This effectively prevents
clearing any large container. We cache a negative entry to work
around this. When HP improves their CDN support we should remove this
workaround.
2012-10-29 15:31:03 -07:00
Andrew Gaul
e9edce7bae
Merge pull request #925 from aledsage/upgrade-dependencies
...
Version upgrades
2012-10-29 11:08:27 -07:00
Andrew Gaul
1d3f36defc
Merge pull request #911 from abiquo/timeunit-fix
...
Use the TimeUnit parameter in async monitor
2012-10-29 11:05:21 -07:00
Andrew Gaul
aad4d4dbcf
Propagate exceptions from toStringAndClose
...
This method already declares throws IOException and callers should
handle these errors appropriately.
2012-10-29 09:37:46 -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
Andrew Gaul
44f6318759
Add Checkstyle configuration for line length
...
Enforces line length of 120 characters, which fails due to many
violations.
2012-10-26 10:11:42 -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
b855d98f13
Merge pull request #913 from rackspace/include-rackspace-cloudservers-uk
...
Added rackspace-cloudservers-uk to allcompute.
2012-10-25 09:58:40 -07:00
Everett Toews
8842c672cc
Added rackspace-cloudservers-uk to allcompute.
2012-10-25 09:51:10 -05:00
Adrian Cole
08516ff5d4
Merge pull request #907 from pandriani/master
...
[CloudStack] allow "," as decimal separator in cpuUsed regular expression
2012-10-24 20:08:03 -07:00
Adrian Cole
cd30f9ebae
Merge pull request #912 from andrewgaul/files-copy
...
Prefer Files.copy to copy streams
2012-10-24 20:00:26 -07:00
Andrew Gaul
caccd9cf4c
Prefer Files.copy to copy streams
2012-10-24 17:44:05 -07:00
Pasquale Andriani
256ba24dd0
added test for allowing ',' decimal separator
2012-10-25 01:04:19 +02:00
Pasquale Andriani
dfbdc02ea4
Merge remote-tracking branch 'upstream/master'
2012-10-24 22:58:25 +02:00
Ignasi Barrera
7bd6b016ab
Added unit tests for the timeunit field and fixed javadoc
2012-10-24 19:40:32 +02:00
Ignasi Barrera
25bd57379d
Use the TimeUnit parameter in async monitor
2012-10-24 18:16:06 +02:00
Adrian Cole
4e35658940
Merge pull request #906 from abiquo/abiquo-formatting
...
Formatted Abiquo code following jclouds guidelines
2012-10-23 14:24:06 -07:00
Adrian Cole
08933d9432
Merge pull request #908 from andrewgaul/hp-bad-indent
...
Fix bad indent
2012-10-23 14:23:54 -07:00
Andrew Gaul
bd3ed72396
Fix bad indent
2012-10-23 11:33:38 -07:00
Pasquale Andriani
8cde490aad
allow "," as decimal separator in cpuUsed regular expression
2012-10-23 19:50:26 +02:00
Ignasi Barrera
875563d0f1
Formatted code following jclouds guidelines
...
This commit formats all the Abiquo provider following the jclouds
formatting guidelines. It uses the Eclipse default formatting
configuration and a 3 spaces indentation and a line wrap fo 120
characters.
2012-10-22 20:28:56 +02:00
Adrian Cole
97004c7f32
updated remote-resources plugin version
2012-10-21 16:41:23 -07:00
Adrian Cole
77d772d4b4
Merge pull request #890 from abiquo/simplify-compute
...
Improved Abiquo ComputeService
2012-10-21 16:20:22 -07:00
Adrian Cole
546e027db0
Issue 1113:Move perftest to new jclouds-perftest-s3 repository
2012-10-21 16:14:51 -07:00
Adrian Cole
e43df10f39
Issue 1111:Move tweetstore to new jclouds-tweetstore repository
2012-10-21 15:27:45 -07:00
Adrian Cole
4e2834b6cd
Issue 1112:Move antcontrib to new jclouds-ant repository
2012-10-21 15:07:18 -07:00
Ignasi Barrera
e9502ab81e
Applied fixes suggested in last review
...
Renamed VirtualMachineTemplateWithZone to
VirtualMachineTemplateInVirtualDatacenter and encoded the id using a
slash instead of the hyphen.
2012-10-21 22:46:14 +02:00
Adrian Cole
eb84b8a974
Merge pull request #905 from andrewgaul/immutable-of
...
Prefer immutable over empty collections
2012-10-20 16:51:54 -07:00
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
Ignasi Barrera
26f801058d
Improved ComputeService and delegate virtual datacenter election to TemplateBuilder
...
Made a few changes to adapt the Abiquo compute service
implementation to the most common use cases:
* Do not attempt to create a VDC. Regualr users may not have
permissions to create VDCs, so don't try to create them. A
VDC compatible with teh template being deployed must exist.
* Configure nodes with one public ip by default, and if no
public ip is available, assign one from the default private
VLAN for the selected virtual datacenter.
Also fixed some concept mappings between Abiquo and jclouds:
Virtual datacenter (zone) election should be performed by the
TemplateBuilder and not by the ComputeServiceAdapter. This commit
refactors the current adapter to implement the right behavior.
The two main concepts in this refactor are about locations. Now,
physical datacenters will be scoped to Region locations, and virtual
datacenters to Zones.
Images in Abiquo are scoped to Regions (each physical datacenter has a
set of available images), and hardware profiles will be used to scope
images to a particular virtual datacenter. Since a virtual datacenter in
Abiquo is just a container that provides compute resources in a specific
virtualization technology, each image will have one hardware profile
scoped to each compatible virtual datacenter (zone).
This way, the virtual datacenter election will be made using the
TemplateBuilder, by selecting the desired hardware profile.
2012-10-20 21:25:51 +02:00
Adrian Cole
38d3b7d76c
Merge pull request #895 from jclouds/isolate-polling
...
Issue 1103: isolate polling of nodes into its own class
2012-10-20 12:06:45 -07:00