Commit Graph

1943 Commits

Author SHA1 Message Date
Ignasi Barrera 3b726b5686 Fix DigitalOcean2 live tests 2016-10-13 15:06:50 +02:00
Andrew Gaul 50e6d44433 JCLOUDS-945: fix local blobstore marker handling
Previously using prefix markers would not correctly find the next key.
Add test for this behavior.
2016-10-12 22:22:28 -07:00
Stuart Hendren 26c060a0e8 JCLOUDS-1185 Allow rangeIPv4 to be null
The default network of recently created projects have a null value for rangeIPv4
And all regions as subnets, which do have values for the rangeIPv4.

Fixes JCLOUDS-1158
2016-10-07 14:12:08 +02:00
Andrew Gaul 11c636b6b3 JCLOUDS-945: ignore marker prefix test on GCS 2016-10-04 23:03:03 -07:00
Andrea Turli 8df58654b8 fix azure-arm features live tests
- add image publishers filter to AzureComputeServiceLiveTest
- add parser module to provider
- fix create network card interface
- fix checkstyle
2016-09-27 15:27:53 +02:00
Ignasi Barrera 8e0e781df0 GCE live test fixes 2016-09-26 13:25:46 +02:00
Ignasi Barrera d98348d503 Better predicate signature for node operations 2016-09-23 10:22:23 +02:00
Ignasi Barrera 8cbf312c32 Use the existing region suppliers to filter 2016-09-21 17:10:01 +02:00
Andrea Turli b3294bb177 separate the DeploymentToVMDeployment to a function
- refactor logback-test.xml
- change jsonBall to Value
2016-09-21 16:32:43 +02:00
Andrea Turli 204d54d57c add support for whitelisting locations
- change location scope to ZONE vs REGION
- edit the README
- fix Region.byName
- add more Regions in Region class
- address initial comments from @nacx
- revert ZONES to REGIONS
- add parser module
- remove parser from HttpApiModule
- use one region in AzureLiveTestUtils
2016-09-20 16:23:58 +02:00
Andrew Gaul 080bcce224 Address Checkstyle violations
Regression from 76995a363d.
2016-09-17 14:27:03 -07:00
Andrew Gaul 76995a363d Do not fail AWS S3 signer tests with expiry
Regression from 41bdd9c5a9.
References #1008.
2016-09-17 12:13:28 -07:00
Ignasi Barrera 1e484fc2ce Fix package export 2016-09-17 00:56:17 +02:00
Andrew Gaul 7cde28a4d2 JCLOUDS-1074: Guava 20 compatibility
* dynamically call TypeToken.isSupertypeOf with Guava 19 and later and
  TypeToken.isAssignableFrom with Guava 18 and earlier
* consume or ignore values from methods with CheckReturnValue
* replace usage of removed Iterators.emptyIterator
2016-09-06 21:49:20 -07:00
Zack Shoylev 05c05e3de2 Allows users to download large files efficiently and directly to disk. 2016-09-02 14:05:26 -05:00
Iván Lomba 557a115694 JCLOUDS-482: Fix ProfitBricksComputeServiceLiveTest custom hardware assert 2016-08-16 23:12:42 +02:00
Iván Lomba aac9b5fd5d JCLOUDS-482: Add support for ProfitBricks 2016-08-16 02:44:13 +02:00
Iván Lomba 79e95c5a4c JCLOUDS-482: Add support for arbitrary CPU and RAM
This is a combination of 16 commits:

