Commit Graph

1523 Commits

Author SHA1 Message Date
Ignasi Barrera 26210fe098 JCLOUDS-946: Properly scope images to the locations where they are available 2015-06-30 23:08:07 +02:00
Reijhanniel Jearl Campos ed247e7dea JCLOUDS-702: JClouds ProfitBricks provider - ComputeServiceAdapter 2015-06-30 12:42:51 +02:00
Timur Alperovich 497a013c8a JCLOUDS-930: Plumb prefix support down to Azure.
Plumbs support for the prefix query option in the Azure provider. This
option is not compatible with the "directory" list option and an
exception is thrown if both are set.
2015-06-29 17:31:56 -07:00
Timur Alperovich 7c7d2e2df6 JCLOUDS-930: Add the prefix option.
Add a prefix option to the ListContainerOptions class.
2015-06-29 17:31:55 -07:00
Chris Custine 057be8df99 JCLOUDS-613: Implement the DigitalOcean v2 API
Thanks to [~nacx] for pagination, many tests, fixes, and improvements to help push this over the finish line!
2015-06-28 22:12:03 +02:00
Ignasi Barrera 647df25d90 Update Maven coordinates to the promoted naming 2015-06-26 11:32:01 +02:00
Ignasi Barrera 05fb3222bb Promote Google Compute Engine 2015-06-26 11:30:30 +02:00
Zack Shoylev 87b885306b Remove old cloudfiles providers 2015-06-26 02:32:16 -05:00
Andrea Turli b7f27e7f76 [SoftLayer] fix SoftLayerTemplateBuilderLiveTest
add more iso3166Codes
fix DatacenterApiLiveTest
2015-06-25 00:10:45 +02:00
Andrea Turli 7480d6e363 replace ExpectTests with MockWebServerTests
refactor AccountApiExpectedTest to AccountApiMockTest
refactor DatacenterApiExpectTest to DatacenterApiMockTest
refactor SoftwareDescriptionApiExpectTest to SoftwareDescriptionApiMockTest
refactor VirtualGuestApiExpectTest to VirtualGuestApiMockTest
refactor VirtualGuestBlockDeviceTemplateGroupApiExpectTest to VirtualGuestBlockDeviceTemplateGroupApiMockTest
2015-06-25 00:03:47 +02:00
Daniel Broudy 70da397237 Update ComposeObjectTemplate and update MockTests 2015-06-22 09:37:42 -07:00
Andrew Bayer db6f6efaba JCLOUDS-936: Switch to LoadingCache for disk->image 2015-06-18 11:44:11 +02:00
Andrew Bayer f3555cba1b JCLOUDS-934. Add support for specifying boot disk type in compute service 2015-06-15 15:55:03 -07:00
Daniel Broudy c1b1cfbbea Add running GoogleComputeEngineTemplateBuilderLiveTest with Json key 2015-06-15 22:44:47 +02:00
Andrew Bayer 6d850a8aee JCLOUDS-935. Move AttachDisk.InitializeParams to URI for diskType
Note that two tests are failing right now with or without this.
2015-06-12 09:12:23 -07:00
Ignasi Barrera 012e1885e5 Image credentials and project improvements.
JCLOUDS-870: Adds the missing projects to the default project list
JCLOUDS-861 & JCLOUDS-911: Improved the way image OSFamily is parsed and
configured the default username for each image type.
2015-06-12 15:03:50 +02:00
Alexander Grzesik a809c11a60 JCLOUDS-904 Fixing OSGi Header by adding org.jclouds.io import 2015-06-11 12:01:56 +02:00
Svetoslav Neykov 9d652a9c3d Implement setting and retrieving the notes property on Softlayer machines 2015-06-11 09:54:52 +02:00
Ignasi Barrera cd91e009ed Do not use AutoValue shaded imports 2015-06-10 13:29:11 +02:00
Ignasi Barrera 3b6b73d9a1 Do not use AutoValue shaded imports 2015-06-10 13:00:33 +02:00
Daniel Broudy d8222cf0f7 Update UrlMapApiLiveTest 2015-06-09 23:59:13 +02:00
Ignasi Barrera 2e7ca20f1c JCLOUDS-925: Add support to start and stop instances in the ComputeService 2015-06-08 16:17:03 +02:00
Andrew Gaul 04c4d5c916 JCLOUDS-894: Odds and ends for other providers 2015-06-06 16:32:16 -07:00
Andrew Gaul ae157991ba JCLOUDS-894: Add portable multipart upload for S3 2015-06-06 16:32:16 -07:00
Andrew Gaul 794b385c98 JCLOUDS-894: Add portable multipart upload for Azure 2015-06-06 16:32:16 -07:00
Andrea Turli 047d1b546b [SoftLayer] use FQDN as hostname 2015-06-03 15:28:43 +02:00
Daniel Broudy 55348c0ddb JCLOUDS-906: Add ServiceAccounts to GoogleComputeEngineTemplateOptions 2015-06-03 01:47:54 +02:00
Andrew Gaul 180a61e85e Update labs dependencies for rackspace-cloudfiles 2015-05-28 09:13:41 -07:00
Daniel Broudy aa33619c92 Making tags Immutable 2015-05-26 15:53:11 +02:00
Daniel Broudy 465a62aa27 Remove firewall-tag filtering 2015-05-26 15:53:06 +02:00
Daniel Broudy 5adfce8d48 Removing network management, use default network, use fewer firewalls. 2015-05-19 15:39:55 +02:00
Svetoslav Neykov 68a429f366 Skip malformed image entries returned by Softlayer
Softlayer will occasionally return an incomplete object in the getCreateObjectOptions call, making it impossible to spin up machines - ignore the incomplete entries which are usually not even relevant.
2015-05-13 22:21:43 +02:00
Stuart Hendren 31749cba5d JCLOUDS-207: Key Pair and Security Groups created by jclouds are not removed when the node is destroyed
The names created do not match those searched for.

