1677 Commits

Author SHA1 Message Date
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 6bc2ff7e0059fe0a01871b12a09047086774e174.
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