* First approach to ArbitraryCpuRamTemplateBuilderImpl
* Several fixes: refactoring some names, format, identation problems, some missing license headers and generateId method
* Refactored parse utility
* Added GoogleComputeEngineArbitraryCpuRamTemplateBuilderImpl to support GCE custom machine URI
* extracted hardware creation to automaticHardwareForCpuAndRam method
* Fixed ide automatic asterisk imports
* correcting WIP base case PR according to comments
* added machineTypeUriToHardware to set custom hardware in nodes
* fix checkstyle violations and other PR comments
* Set the providerId to custom machineType URI and fix adding node log
* Arbitrary hardware tests added to BaseTemplateBuilderLiveTest and GoogleComputeEngineTemplateBuilderLiveTest
* Added two more tests to BaseTemplateBuilderLiveTest
* Move repeated constants to TestUtils to reuse code
* Fix full path in the Hardware id and URI
* Add custom hardware tests to BaseComputeServiceLiveTest and GCEServiceLiveTest
* Change customHardware test to use buildTemplate and fix identation
2016-08-16 02:44:04 +02:00
Ignasi Barrera 1e4d0beae2 JCLOUDS-1145: Fix DigitalOceanImageExtension and live tests 2016-08-16 00:18:05 +02:00
Janne Koskinen 3c790ae3ae JCLOUDS-664 Azurecompute-arm ImageExtension 2016-08-10 00:07:37 +02:00
Andrea Turli 4f62f40036 [azure-arm] add controlled storage account name generation
- add unit test for storage account name generation
2016-08-06 14:51:26 +02:00
Andrea Turli 4fe2374964 add unit test for storage account name generation 2016-08-06 14:41:01 +02:00
Andrea Turli 93028b7529 GCE: fix tags order 2016-08-02 20:12:45 +02:00
Andrea Turli deeedd55e8 add support for security groups 2016-08-02 16:46:04 +02:00
Ladislav Thon f67cf8b9db [JCLOUDS-664] make getImage(id) only do a single API request
* Fill in the private IP addresses in NodeMetadata
* Unify how getNode and listNodes build the VMDeployment
* Change VMDeployment to use AutoValue
2016-07-17 23:26:26 +02:00
Andrea Turli 26e3d6cfdb [azure-arm] add supports to port ranges to addNetworkSecurityGroup
- add unit tests
2016-07-15 10:58:13 +02:00
Andrea Turli a515ce2f22 Change line endings on files recursively 2016-07-14 00:02:13 +02:00
Rita Zhang cf438b6c1a JCLOUDS-664 Azurecompute-arm Update image name logic 2016-07-12 23:37:28 +02:00
Rita Zhang 10d9b38976 JCLOUDS-664 Azurecompute-arm image capture userdata keyvault 2016-07-01 00:30:29 +02:00
Andrew Gaul 2b0743d579 JCLOUDS-1005: Backblaze B2 portable abstraction 2016-06-24 17:14:36 -07:00
Andrew Gaul a2e2ff8e4f JCLOUDS-1005: Percent encode user metadata values 2016-06-23 20:41:28 -07:00
Andrew Gaul de04c69141 Consistently name test container names
Previously jclouds allocated the initial container pool as
$USERNAME-blobstore-1, 2, etc. and subsequent containers with
$USERNAME-blobstore-$RANDOM.  Use only the former instead.
2016-06-22 22:50:22 -07:00
Andrew Gaul 2ff68fc79e JCLOUDS-1005: Retry on 500 and 503 errors
This requires rewriting the URL for b2_upload_file and b2_upload_part
requests.
2016-06-21 18:12:36 -07:00
Rita Zhang cadd60dc22 JCLOUDS-664 Azurecompute-arm compute service 2016-06-17 22:24:32 +02:00
Ignasi Barrera bde70457d0 JCLOUDS-1105: Do not create the default security group if custom groups are specified 2016-06-17 22:18:35 +02:00
Ignasi Barrera 179ed3b2f6 Properly set the permissions in the ~/.ssh folder
When writing the ~/.ssh/authorized_keys file in a script that is being
run as sudo, the file is created with the root owner, instead of the
user defined by the node credentials. File ownership should be enforced
to make sure the right owner is alwaays set.
2016-06-17 22:16:19 +02:00
Andrew Gaul f66e0a3fcc JCLOUDS-1005: Do not map "none" SHA1 to null
Callers expect that ETag has a non-null value.
2016-06-17 13:11:41 -07:00
Andrew Gaul 3d84d3cb2d JCLOUDS-1005: Backblaze B2 large file operations 2016-06-16 16:12:32 -07:00
Andrew Gaul 882a65bab7 JCLOUDS-1005: Factor out common test code 2016-06-16 16:12:32 -07:00
Andrew Gaul 230448a454 JCLOUDS-1028: Configure idempotent methods
Enable for GCS.
2016-06-15 16:38:53 -07:00
Andrew Gaul 5fec2346a6 JCLOUDS-1028: Configure idempotent methods
Enable POST for Atmos, S3, and Swift.
2016-06-15 16:35:22 -07:00
Valentin Aitken f98116ec83 GCE ResetWindowsPassword
- Function which tells to GCE to reset Windows password

- InstanceApiLiveTest for windows

- Unit test for decrypting windows password

