Zack Shoylev
91f405c9fe
Small cleanup of how RegionToEndpoint checks arguments.
2014-11-13 04:37:07 -06:00
Adrian Cole
19e2cdd5d2
* Change OAuthScopes into an interface as opposed to boilerplating annotations.
...
* Fixed errors because of boilerplating annotations.
2014-11-12 20:29:16 -08:00
Adrian Cole
347926543e
* Change OAuthScopes into an interface as opposed to boilerplating annotations.
...
* Fixed errors because of boilerplating annotations.
2014-11-12 20:29:16 -08:00
Adrian Cole
7a644f8b6e
* Refactor OAuth so that it doesn't require private keys when we aren't signing anything.
...
* Rename constant serviceAccountCredentials to p12PrivateKeyCredentials as this better describes the credential value.
2014-11-11 16:20:58 -08:00
Adrian Cole
f3d2d3571c
* Refactor OAuth so that it doesn't require private keys when we aren't signing anything.
...
* Rename constant serviceAccountCredentials to p12PrivateKeyCredentials as this better describes the credential value.
2014-11-11 16:20:58 -08:00
istolber
55be9b855e
Adding tenantId/projectId and extended attributes to volume and snapshot
2014-11-11 13:50:39 -05:00
Adrian Cole
65f061b0b6
* Removed the need for users to manually specify the current project name everywhere.
...
* Documented why we implicitly lookup project name using project id; corrected README, pom, ApiMetadata and added tests.
* Introduced jclouds.google-compute-engine.project-name property used to adjust the project commands affect.
* Flattened quasi-generated pagination classes into package-private members of their callers.
* Removed invalid fallbacks for lists. List responses are empty; they don't return 4xx!
* Adjusted test configuration to allow bearer token properly.
2014-11-10 09:19:14 -08:00
Adrian Cole
4b3fa75a68
Implicitly create a json response parser when using @Transform.
2014-11-10 06:57:45 -08:00
Adrian Cole
7af2fc2081
* Rewrites InstanceTemplate as NewInstance, strictly from docs.
...
* Rewrites Metadata to have the same shape as in json, avoid really complicated json parser.
* Rewrites GoogleComputeEngineServiceAdapter.createNodeWithGroupEncodedIntoName to use less network requests.
* Removes untested aspects of TemplateOptions, except additional disks.
* Removes complexity around location by using aggregate apis, which removes custom location module
* Switches to uris as ids, which removes the InstanceInZone and MachineTypeInZone class
* Stop using metadata to temporarily store jclouds image id as it is reachable via disks[0].source -> disk.sourceImage
* Starts using MWS, which makes it possible to read the offline tests for compute service
* Reduces newlines needed in tests by switching mock project name to "party"
2014-11-09 10:14:45 -08:00
Chris Custine
639b480650
Fix support for bearer tokens
2014-11-07 17:44:24 -07:00
Adrian Cole
6af7d7a269
Use InstanceTemplate.name as opposed to ignoring it.
2014-11-07 07:57:33 -08:00
Adrian Cole
804acb3fda
Consolidate operation state management.
2014-11-07 07:57:33 -08:00
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
eb8b154869
JCLOUDS-750 Remove need for custom json type adapters on OAuth.
2014-11-02 08:28:42 -08:00
Adrian Cole
c318612f60
JCLOUDS-750 Remove need for custom json type adapters on OAuth.
2014-11-02 08:28:42 -08:00
Adrian Cole
d8d7b130a3
fixed javadoc typo.
2014-11-02 08:14:45 -08:00
Adrian Cole
45fd59f4b7
JCLOUDS-750 Revert 5b6f1e929ef4b6438facc06df0f081ddef8c9cf6 in favor of tighter contract on @SerializedNames.
2014-11-01 10:56:04 -07:00
Daniel Broudy
1bd75d7c59
Improved live tests for Load Balancing.
2014-10-31 15:59:42 -07:00
Adrian Cole
35156560dc
Decomplicate OAuth a little.
2014-10-31 08:50:50 -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
1e35c0fe19
Use type adapter factory to hard-set serialization of Credentials.
2014-10-30 10:02:27 -07:00
Adrian Cole
cd8aeed16d
Use AutoValue to reduce bulk of Google Storage value types.
2014-10-30 09:40:44 -07:00
Adrian Cole
e21cbd09cb
JCLOUDS-750 support serializing auto-value types without custom type adapters.
2014-10-30 07:19:01 -07:00
Adrian Cole
5641efa0c2
Make TemplateBuilderImplTest less brittle.
2014-10-29 17:01:27 -07:00
Adrian Cole
fa809beceb
JCLOUDS-534 Set floor version of guava to 16.0.1
2014-10-29 17:01:27 -07:00
Adrian Cole
8d0c7f9a6c
JCLOUDS-534 Folded overly explicit use of HostAndPort, which is also incompatible with guava 16.
2014-10-29 17:01:26 -07:00
Adrian Cole
0012e6f950
JCLOUDS-534 Avoid runtime incompatibility introduced by Guava's closeQuietly.
2014-10-29 17:01:26 -07:00
Ignasi Barrera
c6c1b1a657
JCLOUDS-766: Add AWS Frankfurt region
2014-10-29 21:26:29 +01:00
Adrian Cole
02801321a2
JCLOUDS-410 note that ByteArrayPayload needs to handle offsets.
2014-10-29 10:20:39 -07:00
Adrian Cole
177fd6d37f
Do not require Guava ByteSource in order to create a payload.
2014-10-29 10:20:39 -07:00
Adrian Cole
035d9d1ed7
Revert "Remove ByteArrayPayload"
...
This reverts commit ac2238364840915597b860e395973859b3f447ab.
2014-10-29 10:20:39 -07:00
Adrian Cole
1702bddffa
Revert "Replace uses of ByteArrayPayload"
...
This reverts commit bd5b6853ee4d2397f49e27d68818b01123fa7bd2.
2014-10-29 10:20:38 -07:00
Andrew Phillips
ae8b7636df
Moving Guava version config into <dependencyManagement>
...
- Follow-up to c426e7e: allows overriding of the Guava version
in modules that inherit from core
- Also consolidating dependency versions
2014-10-28 23:16:19 -04:00
Andrew Phillips
58bd4da793
Cleaning up jsch dependencies
...
- Moving jsch dep to the driver
- Updating jsch.agentproxy version in conflicting dep list
Follow-up to b3882cb
2014-10-28 23:15:39 -04:00
Adrian Cole
e184091951
JCLOUDS-750 Permit tools like AutoService to generate service loader files.
2014-10-28 08:58:27 -07:00
Adrian Cole
c50e32c116
Accidentally set limited json fallback field naming to an enum.
2014-10-28 00:19:58 -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
07d7a5a749
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
Ignasi Barrera
c73ed64fd0
JCLOUDS-761: Delete disk if image operation fails in ElasticStack
2014-10-27 16:58:03 +01:00
Andrew Phillips
2a5928b55d
Re-adding Reflection2.constructor
...
Removed in 671749d but used downstream in jclouds-labs
2014-10-26 19:18:39 -04:00
Andrew Phillips
c426e7ec24
Extracting Guava version into a property
...
This allows it to be overridden in CI jobs etc.
2014-10-26 18:31:37 -04:00
Adrian Cole
c0e6a2c51c
Fixed bug found in docker provider where deserialization constructors don't handle json null.
2014-10-26 12:31:06 -07:00