1854 Commits

Author SHA1 Message Date
Ignasi Barrera
d030ecac5a Added rate limit module 2016-10-19 16:50:50 +02:00
Andrew Gaul
bc97afc0c1 JCLOUDS-1182: Added Seoul and Mumbai regions to AWS
This commit addresses test failures in
AWSS3ServiceIntegrationLiveTest#testGetAssignableLocations.
2016-10-18 21:06:15 -07:00
Shri Javadekar
7826d22d30 JCLOUDS-1161: Make AWSS3BlobRequestSignerV4 the default signer.
Added new live tests and fixed some unit tests accordingly.
2016-10-18 20:06:34 -07:00
Ignasi Barrera
e3dc3fb976 Null guards 2016-10-18 12:32:08 +02:00
Ignasi Barrera
bf40d2ed2b Configure jclouds group in virtualmachine tags 2016-10-18 12:09:07 +02:00
Ignasi Barrera
43eb65938c Configuration to deploy VMs from the Marketplace 2016-10-18 12:09:07 +02:00
Ignasi Barrera
25656f5f63 Added support for metadata and tags to Azure ARM 2016-10-17 13:27:25 +02:00
Ignasi Barrera
00d9138864 Create one resource group in each region 2016-10-17 13:24:57 +02:00
Andrea Turli
cd16826dca Refactored Azure ARM to not use Deployments
* Simplified ImageExtension
* Fixed access to deployed VMS
* Made api-version configurable for all apis"
* Fixed all feature live tests
* Fixed the AzureComputeServiceLiveTest
* Fixed the AzureTemplateBuilderLiveTest
* Fixed the AzureComputeImageExtensionLiveTest
2016-10-14 11:43:00 +02:00
Andrea Turli
2c6caa04bf reduce payload for GET VirtualGuests 2016-10-14 10:45:57 +02:00
Ignasi Barrera
b06795ebe4 JCLOUDS-1182: Added Seoul and Mumbai regions to AWS 2016-10-13 18:14:20 +02:00
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 76995a363d1cabaee26066b52a476ae28c4fd638.
2016-09-17 14:27:03 -07:00
Andrew Gaul
76995a363d Do not fail AWS S3 signer tests with expiry
Regression from 41bdd9c5a9e02aa407e7036d3fddceb138f8b3b7.
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