- fixed compile errors
2016-06-15 12:31:48 +02:00
Andrew Gaul 5baa49d9b8 JCLOUDS-1125: GCS list multipart uploads
Not supported.
2016-06-13 17:11:39 -07:00
Andrew Gaul 0bd2959410 JCLOUDS-1125: portable list multipart uploads
Only Azure, B2, and S3 support this operation.  Some MultipartUpload
fields become nullable.
2016-06-13 16:26:43 -07:00
Andrew Gaul 61ab28cc50 JCLOUDS-1125: Azure list other blobs
Some BlobProperties fields become nullable due to these new blob types.
2016-06-13 16:26:43 -07:00
Andrew Gaul bd6a495a04 JCLOUDS-1005: Backblaze B2 object operations 2016-06-09 16:15:11 -07:00
Zack Shoylev c1ce819f61 updateTemporaryUrlKey test 2016-06-07 17:37:39 -05:00
Zack Shoylev de88a72e7a Change the template to use CentOS instead. Avoids some openjdk-6 problems. 2016-06-07 17:37:33 -05:00
Jim Spring 8d8cd1728d Network Security Group API 2016-06-07 22:25:16 +02:00
Andrew Gaul 4393c47e7f JCLOUDS-1005: Remove unused Credentials 2016-06-05 12:26:47 -07:00
Andrew Gaul ae1f6d0c3f JCLOUDS-866: Reduce GCS multipart limit to 32 2016-06-04 00:23:40 -07:00
Andrew Gaul ed262f7bd6 Delete GCS composite object components
Previously we left dangling subobjects.  The composite object retains
a reference to the components data.
2016-06-04 00:23:22 -07:00
Andrew Gaul c2a22bc32c JCLOUDS-912: GCS upload InputStream work around 2016-06-03 12:38:43 -07:00
Andrew Gaul 5d437312bf JCLOUDS-912: Remove GCS simpleUpload UploadBinder
This is not necessary; jclouds binds the Payload automatically;
jclouds binds the Payload automatically.
2016-06-02 22:35:54 -07:00
Andrew Gaul 2b02db4f22 Add ObjectTemplate.toString 2016-06-02 16:24:13 -07:00
Rita Zhang f2b5c15566 JCLOUDS-664 Azurecompute-arm DeploymentApi OSImageApi VMSizeApi 2016-06-03 00:25:57 +02:00
Andrew Gaul a67ae3f27b Make inner classes static where possible
Found via error-prone.
2016-06-01 20:03:54 -07:00
Andrew Gaul 26d85068ca JCLOUDS-1005: Correct B2 package names
Addresses javadoc failures.
2016-06-01 15:18:16 -07:00
Andrew Gaul bd3bbc4532 JCLOUDS-1005: Backblaze B2 skeleton and bucket ops 2016-05-28 13:08:23 -07:00
Sergey Torgashov ccd1ef2b4d JCLOUDS-1114: Adding support for "Placement.Tenancy" and "Placement.HostId" AWS EC2 parameters 2016-05-20 00:07:47 +02:00
Andrew Gaul 41bdd9c5a9 Skip unimplemented signed URL tests in S3 provider
jclouds aws-s3 provider supports these but s3 does not.  Also expect
failure in atmos and azureblob.  Follow on to
a4c40e15cd.
2016-05-12 12:12:52 -07:00
Rita Zhang a266511f18 JCLOUDS-664 Azurecompute-arm NicApi PublicIPApi and VMApi 2016-05-11 16:05:13 -07:00
Andrew Gaul f6210d58d3 Handle unimplemented signed URL tests in providers
This commit makes it evident in source code which providers do not
support this feature.
2016-05-06 14:38:57 -07:00
Andrew Gaul a4c40e15cd Handle unimplemented signed URL tests in providers
This commit makes it evident in source code which providers do not
support this feature.
2016-05-06 10:31:37 -07:00
Andrew Gaul da386ad0e2 Correct FindBugs warnings 2016-04-27 20:28:37 -07:00
Rita Zhang 8c7573164f JCLOUDS-664 Azurecompute-arm VNetApi and SubnetApi 2016-04-27 14:49:12 +02:00
Andrew Gaul 66cda12b50 Avoid eager evaluation of Preconditions messages
Found via error-prone.
2016-04-24 23:28:55 -07:00
Rita Zhang cadc43cbbc JCLOUDS-664 Azurecompute-arm StorageAccountApi 2016-04-19 16:28:09 +02:00
Andrew Gaul 3cf4e3d79c JCLOUDS-1101: Correct generics wildcard errors
Always incorrect but previously broken on Java 9.  Reference:

https://bugs.openjdk.java.net/browse/JDK-8075793
2016-04-18 09:49:58 -07:00
Ignasi Barrera cf07407c2d JCLOUDS-1077: Fix ProjectApiLiveTest in Google Compute Engine 2016-04-16 02:05:29 +02:00
Rita Zhang f85646f259 JCLOUDS-664 Update live tests for Azurecompute-arm LocationApi 2016-04-13 23:43:22 +02:00
Rita Zhang 8d21b5eca6 JCLOUDS-664 Azurecompute-arm LocationApi 2016-04-13 09:37:38 +02:00
Ignasi Barrera ac57c72f3a Updated azurecompute-arm build status link 2016-04-07 12:15:35 +02:00
Ignasi Barrera 397b0c9ba4 Azure ARM fixes 2016-04-07 11:58:36 +02:00
Ignasi Barrera a780cdad59 Depend on OAuth test jar for tests 2016-04-07 11:56:45 +02:00
Ignasi Barrera 819141a608 Fixed OAuth authentication flow injections 2016-04-07 10:10:10 +02:00
Rita Zhang 053a18ab16 JCLOUDS-664 Azurecompute-arm ResourceGroupApi 2016-04-06 21:23:08 +02:00
Andrew Gaul 0f77386c77 JCLOUDS-766: JCLOUDS-1090: Use AWS v4 signature
Previous commits added support for v4 but did not default to it.  URL
signing continues to use v2 signatures due to a conflict between PUT
requests and v4 content signing.  Addresses
AWSS3ServiceIntegrationLiveTest.testAllLocations test failures.
2016-03-27 16:27:30 -07:00
Andrew Gaul fdec2fa99f JCLOUDS-766: Do not resign already-signed requests
Previously jclouds would add both a V2 and V4 signature to some
requests which Amazon rejects.  Addresses AWSS3BlobSignerLiveTest test
failures with time-limited requests.
2016-03-27 16:24:12 -07:00
Andrew Gaul 6964ef6c8f Actually send RRS in putBlobWithReducedRedundancy
Regression from 0f6ab3944f.
2016-03-27 14:25:56 -07:00
Andrew Gaul 28f10f90b8 Use correct payload length in GCS test
This avoids MWS unexpected end of stream errors.  Regression from
b9322c583d.
2016-03-23 19:35:41 -04:00
Andrew Gaul 2501122a20 JCLOUDS-766: Add eu-central-1 to test expectations
Addresses AWSS3ServiceIntegrationLiveTest.testGetAssignableLocations
test failures.  Follow-on to c18371a793.
2016-03-17 23:48:07 -07:00
Alex Heneveld d649c90d98 fix for issue if SL machine has multiple credentials registered
now just pick the best one. it matters only when we are going to log in to a machine.
the only time the problem has been observed has been with pre-existing machines set up
outwith jclouds with multiple password.
2016-03-08 14:59:20 +01:00
Andrew Gaul c18371a793 JCLOUDS-766: Add eu-central-1 to AWS S3 regions
Also clean up some missing and duplicated properties.
2016-03-07 21:21:08 -08:00
Ignasi Barrera 72f2652dca Properly handler ProfitBricks service errors 2016-03-02 14:51:29 +01:00
Ignasi Barrera 59a88ff898 Fix ProfitBricks TemplateBuilderLiveTests 2016-02-24 22:56:40 +01:00
Reijhanniel Jearl Campos 9a8b4d074b Move html responses to a subfolder for cleaner rat plugin exclude 2016-02-23 19:30:03 +08:00
Reijhanniel Jearl Campos d5b74179a4 Update profitbricks readme to reflect previous refactoring changes 2016-02-20 01:33:26 +08:00
Reijhanniel Jearl Campos d05cecc39c Update pom details for ProfitBricks 2016-02-19 23:02:29 +08:00
Reijhanniel Jearl Campos 1af52159c9 Merge remote-tracking branch 'jclouds-labs-profitbricks-local/promote-profitbricks-moved' into promoted-profitbricks 2016-02-19 22:04:55 +08:00
Ignasi Barrera 7202e0557f Refactored locations to not rely on existing DataCenters 2016-02-18 10:48:00 +01:00
Andrew Gaul 6cdb1216a7 JCLOUDS-651: S3 support for conditional copies 2016-02-16 16:29:54 -08:00
Andrew Gaul 467f3483bc JCLOUDS-651: Azure support for conditional copies 2016-02-16 16:29:54 -08:00
Andrew Gaul 293d3f864e Convert CopyOptions into an AutoValue
This commit requires an interface change since AutoValue lacks support
for Optional and uses Nullable annotations instead.
2016-02-16 16:29:54 -08:00
Andrew Gaul 2499cb0ac2 GCS support for conditional copies 2016-02-12 20:44:18 -08:00
Andrew Gaul 165e9afd9f Convert CopyOptions into an AutoValue
This commit requires an interface change since AutoValue lacks support
for Optional and uses Nullable annotations instead.
2016-02-12 19:29:38 -08:00
Andrew Gaul 0cf13c61ef Do not remove during Azure abortMultipartUpload
Explicitly removing the blob removes any previously existing blob with
the same name.
2016-02-03 23:34:37 -08:00
Andrew Gaul e50bd79f01 Map PublicAccess.CONTAINER to PUBLIC_READ
This better matches the semantics of other providers and allows
clients to list a publicly readable container.
2016-01-31 18:14:25 -08:00
Andrew Gaul 6360023f09 Remove unnecessary static imports
Found via error-prone.
2016-01-29 09:14:55 -08:00
Andrew Gaul 4be8a2eb72 Add missing hashCode methods
Found via error-prone.
2016-01-29 08:37:46 -08:00
Andrew Gaul b2c0786fc0 Enable range tests for azureblob 2016-01-23 12:38:50 -08:00
Andrew Gaul 9c05604e99 Skip ACL tests on GCS
These tests use request signing which GCS does not currently support.
2016-01-22 21:09:54 -08:00
Andrew Gaul 10318ed777 JCLOUDS-943: JCLOUDS-1056: Configure OSGi packaging 2016-01-22 16:10:57 -08:00
Andrew Gaul 3a65df1e2e JCLOUDS-988: Subclass StaticLargeObjectApiLiveTest in Cloudfiles providers
This allows tests to run.
2016-01-22 14:01:49 -08:00
Ignasi Barrera ef7b85130e JCLOUDS-1056: Configure OSGi packaging 2016-01-22 11:34:07 +01:00
Ignasi Barrera edacad2b6e Amend poms after promoting DigitalOcean v2 2016-01-21 01:02:58 +01:00
Ignasi Barrera 886aa156b4 Promote DigitalOcean v2 2016-01-20 23:57:03 +01:00
Ignasi Barrera c188570444 Improved DigitalOcean image extension
Do not block when waiting for the images to become available.
2016-01-20 12:24:46 +01:00
Reijhanniel Jearl Campos 235b4b98d4 JCLOUDS-1047: Fix ProfitBricks compute service live tests 2016-01-19 15:29:57 +01:00
Ignasi Barrera 40f31786c5 JCLOUDS-512: Implement the ImageCache
This commit refactors the ImageCacheSupplier to act as a
proper cache. It is used by the ImageExtesion and all operations
on the images are propagated to the cache.