They are created in FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.java
and have are of this form jclouds#I-0#e96.

But for example jclouds#I-0#us-east-1#* is used as the search term.
2015-05-07 10:50:14 +02:00
Ignasi Barrera 4863bb83a9 Remove the deprecated methods in Chef 2015-05-03 22:22:44 +02:00
Andrew Gaul 9128ae515f JCLOUDS-894: Expose S3 multipart operations 2015-05-01 13:32:35 -07:00
Andrew Gaul 4e3776a099 JCLOUDS-894: Expose Azure multipart operations 2015-05-01 13:32:29 -07:00
Andrew Gaul 09b54eb03f List both committed and uncommitted Azure blocks 2015-05-01 13:32:28 -07:00
Ignasi Barrera 9d3b2d70e1 Fix the HealthCheck live tests 2015-04-15 23:40:32 +02:00
jasminSPC 23f158f322 JClouds Profitbricks provider - LoadBalancer API 2015-04-13 11:46:55 +02:00
Zack Shoylev a6ca5a363a Update cloudfiles poms 2015-04-09 14:20:28 -05:00
Andrew Gaul a761f4cfa1 JCLOUDS-651: Azure copy object content metadata 2015-04-08 17:58:46 -07:00
Zack Shoylev a3b7f3ab80 Merge remote-tracking branch 'promote-jclouds-labs-openstack-local/promote-rackspace-cloudfiles-moved' 2015-04-07 16:24:43 -05:00
Andrew Gaul 31369ae590 JCLOUDS-651: Add Azure server-side copyBlob 2015-04-02 15:36:53 -07:00
Andrew Gaul f57ccadce8 JCLOUDS-871: Azure Copy Blob support
API reference:

http://msdn.microsoft.com/en-us/library/dd894037.aspx
2015-03-31 11:13:16 -07:00
Andrew Gaul 967f08a8f2 Return ETag from Azure setBlobMetadata
Also fix up live tests.
2015-03-31 11:03:04 -07:00
Andrew Gaul 9cf97f3117 JCLOUDS-867: Azure support for Content-Disposition
Enabled by Azure API version 2013-08-15.
2015-03-31 10:53:32 -07:00
Andrew Gaul 8617c75b7e JCLOUDS-867: Use Azure API version 2013-08-15
This changes the format of EnumerationResults.
2015-03-31 10:53:32 -07:00
Andrew Gaul 866ac3fabb Fix error-prone PreconditionsCheckNotNullPrimitive 2015-03-30 19:06:48 -07:00
Andrew Gaul ac0e5c2439 JCLOUDS-183: Enable Azure testGetIfModifiedSince
Also comment on why we skip other tests.
2015-03-30 13:07:35 -07:00
Ignasi Barrera 88c3c61081 Next development version 2.0.0-SNAPSHOT 2015-03-24 11:07:27 +01:00
Ignasi Barrera 121ea203d8 Apache jclouds 1.9.0 release 2015-03-24 11:06:18 +01:00
Ignasi Barrera 565a102c15 Next development version 2.0.0-SNAPSHOT 2015-03-24 11:02:39 +01:00
Ignasi Barrera ce3eeefd85 Apache jclouds 1.9.0 release 2015-03-24 10:59:36 +01:00
Ignasi Barrera f8f82cc4c0 Next development version 2.0.0-SNAPSHOT 2015-03-24 10:56:30 +01:00
Ignasi Barrera d117bb3919 Apache jclouds 1.9.0 release 2015-03-24 10:54:19 +01: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
Ignasi Barrera fcb7dfcb81 Fix HPCloudComputeTemplateBuilderLiveTest 2015-03-24 00:40:43 +01:00
Ignasi Barrera 4db2b75add Fixes OpenStack extension namespace configuration
* Improves extension namespace configuration to use Guice multibindings
  so each provider can cleanly provide their own namespaces.
