Ignasi Barrera
40f31786c5
JCLOUDS-512: Implement the ImageCache
...
This commit refactors the ImageCacheSupplier to act as a
proper cache. It is used by the ImageExtesion and all operations
on the images are propagated to the cache.
A method has also been added to the TemplateBuilder to let users
force a cache refresh. There have been several requests to provide a way
to disable image caching in the compute abstraction, and this new method
should fix that.
2016-01-19 11:25:09 +01:00
Graeme-Miller
75e2c6999c
Instead of setting up static NAT for all networks, we setup static NAT for default network only
2015-12-11 16:39:20 +01:00
John McDonnell
ef816119b1
AS per JCLOUDS-1012 project and projectId parameters are not supported. This commits adds the 2 parameters to the usage response.
2015-10-13 10:35:13 +02:00
John McDonnell
c73b82b58b
As in JCLOUDS-991 it appears size is missing as a UsageResponse parameter, particularily for Volume usages. This commit adds it into the UsageRecord class.
2015-10-07 20:42:47 +02:00
Timur Alperovich
7151a3875b
JCLOUDS-217: Cloudstack: avoid encoded strings.
...
jclouds should not use encoded strings in tests for Cloudstack.
2015-09-17 13:08:44 -07:00
Timur Alperovich
b87ca1b33a
JCLOUDS-217: CloudStack do not encode parameters.
...
Parameters when creating an HTTP request should not be encoded in the
CloudStack tests, as they end up being doubly encoded.
2015-09-08 15:19:03 -07:00
Irmo Manie
9be7339c32
JCLOUDS-993 - Add missing parameters to `VirtualMachineApi`
...
- `serviceOfferingId` at `#changeServiceForVirtualMachine`
- `options` of type `UpdateVirtualMachineOptions` at
`#updateVirtualMachine`
2015-09-06 23:59:15 +02:00
Irmo Manie
89f81840d2
JCLOUDS-995 - Add `userData` property to `CloudStackTemplateOptions` and map it in the underlying adapter.
2015-09-06 23:58:21 +02:00
Oliver Gondža
edde721937
JCLOUDS-962: Make all @Provider methods final
2015-09-02 23:54:44 +02:00
Andrew Gaul
98b3105669
Address error-prone errors
...
Mostly of the form, Collection.size() >= 0.
2015-07-30 15:40:03 -07:00
Karel Vervaeke
2c53ef38a5
JCLOUDS-901 Moved CloudStack javadocs around
...
During the rename from *Client to *Api the javadocs were shuffled
around. This commit moves them back to the correct methods.
2015-05-07 15:18:39 +02:00
Andrew Gaul
df8407a1e8
Fix error-prone StringEquality
2015-03-30 19:06:48 -07:00
Ignasi Barrera
f469cf8b51
Next development version 2.0.0-SNAPSHOT
2015-03-24 10:52:01 +01:00
Ignasi Barrera
bb41ed4341
Apache jclouds 1.9.0 release
2015-03-24 10:35:42 +01:00
Jeremy Daggett
d3c1e2eab4
Use AutoService to generate service loader metadata
2015-01-09 11:22:12 -08:00
Adrian Cole
3980cd791b
Revert "JCLOUDS-653: Address Guava 18 deprecations"
...
This reverts commit 95cfc0d950
.
Many conflicts due to duration between above commit and now
2014-10-24 10:45:58 -07:00
Andrew Bayer
c85453503e
JCLOUDS-756 - Adding tags/userMetadata to NodeMetadata transform
2014-10-22 10:09:09 -07:00
Andrew Bayer
43bb86f085
JCLOUDS-756. Add support for tags to CloudStack.
2014-10-21 14:18:12 -07:00
Andrew Gaul
489850d7db
Fix GuiceAssistedInjectScoping error-prone warning
2014-10-12 15:47:30 -07:00
Andrew Phillips
3e082c8945
Minor formatting cleanup
...
Follow-up to e5fb0b6
2014-10-11 21:44:22 -04:00
Ignasi Barrera
e5fb0b607d
Allow to configure CIDR exclusion blocks
2014-10-11 14:04:00 +02:00
Adrian Cole
b9525a0877
JCLOUDS-40 unasync Fallback
2014-10-06 13:14:59 -07:00
Adrian Cole
99e217b720
Move off confusing test names.
2014-10-05 17:22:18 -07:00
Andrew Gaul
46daeae1d9
Address masked fields FindBugs warning
2014-09-02 15:24:34 -07:00
Andrew Gaul
480f0e883d
Prevent instantiation of utility classes
...
Also prevent extension.
2014-08-26 12:23:36 -07:00
Andrew Gaul
74fb8f0183
Add whitespace after semicolons
...
Also correct some bad line-wrapping.
2014-08-26 11:06:00 -07:00
Jeremy Daggett
e711275fb1
Prefer isEmpty() for collections rather than size()
2014-08-20 11:07:48 -07:00
Andrew Gaul
95cfc0d950
JCLOUDS-653: Address Guava 18 deprecations
...
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:12:21 -07:00
Andrew Phillips
e3d9851216
Up to 2.0.0-SNAPSHOT after the 1.8.0 release
2014-08-05 09:10:24 +02:00
Aled Sage
1fb286809e
JCLOUDS-549: Fix NPE in LoginCredentials.toString
...
- also deprecates LoginCredentails.get(Password|PrivateKey)
- use getOptionalPassword and getOptionalPrivateKey instead
2014-07-18 14:09:18 +01:00
Andrew Gaul
fb60d76704
JCLOUDS-622: Remove most vestiges of InputSupplier
...
Guava 16 deprecated InputSupplier and a future release will remove it.
2014-07-16 16:07:59 -07:00
Andrew Gaul
8fa209b15e
Use more specific testng asserts where possible
...
These asserts yield more informative error messages. Found with:
grep -rI 'assertTrue(.* =='
grep -rI 'assertTrue(.* !='
grep -rI 'assertTrue(.*\.equals('
2014-06-24 13:54:01 -07:00
Andrew Gaul
9cdd53b0b7
JCLOUDS-546: Remove Javadoc @author annotations
...
Annotations removed with:
find -name \*.java | xargs sed -i /@author/d
Empty Javadoc removed with multiple iterations of:
find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
2014-06-07 21:44:54 -07:00
Andrew Gaul
79c289da9d
Replace deprecated calls to LoadingCache.apply
2014-05-17 17:39:42 -07:00
Andrew Gaul
84440e5dc1
Update pre-ASF copyright notices
2014-05-12 13:30:28 -07:00
Andrew Gaul
67c2b5f6b9
Enable whitespace around Checkstyle rule
2014-05-08 18:31:47 -07:00
Andrew Gaul
2d88f5164e
Enforce that all commas have trailing whitespace
2014-05-08 18:28:08 -07:00
Hugo Trippaers
0401959157
JCLOUDS-347: Implement a poor-mans rollback if CloudStack static NAT creation fails
2014-03-27 13:01:40 +01:00
Andrew Gaul
9416416ff4
Address Checkstyle violations
2014-01-19 20:51:51 -08:00
Andrew Bayer
e2cd6d8322
JCLOUDS-416. Add TemplateOptions#networks.
...
- Adds networks field/methods to TemplateOptions.
- Adds them to children as well for legacy reasons.
- Deprecates CloudStackTemplateOptions#networkIds methods in favor of #networks.
- TODO: Modify compute abstraction layer for provisioning for nova,
EC2, et al to take advantage of this.
2014-01-07 16:15:48 -08:00
Andrew Gaul
c7b0f66544
Replace calls to Closeables.closeQuietly
...
Guava 16 removes this API. Replace with Closeables2.closeQuietly.
References JCLOUDS-413 and JCLOUDS-415.
2013-12-21 12:30:59 -08:00
Andrew Bayer
c1ee11d9bd
Updating to 1.8.0-SNAPSHOT
2013-12-17 11:31:56 -08:00
Hyeonu Jeong
6d9784c4b5
Fix CloudStack EgressFirewall request parameter name
...
createEgressFirewall needs networkid instead of ipaddressid:
http://download.cloud.com/releases/3.0.6/api_3.0.6/root_admin/createEgressFirewallRule.html
2013-12-16 12:58:50 -08:00
Andrew Gaul
0398276be3
Remove redundant imports
...
Also enforce no new ones via Checkstyle
2013-12-12 18:23:43 -08:00
Andrew Gaul
828d8790c2
Enforce no unused imports via Checkstyle
...
Removed with:
mvn checkstyle:checkstyle --quiet -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | while read i; do echo $i | sed -n 's/\([^:]*\):\([^:]*\):.*/sed -i \2d \1/p' | bash; done
2013-12-11 17:27:43 -08:00
Andrew Gaul
4cef85d1cd
Address Checkstyle violations in tests
2013-12-09 14:40:07 -08:00
Andrew Gaul
1043d851a7
Correct jcloud -> jclouds typos
2013-12-01 11:36:08 -08:00
Andrew Bayer
8b94ee589b
JCLOUDS-218. List templates in all known projects for CloudStack.
2013-11-26 10:00:09 -08:00
Andrew Bayer
23e43b2c8d
JCLOUDS-381. Allow explicit naming of nodes via TemplateOptions.
2013-11-21 10:15:25 -08:00
Andrew Bayer
cf597121b2
Cleaning up CloudStack SecurityGroupExtension work
2013-11-01 17:06:54 -07:00