A method has also been added to the TemplateBuilder to let users
force a cache refresh. There have been several requests to provide a way
to disable image caching in the compute abstraction, and this new method
should fix that.
2016-01-19 11:25:09 +01:00
Ignasi Barrera 62f1c0bc9a Remove unnecessary code to register the compute extensions 2016-01-19 11:17:21 +01:00
Andrew Gaul 0f6ab3944f JCLOUDS-1042: Remove unused bucketAcls
Follow-on to 6bc2ff7e00.
2016-01-17 23:05:08 -08:00
Andrew Gaul 01e10bba66 JCLOUDS-948: Azure Cache-Control support
References JCLOUDS-185.
2016-01-15 04:41:01 -08:00
Zhao Jin 8bddbb496a JCLOUDS-480: AWS S3 v4 signature
This includes support for chunked uploads.
2016-01-13 15:08:18 -08:00
Rita Zhang a12ce5a8b7 Add support for AzureBlobStore.getBlobAccess and RegionScopedSwiftBlobStore.getBlobAccess.
They are currently throwing UnsupportedOperationException exception.
2016-01-05 15:33:50 -08:00
Ignasi Barrera 1ac6fa8426 JCLOUDS-1052: Fix DigitalOcean2 deleteImage 2015-12-22 23:12:59 +01:00
Andrew Gaul f926944949 JCLOUDS-844: Azure putBlob ACLs 2015-12-22 00:46:34 -08:00
Andrew Gaul 57d162c646 JCLOUDS-844: GCS putBlob ACLs 2015-12-21 23:25:00 -08:00
Andrew Gaul 13701bf7ab Do not test marker contents
Some providers like Azure have opaque markers.
2015-12-19 15:24:12 -08:00
Zack Shoylev 415a8a6600 Allows extensions to fall back on using an optional name in keystone/openstack 2015-12-14 10:24:59 -06:00
Andrew Gaul b64d05abb9 Allow setting content metadata during copyBlob
Also remove unneeded call to setBlobMetadata which copy sets.
2015-12-13 22:33:08 -08:00
Andrew Gaul 85bc4a6b7e Fix Azure setBlobProperties
Also backfill test.
2015-12-13 22:24:53 -08:00
Andrew Gaul 0634da98a7 Return ETag from AzureBlobClient.copyBlob
This avoids a call to getBlobProperties in AzureBlobStore.copyBlob.
2015-12-13 18:12:57 -08:00
Andrew Gaul bc41e96c49 Use correct package name for CloudFiles tests
Found via error-prone.
2015-12-13 04:27:40 -08:00
Andrew Gaul b47c50b7a5 Correct malformed format strings
Found via error-prone.
2015-12-12 08:53:08 +08:00
Andrew Gaul 28d090139d Make inner classes static when possible
Found via error-prone.
2015-12-12 08:53:07 +08:00
Andrew Gaul 06e379d7a5 Remove @Nullable from methods returning primitives
Found via error-prone.
2015-12-12 08:53:07 +08:00
Andrew Gaul 639e96d5e7 Remove @Nullable from methods returning primitives
Found via error-prone.
2015-12-12 08:22:27 +08:00
Ignasi Barrera 86dadc3a75 JCLOUDS-1038: Fix date deserialization in EC2 apis 2015-11-24 14:53:18 +01:00
Reijhanniel Jearl Campos 52c6c2b7b5 JCLOUDS-947: Properly configure live tests in ProfitBricks 2015-11-18 22:35:05 +01:00
Ignasi Barrera 575d39e7c5 JCLOUDS-1033: Don't fail if no private key has been provided in DigitalOcean 2015-11-16 22:58:29 +01:00
Chris Custine 5d82b40d78 JCLOUDS-1026: Remove public HP cloud compute providers
https://issues.apache.org/jira/browse/JCLOUDS-1026
2015-11-09 19:04:59 -07:00
Ignasi Barrera 667252d9e8 Fix Google Compute Engine live tests 2015-11-03 00:16:40 +01:00
Ignasi Barrera 9df30c5a09 JCLOUDS-717: Join Enterprise and OpenSource Chef 2015-10-30 01:02:53 +01:00
Ignasi Barrera 3fbd399f6b Prefer polling the status of the node 2015-10-29 15:55:23 +01:00
Ignasi Barrera c9306c1fc8 Fix a bunch of aws-ec2 live tests 2015-10-29 01:54:09 +01:00
Ignasi Barrera 985d45122b JCLOUDS-987: Create security groups in AWS if subnetId is specified 2015-10-29 01:54:03 +01:00
Ruben Rubio Rey 83ff38ebee JCLOUDS-1027: When waiting to a droplet to be created we check the proper dropletId 2015-10-27 23:35:36 +01:00
Ignasi Barrera 7e866ad6a1 JCLOUDS-1022: Automatically handle DigitalOcean rate limit 2015-10-27 23:30:43 +01:00
Reijhanniel Jearl Campos 5e82bbfa46 JCLOUDS-951: Remove inheritance in ProfitBrick's AutoValue classes 2015-10-27 13:12:23 -05:00
Andrew Gaul b4eeb6393a JCLOUDS-790: Remove hpcloud-objectstorage
HP will sunset this service on 31 Jan 2016:

