25 Commits

Author SHA1 Message Date
Andrew Gaul
78ce2baedd 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:15:00 -07:00
Andrew Gaul
be792abf5e Migrate InputSupplier callers to ByteSource
A future version of Guava will remove InputSupplier.
2014-05-17 00:39:09 -07:00
Andrew Gaul
c94d11f900 Make constants final classes instead of interfaces
This commit prohibits implementation of the empty interface and
instantiation of the class.  Refer to _Effective Java_ item 19 for
more background.
2014-05-16 09:49:16 -07:00
Andrew Bayer
f6a7bba3d6 JCLOUDS-416. Use new TemplateOptions#networks field, albeit a bit janky. 2014-01-08 10:59:36 -08:00
Andrew Bayer
582e9b38e6 Updating to 1.8.0-SNAPSHOT 2013-12-17 11:51:02 -08:00
Andrew Bayer
c7f073ade7 JCLOUDS-393. Move to GCE API v1. 2013-12-12 17:07:05 -08:00
Andrew Gaul
4d7865849a 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:29:36 -08:00
Andrew Gaul
18359aecd5 Address Checkstyle violations 2013-12-01 23:22:47 -08:00
Andrew Bayer
aca161fd96 JCLOUDS-381. Allow explicit naming of nodes, decouple group identity from instance name. 2013-11-22 09:35:01 -08:00
Richard Downer
c0ccb55d8c JCLOUDS-367: GCE nodes n>1 ignoring inboundPort
The inboundPort settings of the first node in the group dictated the firewall configuration. Subsequent nodes added to the group had their inboundPort settings ignored.

GCE firewalls specify their "target" (VM instances) by means of tags - if a targetTag on a firewall matches the tag on an instance, the firewall's rules are allowed for the instance. This commit applies a tag for each requested inboundPort to new instances. Then, a firewall is created for each tag (if one does not already exist) which has 'allow' rules for the port.
2013-11-13 13:32:04 +01:00
Alex Heneveld
8f206dd120 JCLOUDS-362 inferring project-id from identity when there is a hyphen 2013-11-06 17:34:55 -05:00
Andrew Bayer
cd90daa8a0 Cleaning up GCE SecurityGroupExtension 2013-11-01 17:57:43 -07:00
Alex Heneveld
13662529f6 fix for JCLOUDS-360, replace platform-dependent assumption that nanosecond resolution ticker uses epoch 1970 as origin with guaranteed behaviour at millisecond-level resolution of System.currentTimeMillis 2013-10-29 23:18:55 -07:00
Andrew Bayer
c79da074ea JCLOUDS-336. Move to GCE v1beta16 API
Also add region-level quotas.
2013-10-04 11:44:39 -07:00
Andrew Bayer
4bf509f8e0 Removing test detail 2013-10-03 14:17:25 -07:00
Andrew Bayer
6b0680fc8c JCLOUDS-312. Add SecurityGroupExtension for GCE.
Note - there is no GoogleComputEngineSecurityGroupExtensionExpectTest,
due to it being more or less redundant given that we're not making any
new API calls.
2013-10-01 14:50:55 -07:00
Andrew Bayer
d4abfec8aa Handle null fingerprints properly. 2013-09-27 15:29:56 -07:00
Andrew Bayer
f7ac63bdeb JCLOUDS-209. Move to GCE v1beta15 API, with new features/methods included
Does not include aggregated list method calls, due to those calls not
working with service accounts.

Does not include image insert or deprecate due to the extremely
complex system for creating images in GCE, which makes writing tests
for that a pain. Will come in a later commit.
2013-07-31 09:05:25 -07:00
Andrew Bayer
647c83e134 JCLOUDS-101 - update GCE compute service to deal with SecurityGroupExtension 2013-06-26 17:07:45 -07:00
Andrew Bayer
e3bc096abf JCLOUDS-31. License header cleanup 2013-05-24 12:01:40 -07:00
Ignasi Barrera
d71de10dfd JCLOUDS-64: Update license headers 2013-05-24 01:06:46 +02:00
Andrew Bayer
1ced54dde4 JCLOUDS-80. Inherit apache-rat plugin config. 2013-05-22 10:29:56 -04:00
Andrew Bayer
00a995a465 JCLOUDS-30. Switch to 2 space indents for POM files. 2013-05-13 10:46:01 -07:00
Andrew Bayer
f41421c6b2 JCLOUDS-23. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos. 2013-05-13 10:44:56 -07:00
adriancole
98846381ba organized google code into its own subdir 2013-04-28 22:56:26 -07:00