Commit Graph

1916 Commits

Author SHA1 Message Date
Tom McLaughlan 3d188324d5 Allow jclouds to provision SoftLayer instances with a private image. Fix
Bug JCLOUDS-1410.
2018-04-17 17:12:00 +02:00
Andrew Gaul 7db5eb5cd0 JCLOUDS-1400: Honor GCS signed URL content type
Also add GetOptions headers instead of replacing all headers.
2018-04-12 22:43:43 -07:00
Andrew Gaul a35fa4a404 JCLOUDS-1400: Honor Azure signed URL content type 2018-04-12 22:43:43 -07:00
Andrew Gaul f6d47b9c0e JCLOUDS-1333: Fix Java 8 and Guava 21 issues 2018-04-10 08:17:35 -07:00
Felipe L. de Souza b04d2df661 JCLOUDS-1404: Added new Google Storage locations 2018-04-08 21:57:51 -07:00
Andrew Gaul ea6b616faa JCLOUDS-1399: Support S3 One Zone-IA storage class
Also improve test coverage of storage classes.
2018-04-04 21:44:28 -07:00
Ignasi Barrera 64be8f7b1a Fix error code in ProjectApiLiveTest 2018-03-26 15:05:44 +02:00
Andrew Gaul 90fac3b683 JCLOUDS-1271: Remove BlobStore.signRemoveBlob
Most providers never supported this functionality and the portable
abstraction should not have included it.
2018-03-09 20:52:12 -08:00
Alin Dreghiciu 775921cd5d JCLOUDS-1394: Increase Azure max blob size to 256MB 2018-03-09 07:56:59 -08:00
Alin Dreghiciu cbb76523cc JCLOUDS-1391: Sort headers correctly for signing 2018-03-07 22:13:43 -08:00
Alin Dreghiciu f6d95d0fda JCLOUDS-1390: Use FULL projection for list blobs
This avoids a per-object call during detailed listings.
2018-03-07 21:47:44 -08:00
Ignasi Barrera 22cfbb86f2 JCLOUDS-1381: Add unit tests 2018-03-02 08:57:45 +01:00
andreaturli d17487b223 fix typo in project.version
- from 2.2.0-SNAPSHOST to 2.2.0-SNAPSHOT
2018-02-21 16:45:43 +01:00
andreaturli a5db565581 Next development version 2.2.0-SNAPSHOST 2018-02-16 11:23:12 +01:00
andreaturli 9273bd56ad Apache jclouds 2.1.0-rc3 release 2018-02-16 11:20:21 +01:00
Ignasi Barrera 7aed4bc88c JCLOUDS-1381: Fix NPE in GCE DiskURIToImage 2018-02-16 08:30:07 +01:00
Andrew Gaul 88c84af878 JCLOUDS-912: Use simpleUpload in GCS BlobStore MPU
This works around a regression with InputStream payloads that I cannot
track down.  Using simpleUpload instead of multipartUpload is more
optimal since the former avoids creating a multipart form request.
2018-02-10 18:42:36 -08:00
Andrew Gaul 3ab335e776 JCLOUDS-1335: Expect hot when no tier specified
This worked earlier; GetBlobProperties must unconditionally emit the
access tier now that it is out of public preview.
2018-02-08 22:35:49 -08:00
Andrew Gaul 55983819a2 JCLOUDS-1335: Use consistent Azure test version 2018-02-08 22:07:18 -08:00
Ignasi Barrera 5b4f5ee023 Fix ProfitBricks pom 2018-01-17 09:24:27 +01:00
Ignasi Barrera a7383af258 Update pom.xml files after promoting Rackspace Cloud Networks 2018-01-17 09:19:18 +01:00
Ignasi Barrera 68e3dc059b Promote Rackspace Cloud Networks providers 2018-01-17 09:14:54 +01:00
Ignasi Barrera 6fd7c7c38b JCLOUDS-1373: Add eu-west-3 (Paris) AWS region 2018-01-16 14:49:12 +01:00
Ignasi Barrera d50acd5e61 JCLOUDS-1372: Add support for R4 instance types 2018-01-16 12:28:19 +01:00
Ignasi Barrera efeedb4526 Add support for Keystone V3 2018-01-16 09:08:06 +01:00
Ignasi Barrera dd73410d12 Add support for OpenStack Keystone V3
Refactors the Keystone Authentication and Service Catalog classes to a
common model that can be used by V2 and V3 of Keystone. Each version
will have their own Authentication APIs and Service Catalog Suppliers,
and the higher level Keystone Authentication will transparently delegate
to the right API based on the keystone-version property.