* Fixes the HPCloud Compute volume attachment namespace and adds the
  corresponding live tests.
* Fixes the Rackspace CloudServers UK volume attachment namespace.
2015-03-23 22:40:43 +01:00
Zack Shoylev 8217248571 Adds a rackspace-specific test and a fix for the volume-attach extension problem. 2015-03-20 11:41:24 -05:00
jasminSPC f58675e93d Profitbricks Drives API
Conflicts:
	profitbricks/src/main/java/org/jclouds/profitbricks/ProfitBricksApi.java
2015-03-08 21:20:23 +01:00
jasminSPC af93f3b68f Profitbricks IpBlock API
Conflicts:
	profitbricks/src/main/java/org/jclouds/profitbricks/ProfitBricksApi.java
2015-03-08 21:15:43 +01:00
jasminSPC 36d499b47f Profitbricks Snapshot api 2015-03-08 21:10:20 +01:00
Reijhanniel Jearl Campos de2e5e01b5 JCLOUDS-702: JCloud ProfitBricks provider - NIC & Firewall API 2015-02-26 15:49:16 +01:00
Andrew Gaul 019ae75a61 JCLOUDS-732: Azure portable object ACLs
Azure does not implement support for these:

https://msdn.microsoft.com/library/azure/dd179354.aspx
2015-02-21 10:28:01 -08:00
Andrew Gaul bc81919c58 Add @Beta annotations to BlobStore ACL methods
Also add missing @Override annotations.
2015-02-21 10:18:57 -08:00
Daniel Broudy 9c3cefff16 Updated AggregatedListApiLiveTest 2015-02-18 10:58:37 +01:00
Daniel Broudy ec52bdbfb9 Updated ForwardingRuleCreationOptions to AutoValue + Builder 2015-02-18 10:58:37 +01:00
Daniel Broudy a26a721575 Updated DiskCreationOptions to AutoValue + Builder 2015-02-18 10:58:37 +01:00
Daniel Broudy adf6999899 Updated DeprecateOptions to AutoValue + Builder 2015-02-18 10:58:36 +01:00
Daniel Broudy a9eecfad81 Updated BackendServiceOptions to AutoValue + Builder 2015-02-18 10:58:36 +01:00
Nikolay Sokolov 5b4ac5f186 Added support for RunInstances parameter PrivateIpAddress on EC2 2015-02-16 22:14:48 +01:00
Zack Shoylev f6d43f6962 Fixes blob-related tests that fail occasionally 2015-02-13 17:25:15 -06:00
Andrew Gaul 4bb319a0cc JCLOUDS-820: Support multi-delete for generic S3
Tested against AWS and DreamObjects.  This commit only moves and
renames code.
2015-02-13 06:23:16 -08:00
Andrew Gaul ba2f8ac232 JCLOUDS-258: Support MPU for generic S3
Tested against AWS-S3 and DreamObjects.  This commit only moves and
renames code although some classes are duplicated for deprecation
purposes.
2015-02-12 17:59:33 -08:00
Andrew Gaul d701f6a127 JCLOUDS-660: Azure portable container ACLs 2015-02-12 17:26:47 -08:00
Daniel Broudy 7ac7197e83 adding start and stop to Instance Api 2015-02-11 17:25:44 +01:00
Reijhanniel Jearl Campos 2a219a9948 JCLOUDS-702: JClouds ProfitBricks provider - Storage API 2015-02-05 14:53:10 +01:00
Andrew Gaul 8a2c821e13 JCLOUDS-794: Use bogus URL for generic S3 endpoint
This prevents users from accidentally connecting to AWS.
2015-02-04 13:42:03 -08:00
Ignasi Barrera fa8b9e2332 Fix location assignment in SoftLayer VirtualGuestToNodeMetadata 2015-02-04 18:07:39 +01:00
Ignasi Barrera acd06b3024 JCLOUDS-462: Fix AWSEC2TemplateBuilderLiveTest 2015-02-04 11:04:18 +01:00
Ignasi Barrera 9a8a604bac Added C4 instance types 2015-02-04 11:04:18 +01:00
Daniel Broudy 19c65d8f6f Enables working with .json key files, adding GoogleCredentialsFromJson 2015-02-03 10:59:01 +01:00
Zack Shoylev 99d0fcaaad Fixes the metadata to specify Ubuntu by default. 2015-01-30 12:30:52 -06:00
Aled Sage bdfd1facb9 JCLOUDS-529: fix aws-ec2 cleanupIncidentalResources
- Some users get a DependencyVioloation, rather than InvalidGroup.InUse,
  when attempting to delete the security group. This caused
  cleanupIncidentalResources to propagate an exception.
