1471 Commits

Author SHA1 Message Date
Daniel Broudy
da9bd0c19d Fixed InstanceApiLiveTest, made Instance.status @Nullable 2015-01-09 23:19:33 +01:00
Daniel Broudy
aa3a8dff8a Added Project:setUsageExportBucket and ProjectApiMockTest 2015-01-09 23:19:15 +01:00
Daniel Broudy
0f67b62505 Updated TargetHttpProxyOptions, TargetPoolCreationOptions, UrlMapOptions to AutoValue + Builder 2015-01-09 23:14:14 +01:00
Andrew Gaul
35d6313e63 JCLOUDS-660: Implement AzureBlob set ACL
Reference:

http://msdn.microsoft.com/en-us/library/azure/dd179391.aspx
2015-01-09 14:05:05 -08:00
Jeremy Daggett
d3c1e2eab4 Use AutoService to generate service loader metadata 2015-01-09 11:22:12 -08:00
Ignasi Barrera
6b350fb6b7 JCLOUDS-792: Configure chef-client security attributes
This commit also improves some internal behavior related to the
bootstrap configuration generation, and deprecated some methods that
will be removed in upcoming versions.

* Removes all methods that return the bootstrap DataBag or the raw
  configuration json to return the BootstrapConfig object instead.
* Deprecates all methods that provide support for old Chef versions.
* Formats the Enterprise Chef provider according to the jclouds
  formatting guidelines.
* Deprecates the ChefContext view. That view is not an abstraction and
  only provides access to the ChefService. It can be obtained from the
  ChefApi itself.