OpenStack APIs will just have to define the default keystone-version
property they work with, and declare the generic Keystone Authentication
and Service Catalog modules.

Co-authored-by: Andrea Turli <andreaturli@apache.org>
2018-01-16 09:06:30 +01:00
Ignasi Barrera 3877303ede Update maven coordinates for promoted Azure ARM 2018-01-08 15:11:22 +01:00
Ignasi Barrera cc969052a7 Promote Azure ARM from jclouds-labs 2018-01-08 14:58:45 +01:00
Ignasi Barrera eebcc0017f JCLOUDS-1362: Proper password generation with custom constraints for each cloud 2018-01-08 08:48:37 +01:00
Ignasi Barrera 9fef6ed06b JCLOUDS-1362: Better password generation utility 2018-01-08 08:39:20 +01:00
Jim Spring a2dee2f84c Add Azure KeyVault support 2018-01-04 01:44:48 +01:00
Andrew Gaul 89e102810e Correct order of AutoValue parameters
Found via error-prone 2.1.3.
2017-12-23 23:47:17 +08:00
andreaturli 6aa759cebc [Openstack-Neutron] move SecurityGroupApi from extensions to features 2017-12-12 09:47:11 +01:00
Ignasi Barrera ac5f3a1452 Rename GraphRBAC live test class 2017-12-05 09:39:39 +01:00
Ignasi Barrera 3efce9a3a5 Configure the Graph RBAC API and allow mocking service endpoints 2017-12-04 10:12:16 +01:00
Ignasi Barrera 6c759930d7 Injectable current service principal 2017-12-01 14:21:22 +01:00
Ignasi Barrera 715994b125 Fix GCE live tests 2017-11-30 09:06:23 +01:00
Ignasi Barrera a0f659faed
Fix DigitalOcean DropletApiLiveTest 2017-11-30 09:05:28 +01:00
Andrew Gaul 8ec3c520ce JCLOUDS-1337: revert legacy aws-s3 storage class
This functionality was deprecated in 2.1.x and we will remove it in
2.2.x.  Partially reverts 89053d9a8b.
2017-11-22 18:08:41 -08:00
William Chen a540daf3d6 This is the first commit of for SoftLayer Network API set
minor code improvement

Syntax fix with coding standards

- added more test coverage to NetworkApiMockTest class
- minor clean up
- minor code improvement
2017-11-22 14:32:22 +01:00
jucolon 7368d58ad9 JCLOUDS-1342 : Azure-ARM Virtual Machine Scale Set Support 2017-11-21 10:20:07 +01:00
Nelson Araujo 5d82a3df97 JCLOUDS-1355: Enable VM creation without external IP address. 2017-11-21 09:58:53 +01:00
Andrew Gaul 9dc85ecaab JCLOUDS-1281: Improve Swift DLO tests
Add DynamicLargeObjectApiLiveTest to Rackspace Cloud Files suite and
use correct regionId so that tests pass.  Also remove duplicative
test.
2017-11-07 10:50:10 -08:00
Ignasi Barrera 8b33c44078 Add tags to virtual network creation 2017-11-06 09:09:30 +01:00
Andrew Gaul 46759f8bda Fix a few Coverity defects 2017-11-05 20:12:47 -08:00
Richard Downer 98c289721c Recognise CentOS images on AWS Marketplace
CentOS’ officially-supported AMIs are hosted on the AWS Marketplace.
This adds support for those images, recognising the AMI naming
convention and ensuring the OS metadata is parsed correctly and the
correct SSH login name is used.