- Fixes it by converting this to an IllegalStateException (in same
  way as is done for “InUse”)
- Adds tests (using MockWebServer) for happy-path and for failing
  to delete the security group with each of InUse and DependencyViolation
  responses.
- Adds Timeouts.cleanupIncidentalResources
- Use that timeout in EC2, when retrying the deletion of security group
  on VM deletion (previously hard-coded as 3 seconds).
- Configure that timeout in the tests, so deterministic number of retries
2015-01-30 11:07:25 +01:00
Zack Shoylev ee9c269aea Fixes some missing cloudservers locations iso codes: "US-IL", "US-TX", "US-VA", "AU-NSW", "HK" 2015-01-29 20:16:52 -06:00
Zack Shoylev 4db8b2360b Fixes a missing image. Test now tries to match image by name. 2015-01-29 18:26:20 -06:00
Andrea Turli b75b0c28d6 JCLOUDS-813: fix list private images
modify the listImages and getImage strategies in SoftLayerComputeServiceAdapter
add support for VirtualGuestBlockDeviceTemplateGroupApi getObject
remove PROPERTY_SOFTLAYER_INCLUDE_PUBLIC_IMAGES
add Expect and Live tests for VirtualGuestBlockDeviceTemplateGroup.getObject
2015-01-29 12:48:20 +01:00
Andrew Kennedy 9e1d1cbfa9 Fix Softlayer template options to return correct type and set disk types even if no block device configured 2015-01-28 09:30:57 +01:00
Reijhanniel ee24ddb2b4 JCLOUDS-702: JCloud ProfitBricks provider - Server & Image API 2015-01-26 11:27:18 +01:00
Andrew Gaul 3ab2716a7a Skip tests which cannot run on Azure 2015-01-24 13:42:27 -08:00
Andrew Gaul af1a01a0af JCLOUDS-96: Handle us-standard in testAllLocations 2015-01-23 19:24:44 -08:00
Andrew Gaul c770ffbeb0 Use sorted set to order relative paths correctly 2015-01-22 11:37:46 -08:00
Ignasi Barrera 8206d19a81 Add missing dependency to profitbricks 2015-01-19 10:32:36 +01:00
Jeremy Daggett 079b4d9c5c Split Auto dependencies into auto-service and auto-value 2015-01-16 14:38:06 -08:00
Reijhanniel Jearl Campos cb45048a68 JCLOUDS-702: JCloud ProfitBricks provider implementation 2015-01-12 10:00:19 +01:00
Andrew Gaul fae097e144 JCLOUDS-654: Add object size to StorageMetadata
This allows callers to read the content length during container
listing.  Tested against: atmosonline, aws-s3, azureblob, filesystem,
and transient.  Intentionally not implemented for legacy swift
provider.
2015-01-09 22:34:56 -08:00
Andrew Gaul 317089c77e Remove tests duplicated by testPut 2015-01-09 21:59:25 -08:00
Andrew Gaul 91c47bfd92 JCLOUDS-801: Add portable multipart upload tests
Exercise both repeatable and non-repeatable payloads.  Tested against
AWS-S3, Azure, and legacy Swift.  Skipped on all other providers.
2015-01-09 21:59:25 -08:00
Andrew Gaul 38ebf0d06c JCLOUDS-801: Use Iterable payload slicer for AWS-S3
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 AWS-S3 blob store.
2015-01-09 21:59:25 -08:00
Andrew Gaul 57a1f0e986 Bind Azure content metadata in multipart upload 2015-01-09 21:59:25 -08:00
Andrew Gaul fdec63fe47 Use LinkedHashSet for BoundedHashSet
This allows enumerating Azure containers in the same order as the
service provides.  This more closely matches PageSet and the Atmos
implementation of BoundedSet.
2015-01-09 17:51:23 -08:00
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
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 02801321a2 JCLOUDS-410 note that ByteArrayPayload needs to handle offsets. 2014-10-29 10:20:39 -07:00
Adrian Cole 1702bddffa Revert "Replace uses of ByteArrayPayload"
This reverts commit bd5b6853ee.
2014-10-29 10:20:38 -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
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
Andrea Turli f134367c69 add support for primaryNetworkComponent.networkVlan.id, primaryBackendNetworkComponent.networkVlan.id, postInstallScriptUri, user-data, privateNetworkOnly and sshKeys options 2014-10-24 15:13:27 +02:00
Daniel Broudy 47ee9634a9 Adding SSD support and added DiskCreationOptions. 2014-10-21 14:43:42 -07:00
kstyrc b220d889ca JCLOUDS-184: Improving AzureBlob unit tests 2014-10-21 10:10:49 -05: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
Andrea Turli a563dd9fbb fix support for private images in SoftLayer 2014-10-15 00:47:37 +02:00
Andrew Gaul 489850d7db Fix GuiceAssistedInjectScoping error-prone warning 2014-10-12 15:47:30 -07:00
Ignasi Barrera dab34c6e21 Fix indentation 2014-10-12 22:32:36 +02:00
Adrian Cole d735a9fa21 JCLOUDS-40 clear remaining references to Async. 2014-10-12 09:05:35 -07:00
Ignasi Barrera 65f29d1802 Implemented the supports exclusion CIDR new method 2014-10-11 13:19:00 +02:00
Ignasi Barrera c9dfb07d02 Aligned pom.xml files for Chef 2014-10-10 15:11:27 +02:00
Ignasi Barrera 8a2de9a5c7 Promoted jclouds-chef/enterprise to providers/chef 2014-10-10 15:11:08 +02:00
Adrian Cole a12c168ad2 Swift is now out of labs. 2014-10-08 19:34:45 -04:00
Adrian Cole 03619accbd JCLOUDS-641 copy/paste error completely screwed blobstore tests. 2014-10-07 22:05:58 -07:00
Stuart Hendren f4f86edd4d JCLOUDS-703: Google Hardware no longer supports images 2014-10-06 15:27:07 -06:00
Adrian Cole b9525a0877 JCLOUDS-40 unasync Fallback 2014-10-06 13:14:59 -07:00
Adrian Cole 0a236f59ad JCLOUDS-153 remove IO Executor and usage of it. 2014-10-06 07:56:31 -07:00
Andrew Phillips efd09edf57 Revert "Fix poms so that modernizer doesn't fail on snapshot."
This reverts commit 889243a677ebba620cc9915f26304091b4dd53bb. The
snapshot repository has now been added to the jclouds-project POM.
See commit 79d4b48 to jclouds/jclouds.
2014-10-06 00:36:04 -04:00
Andrew Phillips e42cc80092 Fixing Checkstyle violations 2014-10-06 00:31:00 -04:00
Adrian Cole 3123f8d3ae Fix drift due to unasyncing 2014-10-05 20:22:19 -07:00
Adrian Cole 99e217b720 Move off confusing test names. 2014-10-05 17:22:18 -07:00
Adrian Cole 1b2cee0700 JCLOUDS-40 Replaced incorrect use of @ConfiguresRestClient and deleted old rest client modules. 2014-10-05 16:21:16 -07:00
Adrian Cole 52ecdf5a1e Fix poms so that modernizer doesn't fail on snapshot. 2014-10-05 14:41:13 -07:00
Adrian Cole cacc986dc4 JCLOUDS-40 Remove AsyncBlobStore references from s3 api 2014-10-05 13:18:12 -07:00
Adrian Cole 56a2a8bf4a JCLOUDS-40 Remove internal usage of AsyncBlobStore. 2014-10-05 08:49:54 -07:00
Adrian Cole dfb583b67a JCLOUDS-40 remove all implementations of AsyncBlobStore except Submission in preparation for complete removal. 2014-10-05 08:49:38 -07:00
Adrian Cole 8c520d39a4 JCLOUDS-743 - Remove bluelock-vcloud-zone01 provider 2014-10-04 16:44:03 -07:00