Commit Graph

1374 Commits

Author SHA1 Message Date
Andrew Gaul d86a6c9ee1 Correct Checkstyle violations 2015-07-31 15:28:25 -07:00
Andrew Gaul 86f47394bf Correct FindBugs violations 2015-07-31 14:53:58 -07:00
Andrew Gaul 98b3105669 Address error-prone errors
Mostly of the form, Collection.size() >= 0.
2015-07-30 15:40:03 -07:00
Zack Shoylev 0d243b0a39 Fix a small softlayer bug that triggers a guava 19 rc bugcheck. 2015-07-29 10:18:59 -05:00
Ignasi Barrera 5d30f859aa Fix AWS and EC2 TemplateBuilder live tests 2015-07-29 11:58:19 +02:00
Andrew Bayer 761329d272 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 17:23:53 +02:00
Andrea Turli f5e1c47644 [SoftLayer] fix SoftLayerTemplateOptions 2015-07-24 19:31:13 +02:00
Alex Heneveld a6aff306e7 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 17:40:07 +02:00
rand0m86 2e1aa3c055 Fixed typo 2015-07-16 12:52:40 +02:00
Timur Alperovich e4161a59bb Move tests to test the file system API.
Move the prefix and delimiter tests from BaseContainerLiveTest to
BaseContainerIntegrationTest, as that class is subclassed in
Filesystem integration tests. This will make sure the file system blob
store will not regress.

The ListContainerTest is updated to _not_ use a file separator
character, as that leads to a possible creation of directories.
Instead, "-" is used as the delimiter for the delimiter option tests.
2015-07-14 14:11:34 -07:00
Zack Shoylev a472a878b0 Updates live tests and template builder settings for compute 2015-07-14 10:21:32 -05:00
Timur Alperovich 2c1ca89e1a JCLOUDS-929: Add delimiter support to Azure.
Plumb the delimiter option to the Azure blob store.
2015-07-13 14:35:00 -07:00
Timur Alperovich a29d75a5d1 JCLOUDS-929: Implement generic delimiter support.
The patch adds delimiter option support in the generic blob store
interface. A live integration test is added to verify that jclouds
correctly lists objects separated by a delimiter.
2015-07-13 14:34:58 -07:00
Andrew Bayer 1fe90b03c9 JCLOUDS-961 - Add d2, m4, t2 instance types for EC2 2015-07-13 16:10:58 +02:00
Andrew Gaul 1c1cfffd5d JCLOUDS-857: remove spurious annotation
Multiple constructors annotated with @SerializedNames confuses
NamingStrategies.translateName and causes failures with newer JDK.
Since the second constructor does not need this annotation we remote
it.
2015-07-07 16:59:58 -07:00
Timur Alperovich 841a184898 Azure Blob: do not filter out prefixes.
We should not filter out prefixes when listing containers, similarly
to the way swift behaves. This makes the marker blobs apparently to
the user.
2015-07-07 16:33:44 -07: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
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 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