There is no change to the default jclouds configuration and the
official CentOS images will not be detected by default. To use these
images, you must alter the ami-query properties to include searching
the “AWS Marketplace”, which has an owner ID of 679593333241. You must
also manually log on to the AWS Marketplace, select your chosen CentOS
image, and “subscribe” to it (you can do this by proceeding as if to
launch an image, but stopping after you have agreed to the subscription
and before launching).
2017-11-03 10:23:37 +01:00
Andrew Gaul 7fbef10d57 JCLOUDS-1337: Include tier in object listing
This requires hoisting Tier from BlobMetadata to StorageMetadata.
2017-11-02 16:24:34 -07:00
Andrea Turli af79f8f812 Azure ARM fix OSProfile domain object 2017-10-26 12:02:25 +02:00
Andrea Turli bc520cfdf2 fix domain object
- fix VirtuaMachineMockTest
2017-10-25 15:55:06 +02:00
Ignasi Barrera e1e89b5ffb Update Azure ARM credentials instructions 2017-10-25 15:17:59 +02:00
Andrew Gaul 3193aa68e8 JCLOUDS-1337: B2 putBlob portable storage tiers 2017-10-23 21:31:48 -07:00
Ignasi Barrera e0e3519ed8 Fix checkstyle 2017-10-23 12:07:42 +02:00
Andrew Gaul a17cf61cf9 Address InjectOnConstructorOfAbstractClass warning
Found via error-prone 2.1.1.
2017-10-20 00:55:30 -07:00
Andrew Gaul 89053d9a8b JCLOUDS-1337: S3 putBlob portable storage tiers
Also promote hacky and limited storage class support from aws-s3
provider to s3 api.
2017-10-12 11:16:48 -07:00
Andrew Gaul 14c41ea133 JCLOUDS-1337: GCS putBlob portable storage tiers 2017-10-12 11:15:14 -07:00
Andrew Gaul 152ca564b5 JCLOUDS-1337: Azure putBlob portable storage tiers 2017-10-12 11:15:14 -07:00
Vikas Rangarajan 7d3b1bebd5 JCLOUDS-1282: Add back support for Azure ARM custom data 2017-09-29 11:29:08 +02:00
Andrew Gaul fc147dc0c5 JCLOUDS-1335: Azure Blob object access tiers 2017-09-21 20:31:34 -07:00
Andrew Gaul 5facb65a7e JCLOUDS-1335: Upgrade to Azure Blob API 2017-04-17 2017-09-20 21:07:32 -07:00
Andrew Gaul d3d825d3b9 Map empty delimiter to null in B2
Follow on to d07c4a215e.
2017-09-18 00:12:36 -07:00
Andrew Gaul 39f3a9d1fe JCLOUDS-1344: Enable B2 wire logging 2017-09-17 23:25:32 -07:00
Andrew Gaul 9628a9064e Upgrade to EasyMock 3.4
Also switch from unmaintained easymockclassextension to easymock.
Release notes:

https://github.com/easymock/easymock/releases
2017-09-17 15:45:46 -07:00
Andrea Turli b0abfa4b9a [ARM] IpOption will allocate a public ip when a network is specified 2017-09-13 14:10:19 +02:00
Andrew Gaul 7704893650 Remove Inject on constructors for abstract classes
This is not meaningful since these classes cannot be instantiated.
Found via error-prone.
2017-09-07 23:37:24 -07:00
Andrew Gaul b424a6c164 Alphabetize modules 2017-09-07 07:27:56 -07:00
Andrea Turli 79daee361a remove overrides from AzureComputeService for destroyNode and destroyNodesMatching
- uses https://github.com/jclouds/jclouds/pull/1135
2017-09-06 12:07:17 +02:00
Andrea Turli af4bd3a86b [JCLOUDS-1332] destroyNode and destroyNodesMatchingPredicate different semantic
- modify BaseComputeService to make the 2 operations more similar
- remove overridden destroyNode and destroyNodesMatching from GoogleComputeEngineService
2017-09-05 22:01:52 +02:00
Andrew Gaul 1937e200e3 JCLOUDS-1336: GCS object-level storage class 2017-09-01 14:26:44 -07:00
Andrew Gaul 2817b27725 Correct InsertObjectOptions.Builder return type 2017-09-01 12:37:32 -07:00
Andrew Gaul a22ea352f6 Add md5Hash and crc32c accessors to ObjectTemplate 2017-09-01 12:37:30 -07:00
Andrew Gaul 6b5f522f5c Make auto service optional
This makes dependencies consistent and eliminates warnings of the
form:

$M2_HOME/repository/org/apache/jclouds/driver/jclouds-slf4j/2.1.0-SNAPSHOT/jclouds-slf4j-2.1.0-SNAPSHOT.jar(org/jclouds/logging/slf4j/config/SLF4JLoggingModule.class): warning: Cannot find annotation method 'value()' in type 'AutoService': class file for com.google.auto.service.AutoService not found

Reference:

https://github.com/google/auto/tree/master/service#download
2017-08-30 12:27:08 -07:00
Andrew Gaul fd00c7db75 Make auto service optional
This makes dependencies consistent and eliminates warnings of the
form:

$M2_HOME/repository/org/apache/jclouds/driver/jclouds-slf4j/2.1.0-SNAPSHOT/jclouds-slf4j-2.1.0-SNAPSHOT.jar(org/jclouds/logging/slf4j/config/SLF4JLoggingModule.class): warning: Cannot find annotation method 'value()' in type 'AutoService': class file for com.google.auto.service.AutoService not found

Reference:

https://github.com/google/auto/tree/master/service#download
2017-08-30 12:26:29 -07:00
Andrew Gaul bfd54049b7 Make auto service optional
This makes dependencies consistent and eliminates warnings of the
form:

$M2_HOME/repository/org/apache/jclouds/driver/jclouds-slf4j/2.1.0-SNAPSHOT/jclouds-slf4j-2.1.0-SNAPSHOT.jar(org/jclouds/logging/slf4j/config/SLF4JLoggingModule.class): warning: Cannot find annotation method 'value()' in type 'AutoService': class file for com.google.auto.service.AutoService not found

Reference:

https://github.com/google/auto/tree/master/service#download
2017-08-30 12:23:49 -07:00
Duncan Grant 4e66420997 Cleanup extraneous resources
This was not being called as doDestroyNode returns once node deleted.

Change based on similar code on gce compute provider
2017-08-25 09:09:44 +02:00
Andrew Gaul b38ce8d7b3 JCLOUDS-1225: Address Guava 18 Objects changes
Fixed with:

find -name \*.java | xargs sed -i 's/Objects.[Tt]oStringHelper/More&/g'
find -name \*.java | xargs sed -i 's/Objects.firstNonNull/More&/g'
find -name \*.java | xargs sed -i 's/^\(import com.google.common.base.\)\(Objects.*\)/\1More\2\n\1\2/g'
find -name \*.java | xargs java -jar google-java-format-1.3-all-deps.jar -i --fix-imports-only --skip-sorting-imports
2017-08-24 18:28:07 -07:00
Andrew Gaul 517323fbd5 JCLOUDS-1225: Address Guava 18 MoreExecutors changes
Fixed with:

find -name \*.java | xargs sed -i 's/sameThreadExecutor/newDirectExecutorService/g'
2017-08-22 17:14:22 -07:00
Andrew Gaul a493e2ca2f JCLOUDS-1225: Address Guava 18 Objects changes
Fixed with:

find -name \*.java | xargs sed -i 's/Objects.[Tt]oStringHelper/More&/g'
find -name \*.java | xargs sed -i 's/Objects.firstNonNull/More&/g'
find -name \*.java | xargs sed -i 's/^\(import com.google.common.base.\)\(Objects.*\)/\1More\2\n\1\2/g'
find -name \*.java | xargs java -jar google-java-format-1.3-all-deps.jar -i --fix-imports-only --skip-sorting-imports
2017-08-22 17:12:53 -07:00
cpanato e153322ee0 Update field address type to Href and update tests templates 2017-08-16 09:18:54 +02:00
Andrew Gaul 5bcf7c4757 Add missing import
Fixes regression from 3d508d2d16.
2017-08-07 00:57:39 -07:00
Andrew Gaul 3d508d2d16 Handle HTTP 429 in google-cloud-storage
This addresses rateLimitExceeded errors encountered during integration
tests.  Also increase retry timeout.
2017-08-06 23:43:54 -07:00
Andrew Gaul 5cbefccf96 JCLOUDS-902: Enable GCS access integration tests
Enabled by request signing.
2017-08-06 16:21:44 -07:00
Andrew Gaul 9e73bbec16 JCLOUDS-1327: Do not try GCS MPU if length is zero
References JCLOUDS-912.
2017-08-06 13:51:08 -07:00
Svetoslav Neykov 7100e811b5 Re-use the just added Passwords from jclouds-core 2017-08-01 14:41:06 +03:00
jims c7050757f5 Subscription ID wasn't being substituted, add default oauth.endpoint 2017-08-01 08:17:09 +02:00
Svetoslav Neykov 7e496723ab Move Passwords implementation to jclouds-core to be reused by providers 2017-07-27 20:54:31 +03:00
Svetoslav Neykov 180efdf799 Generate Azure VM password on the fly 2017-07-12 14:50:06 +03:00
Andrew Gaul 0bc935dd57 Remove clojure bindings
These have not seen any development in many years.
2017-07-10 11:39:11 -07:00
Andrew Gaul 8344ddcc2c JCLOUDS-1314: Remove unused import 2017-07-07 11:04:03 -07:00
Andrew Gaul 914e3a6f85 JCLOUDS-1304: B2 native prefix and delimiter
Previously B2 emulated prefix and delimiter via client-side filtering.
Enabled by recent service additions.
2017-07-07 10:21:26 -07:00
Svetoslav Neykov cb556428e3 Fix SGE.removeSecurityGroup for when the SG doesn't exist 2017-07-07 10:37:03 +03:00
Andrew Gaul d36812e5a6 Correct misplaced AutoValue parameters
Found via error-prone 2.0.21.
2017-07-04 11:15:21 -07:00
Andrew Gaul d6ca5cb429 Correct reversed assertEquals arguments
Found via error-prone 2.0.21.
2017-07-04 11:14:16 -07:00
Ignasi Barrera f086c050f9 Use the date service to parse dates 2017-06-28 09:29:52 +02:00
Dani Estevez b2cc647ff2 Implements metrics and metricdefinitions API 2017-06-28 08:58:54 +02:00
Svetoslav Neykov 65ba26eca7
JCLOUDS-1307: Invalidate SG on removal even if already externally deleted 2017-06-27 13:26:51 +03:00
Ignasi Barrera b77ea06950 Improve duplicate ssh key check in Packet 2017-06-15 12:30:17 +02:00
El del tallat eaf10f10a9 Properly unregister all created key pairs 2017-06-12 08:40:10 +02:00
Ignasi Barrera d905adebe1
Improve OS detection and SSH configuration in Packet 2017-06-12 08:29:51 +02:00
Stuart Hendren 5113be22d8 JCLOUDS-1293 Add custom IOException retry handler for AWS-EC2
As all methods use POST we can not use the method to determine if funciton is idempotent.
We therefore set all as idempotent to nullify that check and add a custom
IOException retry handler to determine if commands should be retried on IOException.

The custom hander extends the BackoffLimitedRetryHandler, the current handler, so all other behaviour is not affected.

This does not retry any POST methods unless it's ACTION starts with 'Describe'. These functions are idempotent, and therefore safe to retry.

See JCLOUDS-1293
2017-06-07 12:00:06 +02:00
Ignasi Barrera c83a08a8d6 JCLOUDS-1300: Subnetwork fixes and reuse the TemplateOptions.networks 2017-05-31 09:25:55 +02:00