http://h30499.www3.hp.com/t5/Grounded-in-the-Cloud/A-new-model-to-deliver-public-cloud/ba-p/6804409
2015-10-25 20:39:39 -07:00
Ignasi Barrera 4596471bb2 JCLOUDS-1025: Add support for metadata and tags in the ComputeService 2015-10-23 00:18:45 +02:00
Ignasi Barrera 200e0e12ba JCLOUDS-1024: ImageExtension can take snapshots of stopped droplets 2015-10-22 15:53:06 +02:00
Ignasi Barrera 6254526296 JCLOUDS-1023: Fix DigitalOcean getImage() method 2015-10-22 11:13:30 +02:00
Timur Alperovich 2385ba901e JCLOUDS-1008: Use @Encoded with GCS.
Google cloud storage should use the @Encoded annotation with the
object names to make sure that the object is percent-encoded prior to
being submitted in the path of the request. This was previously broken
because the default path encoding ignores "/" and encodes the entire
string. The @Encoded annotation instructs jclouds annotation processor
to not encode the parameters to which it is attached and not to encode
the entire request path. Parameters that are not annotated with
@Encoded are URL encoded prior to being add to the path.
2015-10-21 10:40:04 +02:00
Ignasi Barrera 0c1de23a9a Fix line endings. Use Unix line endings everywhere 2015-10-13 17:05:59 +02:00
Andrew Kennedy cf0e659ccf Add new Softlayer API method to return arbitrary VirtualGuest fields 2015-10-07 20:40:51 +02:00
Stuart Hendren c3f1775123 Adding elastichosts Dallas and Miami providers 2015-10-07 20:39:36 +02:00
Timur Alperovich 06125793d2 GCS delimiter test should not be special cased.
GCS delimiter implementation now works similarly to the other
providers (fixed in a prior commit) and we do not need to special case
the test.
2015-09-29 21:29:08 -07:00
Stuart Hendren 26df7e3c9e Fix for Go2Cloud provider endpoint
See JCLOUDS-1004 - Update the Go2Cloud endpoint

