Commit Graph

9168 Commits

Author SHA1 Message Date
John McDonnell 9cd78bfcd4 As in JCLOUDS-991 it appears size is missing as a UsageResponse parameter, particularily for Volume usages. This commit adds it into the UsageRecord class. 2015-10-07 21:05:08 +02:00
Andrew Kennedy b7020439d9 Add new Softlayer API method to return arbitrary VirtualGuest fields 2015-10-07 21:05:04 +02:00
Stuart Hendren 783a9aa5b5 Adding elastichosts Dallas and Miami providers 2015-10-07 21:04:59 +02:00
Stuart Hendren 9388605110 Fix for Go2Cloud provider endpoint
See JCLOUDS-1004 - Update the Go2Cloud endpoint

https://issues.apache.org/jira/browse/JCLOUDS-1004
2015-09-23 11:03:16 +02:00
Ignasi Barrera 559f7adb6c GCE hardware profiles might not have volumes 2015-09-21 11:03:14 +02:00
Irmo Manie f69518b752 JCLOUDS-993 - Add missing parameters to `VirtualMachineApi`
- `serviceOfferingId` at `#changeServiceForVirtualMachine`
- `options` of type `UpdateVirtualMachineOptions` at
  `#updateVirtualMachine`
2015-09-07 00:19:34 +02:00
Irmo Manie 1ef5c70106 JCLOUDS-995 - Add `userData` property to `CloudStackTemplateOptions` and map it in the underlying adapter. 2015-09-07 00:19:30 +02:00
Andrea Turli cc1217b5c8 [SoftLayer] fix some failing LiveTests
fix VirtualGuestBlockDeviceTemplateGroupApiLiveTest
fix SoftLayerComputeServiceLiveTest
2015-08-11 18:22:25 +02:00
Ignasi Barrera 30aca7d833 Next development version 1.9.2-SNAPSHOT 2015-08-02 11:56:20 +02:00
Ignasi Barrera 547f827e18 Apache jclouds 1.9.1 release 2015-08-02 11:52:31 +02:00
Arvind Nadendla 8f705fa4a4 Fix bug where password information is printed in logs in case of exceptions 2015-07-30 12:34:29 -05:00
Zack Shoylev f2bc5ee6e7 Fix a small softlayer bug that triggers a guava 19 rc bugcheck. 2015-07-29 10:19:59 -05:00
Ignasi Barrera 569c07b982 Fix AWS and EC2 TemplateBuilder live tests 2015-07-29 11:58:47 +02:00
Zack Shoylev 1a27a619d2 Fixes an error caused by not using an assert by @CheckReturnValue. Also see jsr305
Conflicts:
	apis/openstack-nova/src/test/java/org/jclouds/openstack/nova/v2_0/functions/InternalURLLiveTest.java
