Commit Graph

1950 Commits

Author SHA1 Message Date
davidsloan 17fd80cd5a
JCLOUDS-1557 - Azure local server support
Co-authored-by: David Sloan <david.sloan@lenses.io>
2020-12-08 11:14:03 +09:00
gurkerl83 32f6c4d50f Remove the OSGi configuration from each module. The approach of defining OSGi configuration through common properties and serving them to the bundle plugin gets no longer used; instead, OSGi configuration gets defined in each module's dedicated bnd file. 2020-10-26 19:58:41 +09:00
gurkerl83 7a9cd345a6 Onboard bnd-configuration files, one per module 2020-10-26 19:58:41 +09:00
Andrew Gaul 1cd28c93c4 Remove unintended executable permissions
Fixed via:

find -executable -not -type d -name \*.java -exec chmod -x {} \;
2020-10-19 13:13:34 +09:00
Andrew Gaul 62767a1461 JCLOUDS-1333: JCLOUDS-1334: JCLOUDS-1470: Require Java 8 and Guava 22
This allows compatibility with Guava 29.  Also unwind some older
workarounds.
2020-06-25 08:11:30 +09:00
Andrew Gaul 6e6f8ebf77 JCLOUDS-912: JCLOUDS-1547: GCS InputStream single-part upload
Previously this provider worked around a RestAnnotationProcessor quirk
by using multi-part uploads for InputStream payloads.  Instead work
around the quirk another way which allows a single-part upload.  This
allows inclusion of the Content-MD5 header during object creation.
Backfill tests with both ByteSource and InputStream inputs.
2020-05-31 17:48:31 +09:00
Andrew Gaul 08a16c95fb JCLOUDS-1546: Support GCS Archive storage class
Also change portable abstraction mapping for Tier.ARCHIVE.
2020-05-09 12:01:41 +09:00
ikky888 69ca45720d
JCLOUDS-1541: Add Middle East (Bahrain) region to the AWS EC2 and S3 providers list 2020-04-04 10:48:01 +09:00
majaseremet ca5190636a
JCLOUDS-1533 - Fix upload with SAS token when blob name contains slash (#61) 2020-02-17 15:28:33 +01:00
Ignasi Barrera f5b29c7028 Next development version 2.3.0-SNAPSHOT 2019-10-21 10:32:43 +02:00
Ignasi Barrera 7221844fac Apache jclouds 2.2.0-rc1 release 2019-10-21 10:32:43 +02:00
Simone Locci fa1962b223 Add OS disk type in template options (#46)
* Add OS disk type in template options

* Fix review and code style
2019-09-18 16:34:34 +02:00
Simone Locci 6a076fe0c8 Add azure disk sku (#45)
* Add azure disk SKU

* Add tests

* Fix review adding a disk type enum

* Fix review using storage account type enum
2019-09-17 17:48:32 +02:00
Simone Locci fcf72e5ea5 Add tag support to azure disks 2019-08-09 12:24:49 +02:00
Sergi Castro 5fd4d7a1eb Add new Azure Dubai region (#40) 2019-07-01 23:16:37 +02:00
Ignasi Barrera cd7b3b9b36
Proper exception to catch for methods with unchecked exception 2019-06-17 09:59:17 +02:00
Ignasi Barrera 215df85105
Fix type of location coordinates (#36) 2019-06-15 09:01:13 +02:00
Aliaksandra Kharushka f5806d0488 JCLOUDS-1428: Support for SAS token based Authentication for Azure Blob Storage
removed ACL check for SAS Auth AzureBlobs
2019-05-27 22:05:12 +09:00
Daniel Estévez 8778a3d254 Implements listAll operation for VirtualNetworkAPI (#33)
* Implements listAll operation for VirtualNetworkAPI

Fixes test with proper method call

* Fixes resourcegroup param is now nullable
2019-05-22 09:12:58 +02:00
Daniel Estévez 32c773279f Implements listAll method for LoadBalancersAPI (#32) 2019-05-21 11:49:11 +02:00
Daniel Estévez e0be4d7b27 Implements listAll method in NetworkSecurityGroupApi (#31)
* Implements listAll method in NetworkSecurityGroupApi

* Adds Mock and Live tests for new method
2019-05-21 11:48:07 +02:00
Daniel Estévez f2e955dadf Adds methods listAll and listByLocation to VirtualMachineAPI (#21)
* Adds methods listAll and listByLocation to VirtualMachineAPI

Adds Mock tests fixes

* Minor comments

* Overrides test to avoid case sensitive comparation

* Adds comment to justify overriding base test method

* Enables list by location to improve performance in listNodes abstraction

* Returns all available VMs if no regions are specified
2019-05-17 09:41:38 +02:00
Daniel Estévez e1c64244cb Checks provisioning state in Rule resource instead of Group (#30)
* Checks provisioning state in Rule resource instead of Group

* comments by @nacx to proper check and delete rules

* Fixes log message deleting rule
2019-05-17 08:59:01 +02:00
Sergi Castro 3e855c26be
Add ARM architecture to ec2 image and the related instance types 2019-05-14 09:00:31 +02:00
Olaf Flebbe 92a3c68838 JCLOUDS-1497: Fix checkstyle-suppressions for jcloud-labs (#27)
* Fix NoWhitespaceBefore Checkstyle Violation

* checkstyle updates: remove suppressionsfilter from checkstyle.xml

* suppressions now done in maven-checkstyle-plugin
2019-05-07 11:49:54 +02:00
Dori Polotsky 1c57d07f70 JCLOUDS-847: Poor upload performance for putBlob
This change improves the performance of writing to sockets with the
default Java URL connection HTTP client, by enlarging the buffer used
for socket writes from an implicit hard-coded 4KB / 8KB buffer to a
configurable 32KB buffer.

The buffer size is now controlled by the following property with the
following default value:

jclouds.output-socket-buffer-size: 32768

The implementation is based on a variant of ByteStreams.copy (written as
ByteStreams2.copy) which accepts the buffer size as an argument, unlike
the original Guava code that uses a hard-coded size.

The change was done directly within the loop that copies the input
stream to the output stream, and not by wrapping a BufferedOutputStream
around the existing output stream, in order to avoid copying the payload
twice.

On some platforms this change can improve both the putBlob throughput
and the total CPU consumption.
2019-04-27 15:16:08 +09:00
Andrew Gaul a1c9ce8217 JCLOUDS-1494: Add S3 Deep Archive tier
Also test Glacier tier now that Amazon allows creating objects with
this storage class.
2019-04-06 18:46:14 +09:00
Dani Estevez c2670079fa Adds new Azure regions for South Africa 2019-03-21 11:37:50 -04:00
d065488 ba5a2418a5 JCLOUDS-1428 - Support for SAS token based Authentication for Azure Blob Storage - removed sp and se tokens from the check 2019-03-19 22:28:41 +09:00
Dani Estevez 6fda1736ad Adds EU North 1 region (Stockholm) 2019-03-15 12:00:20 -04:00
Dani Estevez 1c9322e41c Adds China North West Region (Ningxia) 2019-03-15 12:00:20 -04:00
Aliaksandra Kharushka ba1504b38e [JCLOUDS-1428] Support for SAS token based Authentication for Azure Blob Storage (#1270) 2019-02-27 12:21:10 +01:00
Andrew Gaul 8eae27c98d Make interfaces with only statics into classes
This prevents instantiation.  Found via error-prone 2.3.3.
2019-02-23 16:34:11 +09:00
Andrew Gaul 53c47aa0bd Correct uses of checkNotNull
These should provide a descriptive second argument, not the same as
the first argument which is null in the failure case.  This also found
a logic error in CreateVolumeResponseHandler.
2019-02-23 16:33:40 +09:00
Andrew Gaul 7e2723c9a4 JCLOUDS-1452: Add missing b2 test field
Fixes regression from 9524383e49.
2019-01-01 11:10:59 -08:00
Andrew Gaul 9524383e49 JCLOUDS-1452: Add new v2 fields
Some of these only give consistency with similar requests.
2018-12-31 19:39:37 -08:00
Andrew Gaul a0f496e5ec JCLOUDS-1452: Remove Authorization.minimumPartSize
Superseded by absoluteMinimumPartSize and recommendedPartSize.
2018-12-31 18:47:38 -08:00
Andrew Gaul 750809f97f JCLOUDS-1452: Replace size with contentLength
Tracking B2 v2 API changes.
2018-12-31 18:47:38 -08:00
Andrew Gaul ce163f3498 JCLOUDS-1452: Switch to B2 v2 API
Some cleanups but no major changes:

https://www.backblaze.com/blog/backblaze-b2-api-version-2-beta-is-now-open/
2018-12-31 18:47:38 -08:00
Dani Estevez d621edd79f [JCLOUDS-1474] Adds SKU field to both LB and PublicIP
Changes order in parameters to keep properties as last parameter
Removes wrong @Nullable parameters

Moves LoadBalancer and PublicAddress to new package with SKU as inner
class

Moves LoadBalancerSKU inside LoadBalancer. Creates new loadbalancer package

Refactors PublicAddress domain objects

Extracts SKU from LoadBalancer

LoadBalancer SKU as inner class

PublicIPAddress SKU as inner class

Reorder parameters sku and properties
2018-12-28 16:55:35 -05:00
Simone Locci 2d9bb93427 Fix azure listNodes 2018-12-28 16:16:37 -05:00
Andrew Gaul 33d3266205 Enable B2 testCopy* tests
Backblaze has changed something such that these now pass.
2018-12-19 10:16:20 -08:00
Andrew Gaul 4cc4e1d76c Correct B2 SkipException for testPutObjectStream 2018-12-19 03:22:52 -08:00
Andrew Gaul a6cb6cde29 JCLOUDS-1477: Upload single part for small B2 MPU
B2 requires two parts to use multi-part upload but jclouds will
attempt to use one with small uploads.  Instead it should fall back to
single-part when the content length is small.
2018-12-18 22:42:01 -08:00
kraza 5916059be9 JCLOUDS-1467
Added support for c5d & m5d AWS nodes.

JCLOUDS-1467
Updated the SSD drive information.
2018-12-03 17:22:46 -05:00
Dani Estevez 8e827d595e Adds method listAvailableSizes to VirtualMachineApi
Updates API version for VirtualMachineApi
2018-11-20 12:30:14 -05:00
filecatalyst bbb41b4590 JCLOUDS-1464: Update Google Cloud Storage regions
Added missing regions.  For reference:
https://cloud.google.com/storage/docs/bucket-locations
2018-10-30 11:18:08 -07:00
Trent Schmidt 219e2958d7 JCLOUDS-1460: Adding instances to AWS 2018-10-24 14:42:46 -04:00
Ignasi Barrera 9dd50b39c9 JCLOUDS-1463: Do not return MachineTypes from zones that are not available for deploy 2018-10-24 09:20:22 +02:00
Mahmoud Ismail f7b83f4563 Mark sourceImage as Nullable 2018-10-18 11:27:58 +02:00