https://issues.apache.org/jira/browse/JCLOUDS-1004
2015-09-23 12:31:38 +02:00
Ignasi Barrera ed425c202a Remove accidentally committed file 2015-09-21 23:22:29 +02:00
Michael Wilson 962980cd9d JCLOUDS-1001. Add preemptible support to the Google Compute provider.
The Google Compute provider should support preemptible instances.
2015-09-21 22:17:18 +02:00
Ignasi Barrera 042222b647 GCE hardware profiles might not have volumes 2015-09-18 10:05:34 +02:00
Timur Alperovich f8eff7e00e JCLOUDS-217: AWS-S3: Remove special encoding.
AWS-S3 provider should not pre-encode parameters that are passed to
the jclouds request. This comes up in the AWSS3BlobRequestSigner as
the only place where a parameter is pre-encoded.
2015-09-17 13:08:44 -07:00
Timur Alperovich 4bc4564900 Skip broken Azure test. 2015-09-11 14:27:24 -07:00
Timur Alperovich cbea1b64ef JCLOUDS-217: AWS EC2: Do not use encoded params.
AWS EC2 tests should not pre-encode HTTP parameters.
2015-09-08 15:19:03 -07:00
Timur Alperovich cdabc59ad8 JCLOUDS-217: Azure: Handle blobs with % correctly.
When constructing a URI path for a blob in the listing results, the
Azure provider should re-encode any "bad" characters. Azure provider
also should not call trim() on the blob name, as that will remove any
leading or trailing space characters (which the provider supports). In
fact, the trim() call is only required because of the fact that when
parsing the XML document in the Azure tests, the white space between
the tags was also included in the values. Changing when the character
array is reset eliminates the need to do so.
2015-09-08 15:19:02 -07:00
Oliver Gondža edde721937 JCLOUDS-962: Make all @Provider methods final 2015-09-02 23:54:44 +02:00
Andrew Gaul 2e1e109a0c JCLOUDS-894: Add portable multipart upload for GCS 2015-08-26 14:08:10 -07:00
Timur Alperovich e222567821 Update comment for the failing test. 2015-08-20 17:55:55 -07:00
Timur Alperovich 25cb06c9fe Simplify list handling. 2015-08-20 17:55:55 -07:00
Timur Alperovich 834b3d5d2f JCLOUDS-929: Plumb delimiter and prefix to GCS. 2015-08-20 17:55:48 -07:00
Timur Alperovich efdc715b88 JCLOUDS-992: do not use RELATIVE_PATH for BLOBs.
Changes the Google storage provider to be inline with the other
providers in not returning RELATIVE_PATH for objects that are BLOBs.
2015-08-20 14:30:38 -07:00
Timur Alperovich 5fcfcf3afe JCLOUDS-992: Handle directories as blobs in HPCS. 2015-08-20 12:42:11 -07:00
Timur Alperovich 04ba8905f8 JCLOUDS-992: Handle directories as blobs in Azure. 2015-08-20 12:42:11 -07:00
Andrew Gaul 449eeec8e6 JCLOUDS-888: Remove redundant imports
Regression from a46f3924e3.
2015-08-11 13:05:36 -07:00
Andrew Gaul a46f3924e3 JCLOUDS-988: Subclass ObjectApiLiveTest in Cloudfiles providers
This allows tests to run.
2015-08-11 12:27:16 -07:00
Andrea Turli 10f72f0731 [SoftLayer] fix some failing LiveTests
fix VirtualGuestBlockDeviceTemplateGroupApiLiveTest
fix SoftLayerComputeServiceLiveTest
2015-08-11 18:15:40 +02:00
Andrea Turli 1163b94c32 [SoftLayer] fix some failing LiveTests
fix VirtualGuestBlockDeviceTemplateGroupApiLiveTest
fix SoftLayerComputeServiceLiveTest
2015-08-11 18:12:57 +02:00
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 428d909562 Move the skipped tests.
Since the delimiter and prefix tests were moved to
BaseContainerIntegrationTest (from BaseContainerLiveTest), need to do
the same for google.
2015-07-14 15:06:16 -07: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 e492ba641a JCLOUDS-929: Disable delimiter test. 2015-07-13 14:43:01 -07: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
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 7be0753e74 JCLOUDS-930: Skip the prefix test in GCS.
As the prefix option has not been plumbed down into GCS, we should
skip the prefix test.
2015-06-29 21:52:17 -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
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 e76c59fef4 Remove the graduated GCE provided and updated Maven coordinates 2015-06-26 14:51:07 +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 2abac7c11c add rewrite to ObjectApi 2015-06-23 16:51:32 -07:00
Daniel Broudy 70da397237 Update ComposeObjectTemplate and update MockTests 2015-06-22 09:37:42 -07:00
Daniel Broudy 15a5dadc1a 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
Daniel Broudy 7213acb03f fix javadoc 2015-06-12 16:12:48 -07:00
Daniel Broudy c0190dd03e Update ObjectApi and getBlob, fix testGetRangeOutOfRange 2015-06-12 16:11:53 -07: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 bb62abfaa5 JCLOUDS-894: Fake portable multipart upload for GCS 2015-06-07 22:32:52 -07:00
Andrew Gaul fb4c65141e Allow GCS object nullable owner
This addresses a NullPointerException seen while listing a bucket:

{statusCode=200, message=OK, headers={X-Frame-Options=[SAMEORIGIN], Server=[GSE], Cache-Control=[private, max-age=0, must-revalidate, no-transform], X-Content-Type-Options=[nosniff], Vary=[X-Origin, Origin], X-XSS-Protection=[1; mode=block], Date=[Fri, 29 May 2015 21:43:51 GMT], Alternate-Protocol=[443:quic,p=1]}, payload=[content=true, contentMetadata=[contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=760, contentMD5=null, contentType=application/json; charset=UTF-8, expires=Fri May 29 14:43:51 PDT 2015], written=false]}
2015-06-07 22:05:44 -07: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
Daniel Broudy 3d9258f75a Fix DefaultObjectAccessControlsApiLiveTest, ResumableUploadApiLiveTest, ObjectApiLiveTest 2015-06-01 17:31:45 -07:00
Daniel Broudy 2585624d44 JCLOUDS-894: Disable MultipartUploads tests 2015-06-01 15:52:53 -07:00
Andrew Gaul ff2d150d7d Remove bucket litter during integration tests 2015-05-29 14:11:51 -07:00
Andrew Gaul 9d3a7bdd4d Name test buckets jclouds instead of jcloud 2015-05-29 14:07:40 -07: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
Andrew Gaul 119d2f487f JCLOUDS-894: Expose GCS multipart operations
Not yet implemented
2015-05-01 13:30:27 -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
Andrew Gaul 84316704c6 JCLOUDS-651: GCS copy object content metadata 2015-04-09 21:27:05 -07: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
hsbhathiya d51bc04e74 JCLOUD-875: GCS Copy Object with Updated Metadata 2015-04-03 20:53:01 -07:00
Zack Shoylev 60737100ce Enables live tests for neutron security groups. Makes tests more robust. 2015-04-03 13:53:14 -05:00
Andrew Gaul 31369ae590 JCLOUDS-651: Add Azure server-side copyBlob 2015-04-02 15:36:53 -07:00
Andrew Gaul b19096c80f JCLOUDS-848: Add tests for storage classes 2015-04-01 13:12:26 -07:00
snotling 64b7ce6846 JCLOUDS-848: Support GCS nearline storage 2015-04-01 11:21:04 -07:00
snotling ad495ab1bc Make deleteObject() return false on 404 response 2015-04-01 06:08:51 -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
snotling c1033d1eda Use GCS simple upload in sequential upload strategy 2015-03-30 11:27:54 -07:00
snotling 7c618e2735 Fix typo 2015-03-30 11:26:28 -07:00
snotling e2da6ae80d Fix if-statement that always returns true 2015-03-30 11:21:55 -07:00
Ignasi Barrera 88c3c61081 Next development version 2.0.0-SNAPSHOT 2015-03-24 11:07:27 +01:00
Ignasi Barrera 0ee0a0000f 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 2df73001ee 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 1bd0a4a4cb 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 ba4846e2a8 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 41a7a2d3d4 JCLOUDS-805: Fix multiple invocations to MPU
Create new SequentialMultipartUploadStrategy for every invocation.
2015-02-21 19:09:34 -08:00
Andrew Gaul d0651951f8 JCLOUDS-732: GCS portable object ACLs 2015-02-21 10:51:13 -08: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
hsbhathiya cf6d316bd0 JCLOUDS-805: Fixed BucketApiLiveTest Failures 2015-02-13 12:20:26 -08: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
Andrew Gaul c7c2581f50 JCLOUDS-660: GCS portable container ACL support 2015-02-12 17:24:38 -08:00
Daniel Broudy e6457beee1 Adding BaseGoogleCloudStorageApiMockTest + ObjectApiMockTest 2015-02-12 12:42:53 -08:00
Daniel Broudy 16ad52a27d enabling running live tests with .json key format 2015-02-11 15:07:04 -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 ba170c2018 Split Auto dependencies into auto-service and auto-value 2015-01-16 14:38:06 -08:00
Jeremy Daggett 079b4d9c5c Split Auto dependencies into auto-service and auto-value 2015-01-16 14:38:06 -08:00
Andrew Gaul 4d7f11617e Use Iterable payload slicer for GCS
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 GCS blob store.
2015-01-16 11:54:45 -08:00
Andrew Gaul a21d3fb2d6 JCLOUDS-805: Skip testListMarkerAfterLastKey 2015-01-16 10:56:59 -08:00
Andrew Gaul 8e9485b7bb JCLOUDS-805: return null w/ non-existent container
This matches the behavior of other blobstores and allows
deleteContainerIfEmptyWithoutContents to pass.
2015-01-16 10:51:24 -08:00
Andrew Gaul ea9e847f44 Expose new multipart tests 2015-01-16 05:38:21 -08:00
Andrew Gaul 64b41d08c6 JCLOUDS-805: ensure overriding of metadata methods
Setting Content-Encoding causes testPutByteSource and
testPutInputStream to fail.  GCS should support this:

https://cloud.google.com/storage/docs/gsutil/addlhelp/WorkingWithObjectMetadata#content-encoding
2015-01-16 05:23:49 -08:00
Andrew Gaul 68cc6e7dad JCLOUDS-805: transposed length and upload id 2015-01-15 16:39:17 -08:00
Andrew Gaul 480b76fe8d JCLOUDS-805: Populate StorageMetadata size for GCS 2015-01-15 15:32:34 -08:00
Andrew Gaul b81322ac75 JCLOUDS-805: fix GCS MD5 checks
Regression from b8670b16e3793fb17255381faee6608d694c387a.
2015-01-15 15:19:59 -08:00
Jeremy Daggett e36cf4233f Support Rackspace Cloud Networks UK 2015-01-14 14:40:05 -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 9297066be9 Reduce GCS multipart test input size 2014-12-22 16:06:05 -08: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