Commit Graph

62 Commits

Author SHA1 Message Date
Adrian Cole 8e8f9662e1 Add GoogleComputeEngineProviderMetadata and implement dynamic Location suppliers. 2014-11-06 11:43:04 -08:00
Adrian Cole c7bb9f8b17 standardize listPage across all GCE resources. 2014-11-05 11:26:31 -08:00
Ignasi Barrera d788766cb0 Use images from all public projects and filter deprecated ones 2014-11-05 18:15:29 +01:00
Adrian Cole 382dc0d236 Make instance api prettier. 2014-11-04 17:14:09 -08:00
Adrian Cole a85dd6e0f9 Migrate off PaginatedIterable to Iterator. Fix some live test bugs. 2014-11-04 14:21:36 -08:00
Adrian Cole a5ac88f1d7 Cleanup ListPage in google apis. 2014-11-04 08:25:03 -08:00
Daniel Broudy 1772ea896b Adding fix to Project.get fallback. Returns 400 or 404. 2014-11-03 15:20:20 -08:00
Adrian Cole 19245ec18b JCLOUDS-750 Convert GoogleComputeEngine to AutoValue + general cleanup. 2014-11-03 15:20:20 -08:00
Adrian Cole c318612f60 JCLOUDS-750 Remove need for custom json type adapters on OAuth. 2014-11-02 08:28:42 -08:00
Daniel Broudy 1bd75d7c59 Improved live tests for Load Balancing. 2014-10-31 15:59:42 -07:00
Daniel Broudy 290543d93e Added options and binders for LB apis. 2014-10-30 18:54:43 -07:00
Andrea Turli 4a9255a00a initial commit to support GCE LB
add support targetPools, forwardingRules and httpHealthChecks API
add expectedTests and LiveTests for the above API
2014-10-30 18:54:43 -07:00
Adrian Cole d9649c7e1e JCLOUDS-750 At the cost of fiddling with type hierarchy adapters, remove lots of junk with google auto. 2014-10-27 09:27:54 -07:00
Adrian Cole 143b5e7e1d Iteration order of HashSet/Map changes between JRE 7 and JRE 8, breaking tests. Switch to LinkedHashSet/Map. 2014-10-25 11:38:01 -07:00
Adrian Cole 354fee9c42 Cleanup binders in GCE: don't use sneaky injection. don't redundantly check null. 2014-10-25 11:29:36 -07:00
Adrian Cole 6595a8fc69 Revert "JCLOUDS-653: Address Guava 18 deprecations"
This reverts commit e2e288ee86d537d249c7e58c782a66b0201f2134.

Many conflicts on account of lots of changes since the original commit.
2014-10-24 10:54:47 -07:00
Daniel Broudy 47ee9634a9 Adding SSD support and added DiskCreationOptions. 2014-10-21 14:43:42 -07:00
Daniel Broudy b46460035c Adding support for DiskTypes Api. 2014-10-20 09:50:50 -07:00
Daniel Broudy 57ea3b987c minor bug fix to InstanceApiLiveTest 2014-10-17 16:05:54 -07:00
Ignasi Barrera 609982747f JCLOUDS-678: Do not silently return null in POST operations 2014-10-16 23:20:29 +02:00
Daniel Broudy 324f443856 JCLOUDS-649: Added image creation from pd and made Image rawDisk Optional<T> 2014-10-16 10:21:08 -07:00
Ignasi Barrera dab34c6e21 Fix indentation 2014-10-12 22:32:36 +02:00
Ignasi Barrera 65f29d1802 Implemented the supports exclusion CIDR new method 2014-10-11 13:19:00 +02:00
Stuart Hendren f4f86edd4d JCLOUDS-703: Google Hardware no longer supports images 2014-10-06 15:27:07 -06:00
Adrian Cole 611c21ba69 JCLOUDS-740 GCE doesn't always return id, selfLink on lists. Also, internally buffering an Iterable with a Set < with a List. 2014-10-03 15:45:28 -07:00
Andrew Gaul ee31c02454 Add missing @Override annotations
Also remove bogus inheritDoc on base methods.
2014-08-31 20:00:52 -07:00
Andrew Gaul 1f44b9d822 Avoid primitive wrapper constructors 2014-08-26 17:53:50 -07:00
Chris Custine bb0b816a91 Fixing whitespace for checkstyle violation 2014-08-15 12:37:29 -06:00
Stuart Hendren bc52da8a73 JCLOUDS-661: Supporting single port firewall rules in GCE
Corresponding test added in
https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=f3778b6
2014-08-14 12:57:49 -04:00
Chris Custine 5ec9bdb3f3 JCLOUDS-633: Support passing bearer token directly for OAuth2 2014-08-13 16:11:44 -06:00
Chris Custine f907f5223c JCLOUDS-643: Fix Google and OAuth tests 2014-08-13 13:47:55 -06:00
Andrew Gaul 61b78441d6 JCLOUDS-653: Address Guava 18 deprecations
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:55:25 -07:00
Andrew Phillips b9858851ed Updating project and jclouds.version to 2.0.0-SNAPSHOT 2014-08-05 11:46:53 +02:00
Andrea Turli 8fd946c93d [JCLOUDS-550] fix for obsolete machineTypes 2014-07-15 16:19:26 +02:00
Marek Wieczorek 40b65c5d39 Fixing other Checkstyle violations in GCE. 2014-07-03 11:10:14 -04:00
Marek Wieczorek eb373f79bf JCLOUDS-620: Don't fail on tag filtering when group is not specified.
Follow-up from 69756496
2014-07-03 11:10:13 -04:00
Andrew Gaul dad6c54720 Address Checkstyle violations 2014-06-17 15:56:35 -07:00
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