2015-07-28 12:10:00 -05:00
Andrew Bayer 6c94f3eb9e JCLOUDS-972. Fix parsing of spot reqs, set sane default for validUntil.
Get the faultCode and faultMessage to actually be parsed (though I'm
not sure they're ever used), add statusCode, statusMessage and
statusUpdateTime, and have AWSEC2TemplateOptions default to a sane 30
minute lifetime for spot instance requests, so they don't get orphaned
forever if the price is too low etc.
2015-07-27 15:12:53 +02:00
Marcus Wanner 8e5d378372 Add awareness of Manila and SHARED_FILESYSTEM openstack projects to keystone 2015-07-27 07:36:43 -05:00
Arvind Nadendla 48c0794b09 add os-hypervisors extension for openstack-nova 2015-07-27 07:21:24 -05:00
Andrea Turli 1863f859f5 [SoftLayer] fix SoftLayerTemplateOptions 2015-07-24 19:33:00 +02:00
Ignasi Barrera d96e34ea93 Added missing virtualization types after rebasing on top of 1fe90b0 2015-07-20 23:13:54 +02:00
Alex Heneveld cc88d99bb1 add deprecated flag to Hardware and prefer non-deprecated hardware types
deprecated hardware types in EC2 are flagged using this, according to latest AWS advice,
to fix situations where deprecated hardware types would be chosen when a non-deprecated alternative exists.
we also deprecate T2 because it requires a VPC.

also fixes semantics of ImagesToRegionAndIdMap to match the logic used in the TemplateBuilderImpl;
RegionAndName should contain the ID not the ProviderID.  this is only really used in tests so no external impact.
(previously the cache only worked if provider ID matched the non-location segment of the image ID.)
however this does now assert that image id's are in the right format for AWS, as suggested by @nacx.
2015-07-20 23:13:49 +02:00
Alex Heneveld 3b83e790c0 indicate virtualization type for all ec2 instance types 2015-07-20 23:13:43 +02:00
Arvind Nadendla fc59530415 Split availability Zone API to return Basic Info and Detailed info 2015-07-16 13:26:11 -05:00
Zack Shoylev defbd1151c Adds missing floating-ip-pool expect test
Fixes broken namespace for the ip pool extension
2015-07-14 19:25:15 -05:00
Zack Shoylev 5eb36ef259 Fixes missing @Deprecated annotation 2015-07-14 19:22:56 -05:00
Arvind Nadendla 5d21b3e056 Adding missing "hosts" field to OpenStack Nova AvailabilityZone 2015-07-14 18:56:00 -05:00
Zack Shoylev 3445f00a88 Updates live tests and template builder settings for compute 2015-07-14 10:23:08 -05:00
Andrew Bayer 0426b1c45f JCLOUDS-961 - Add d2, m4, t2 instance types for EC2 2015-07-13 16:11:37 +02:00
Andrea Turli 14824b6c8c [JCLOUDS-956] synchronizing allocateFloatingIPForNode helps 2015-07-03 13:30:57 +02:00
Andrea Turli 0aad138758 create java-xmlbuilder.version property for maven
add java-xmlbuilder to dependencyManagement so downstream project don't need to specify the version
2015-06-29 08:49:13 +02:00
Andrew Gaul d28f4eb046 JCLOUDS-931: Fix up bad cherry pick 2015-06-26 14:37:20 -07:00
Timur Alperovich a05f369807 JCLOUDS-931: Sleep only after creating containers.
jclouds should issue the requests to create all of the containers in
the container pool before sleeping. The patch modifies the
createContainerAndEnsureEmpty() method to take an additional
parameter, which specifies whether awaitConsistency() should be called
or not.
2015-06-26 14:07:46 -07:00
Andrea Turli 4ac9a73dd5 [NOVA] change some access modifiers to simplify the downstream provider impl
modify the BasicAuthenticator in Keystone
destroy node if creation timeouts
2015-06-26 15:05:57 +02:00
Reijhanniel Jearl Campos 17c51c356e Fix template equals assertion to consider location scope 2015-06-25 15:42:05 +02:00
Andrea Turli 16cf5909dd [SoftLayer] fix SoftLayerTemplateBuilderLiveTest
add more iso3166Codes
fix DatacenterApiLiveTest
2015-06-25 00:12:12 +02:00
Andrea Turli a0ada77eec 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:05:51 +02:00
Andrew Gaul cc3167c3f4 Update labs dependencies for rackspace-cloudfiles 2015-06-23 20:47:36 -07:00
Ignasi Barrera 6b3aed3c89 Improve image check in the BaseImageExtensionLiveTest 2015-06-15 23:13:17 +02:00
Andrew Gaul 755a7ecb8d Revert "fix multipart put of a blob with content md5"
This reverts commit 05a9c79242.
2015-06-11 20:37:07 -07:00
Ka-Hing Cheung 5929117596 send HEAD instead of GET for blobMetadata 2015-06-11 20:33:42 -07:00
Ka-Hing Cheung 05a9c79242 fix multipart put of a blob with content md5
previously the parts will carry the content md5 of the entire
object, because unsetting the md5 of a ContentMetadata actually
didn't do anything
2015-06-11 20:33:34 -07:00
Ignasi Barrera 7e1838afbb JCLOUDS-921 prioritise key over password in SessionConnection 2015-06-11 13:29:23 +02:00
Stuart Hendren f88acd67c0 JCLOUDS-921 prioritise key over password in SSHClientConnection
From ticket:
If keyboard interactive login is not allowed on the box but the user also requires a sudo password the ssh fails as it prioritises the password.
If you remove the password then the sudo fails in the SudoAwareInitManager.
It would seem better to prioritise the key over the password in SSHClientConnection or possibly try both if they are both present, and the first fails.

This commit swaps the order of the if else check to use the ssh key if present.
2015-06-11 13:22:29 +02:00
Huy TA 522c080a4a Use ssh agent if privatekey and password are not set 2015-06-11 13:00:32 +02:00
Alexander Grzesik b1231257fd JCLOUDS-904 Fixing OSGi Header by adding org.jclouds.io import 2015-06-11 13:00:26 +02:00
Ignasi Barrera 352644876f Added CoreOS to the OSFamily enum 2015-06-11 10:35:19 +02:00
Svetoslav Neykov 06f1b13200 Implement setting and retrieving the notes property on Softlayer machines 2015-06-11 10:14:20 +02:00
Zack Shoylev 8cdba226af Adds support for the orchestration type. 2015-06-10 12:41:40 -05:00
Ignasi Barrera d99a538a3e Avoid AutoValue shaded imports 2015-06-10 13:46:29 +02:00
Andrea Turli 443ca4300c [SoftLayer] use FQDN as hostname 2015-06-03 15:31:27 +02:00
Andrew Gaul 1a64a1f0fe JCLOUDS-912: Implement RandomInputStream.close
Prevent reading closed RandomInputStream.
2015-06-02 11:19:12 -07:00