2015-01-05 14:15:54 +01:00
Ignasi Barrera
2ba48dc9f6 Removed the SecurityGroupExtension 2015-01-05 13:55:28 +01:00
Ignasi Barrera
d6d1e7dde5 Cleanup node authentication 2015-01-05 13:48:15 +01:00
Andrew Gaul
1c781cc5fa JCLOUDS-391: Azure multipart putBlob user metadata 2014-12-22 15:58:49 -08:00
Daniel Broudy
4772587722 MockTests now support PATCH semantics 2014-12-16 00:44:33 +01:00
Daniel Broudy
e4cc7282d7 New MockTests: TargetHttpProxyApi, UrlMap, ZoneApi, FirewallApi 2014-12-16 00:44:31 +01:00
Daniel Broudy
3db5cef592 Bug fixes related to LiveTest failures 2014-12-15 23:03:36 +01:00
Daniel Broudy
f81e44ceb2 added CreationTimestamp to HttpHealthCheck and TargetPool + refactor Warning 2014-12-15 22:38:53 +01:00
Daniel Broudy
dd5c4c5c6b Added targetPool:AggregatedList, getHealth. Updated HttpHealthCheck 2014-12-09 21:46:11 +01:00
Daniel Broudy
94d42c3c6c Updates to InstanceApi. 100% coverage 2014-12-09 17:54:08 +01:00
Daniel Broudy
fd27ab1a9a Updated Network, MachineType, Region, Route, Snapshot, TargetInstance, and Zone 2014-12-08 23:50:31 +01:00
Daniel Broudy
6918ab1089 Updates to Address, Disk, Image, Operations + others 2014-12-08 23:25:59 +01:00
Andrew Gaul
1663e0911e JCLOUDS-671: test putBlob with large multi-part InputStream 2014-12-06 13:52:27 -08:00
Eric Jutrzenka
66c4963b49 JCLOUDS-671: Use Iterable payload slicer for Azure
Payload slicer has a method that returns an iterable of payloads that
works on non-repeatable InputStreams that was introduced to fix
multi-part uploads in Swift (JCLOUDS-356). This commit applies the
same method to fix multi-part uploads for Azure blob store.
2014-12-06 13:52:27 -08:00
Daniel Broudy
1d3ad709d5 New MockTests: Network, Operation, Region, Route, Snapshot 2014-12-05 00:11:05 +01:00
Jeremy Daggett
0b8b5e7c9c Use AutoService for creation of Service Loader Metadata 2014-12-03 09:50:08 -08:00
Daniel Broudy
3e9612a0bc Added LicenseApi 2014-12-01 11:27:13 -08:00
Ignasi Barrera
902f1b4105 JCLOUDS-744: Upgrade to OkHttp 2.1.0 and use its native API 2014-11-27 18:44:08 +01:00
Ignasi Barrera
fca6022c23 Upgrade to OkHttp 2.1.0
Mockwebserver 2.1.0 does not bind the localhost address but
the public address. That makes the test to fail if we hardcode
the server URL to 'localhost'. The server.getUrl() method
should be used instead.
2014-11-27 11:43:59 +01:00
Daniel Broudy
2ccf08962e Added TargetInstanceApi 2014-11-26 17:44:46 -08:00
Daniel Broudy
81d410a588 Converting tests to Mock 2014-11-26 15:27:44 -08:00
Daniel Broudy
0c41f7afbe added InstanceApi.setScheduling 2014-11-26 13:12:44 -08:00
Daniel Broudy
1440ef2b3a Added Image.deprecate, ImageApiMockTest completed, removed ImageApiExpectTest 2014-11-25 10:54:00 -08:00
Daniel Broudy
d80a8b7937 Added ForwardingRule to AggregatedListApi. 2014-11-25 10:52:49 -08:00
Adrian Cole
a449b24e7d JCLOUDS-480 support version 4 signatures for aws-ec2. 2014-11-22 08:08:37 -08:00
Adrian Cole
ba868af553 JCLOUDS-781 cluster regions is a subset of regions. 2014-11-20 07:54:26 -08:00
Daniel Broudy
87c3976c31 l7 Cont: Removed ResourceView, Converted to AutoValue and updated. 2014-11-19 17:38:16 -08:00
ashmrtnz
71862dd563 Initial commit to add l7 loadbalancing features and tests to jclouds-labs-google 2014-11-19 17:37:47 -08:00
Andrea Turli
9128448de0 add support for recent centos and ubuntu versions 2014-11-19 17:31:42 +01:00
Adrian Cole
5dc6ddcb98 JCLOUDS-621 update live tests for new instance sizes. 2014-11-18 21:26:37 -08:00
Everett Toews
162226b8a9 JCLOUDS-716: Remove Rackspace First-Gen Cloud Servers 2014-11-18 12:56:04 -06:00
Adrian Cole
3f9f8df3f1 * Refactor OAuth to be less complex.
* Remove oauth as a standalone api.
 * Rename redundant OAuthAuthenticationFilter to OAuthFilter.
 * Make AuthorizationApi more simple by using form semantics.
 * Simplified OAuth by only permitting RS256 and none algos.
2014-11-18 10:43:33 -08:00
Reynald Borer
60ba755219 JCLOUDS-621 add missing R3, t2.micro, t2.small and t2.medium instance types to EC2 2014-11-18 09:02:00 -08:00
Adrian Cole
a2bdf0b484 Remove tests for default fallbacks. This helps clarify code towards what's GCE-specific. 2014-11-17 13:35:17 -08:00
Adrian Cole
278a735272 JCLOUDS-778 Remove OS support tests from TemplateBuilderLiveTest, as people are ignoring failures, 2014-11-17 09:42:06 -08:00
Katharina Probst
24dea0fa3f Extends coverage of AggregatedList API: address, disk, disk type, global operations. 2014-11-16 07:44:56 -08:00
Daniel Broudy
977fa89045 Add setDiskAutoDelete to InstanceApi, Refactor AttachDisk. 2014-11-14 17:52:25 -08:00
Zack Shoylev
5aaba51618 Remove jclouds.version and replace it with project.version in all poms. 2014-11-14 12:17:51 -06:00
Adrian Cole
4342348404 Dedupe code between google cloud products. 2014-11-13 11:02:44 -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
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
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
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
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