1991 Commits

Author SHA1 Message Date
Duncan Godwin
8c973e409e Increase Packet timeouts for node interactions 2017-04-21 11:27:59 +02:00
Andrea Turli
1e403bbee0 Update README.md
improve packet readme
2017-04-21 11:15:52 +02:00
Andrew Gaul
b671d2c0d2 JCLOUDS-902: Google Cloud Storage signed URLs 2017-04-20 01:14:07 -07:00
Andrew Gaul
2e7de9f850 JCLOUDS-1271: Deprecate signRemoveBlob
URL signing should always use authentication parameters instead of
headers yet no provider supports DELETEs with the former.
2017-04-19 18:08:52 -07:00
Andrew Gaul
f0e11d5c2e Remove unused imports
Fixes regressions introduced by
db00f679ef32831bc65bcea02ecb05bc5330a5b9.
2017-04-19 10:01:30 -07:00
Andrew Gaul
db00f679ef JCLOUDS-255: Consistently use query string auth
Fixes regressions introduced in
7a110b31ba7a7bd68c9c180a922391a46ff5510e.
2017-04-19 00:54:33 -07:00
Andrew Gaul
7a110b31ba JCLOUDS-255: Support S3 signed URLs with expiry
Mostly code motion from AWSS3BlobRequestSigner to S3BlobRequestSigner
with some additional cleanups.
2017-04-18 18:51:22 -07:00
Andrew Gaul
a1af4f7fec Use a random UUID for fake upload ID
This matches the Azure provider.
2017-04-13 13:00:50 -07:00
Andrew Gaul
46d3645111 Set ListBlobsOptions.datasets in setter 2017-04-12 13:18:41 -07:00
Andrea Turli
37dcb87dfa Initial support ManagedDataDisks
- add DiskApi + tests
- add ImageApi + tests
- add TemplateOptions.dataDisks
- use dataDisks in adapter
- fix CreateOptions enum usage
- fix VirtualMachineApiMockTest
2017-04-11 11:45:18 +02:00
Andrew Gaul
5a1c95525f JCLOUDS-1262: Correct US-OH region
Follow on to 04ab255d9f45e9a22ed6711216c5f02664d75a2e.
2017-04-10 13:11:38 -07:00
Andrew Gaul
c94dfa23e1 Encode filename in B2 download URL
Previously this caused downloads of file names with % to fail.
2017-04-08 15:44:22 -07:00
Andrew Gaul
0d3b88be97 JCLOUDS-1266: Reduce minimum B2 multipart size
Backblaze B2 advertises two new attributes: absoluteMinimumPartSize
and recommendedPartSize, the former allowing smaller 5 MB multipart
uploads.
2017-04-08 04:29:29 -07:00
Andrew Gaul
8188287bc2 Correct Cache-Control SkipException message 2017-04-07 19:53:09 -07:00
Andrew Gaul
66caf6d954 JCLOUDS-1267: Allow B2 streaming uploads
B2 now supports uploads without calculating the SHA-1 hash.  This
allows uploading without a repeatable payload.
2017-04-07 19:48:58 -07:00
Ignasi Barrera
04ab255d9f JCLOUDS-1262: Add the Ohio region to AWS 2017-03-29 09:17:41 +02:00
Michelle Zhang
96a1c4427e JCLOUDS-1217/JCLOUDS-1258: Add Canada, London and China regions to AWS 2017-03-29 08:53:07 +02:00
Dani Estevez
c45728e085 JCLOUDS-1254 Filters storage account by current available locations 2017-03-28 08:23:46 +02:00
Andrew Gaul
ca75641fc0 JCLOUDS-1259: Add GCS multi-regional and coldline 2017-03-20 18:42:32 -07:00
Andrew Gaul
e058973abc Ensure SOME_CONSTANTS are static final
Found via error-prone.
2017-03-17 16:59:41 -07:00
Andrew Gaul
4193031c62 Fix mixed array dimensions
Found via error-prone.
2017-03-17 16:42:42 -07:00
Andrew Gaul
cff54601ea Make inner classes static
Found via error-prone.
2017-03-17 16:42:32 -07:00
Tomasz Wojtuń
fdaa3fd721 Wrap Image with Optional in DiskURIToImage 2017-03-14 08:40:11 +01:00
Andrew Gaul
8408242279 Return more metadata from listMultipartUpload
Include Content-Length and Last-Modified.
2017-03-08 22:16:37 -08:00
Andrew Gaul
8e50fe69ad Return more metadata from listMultipartUpload
Include Content-Length and Last-Modified.
2017-03-08 22:15:41 -08:00
Andrew Gaul
87eda15085 Return more metadata from listMultipartUpload
Include Content-Length and Last-Modified.
2017-03-08 20:35:24 -08:00
Andrew Gaul
49f4617afa JCLOUDS-1101: Upgrade to auto-value 1.4-rc2
This resolves issues using Java 9.  Release notes:

https://github.com/google/auto/releases/tag/auto-value-1.4-rc2
2017-03-07 00:18:21 -08:00
Andrea Turli
894be791ea edit VirtualMachineApi.create to createOrUpdate
- add live test for update vm
- update virtual machine api docs
- fix VirtualMachineApiMockTest
2017-03-03 15:28:07 +01:00
Ignasi Barrera
2f70f85c2b Remove all sonatype snapshot repositories 2017-03-03 10:49:48 +01:00
Ignasi Barrera
1409317beb Remove all sonatype snapshot repositories 2017-03-01 11:58:19 +01:00
Ignasi Barrera
cec73089eb Improve image lookup when getting node info 2017-03-01 10:40:22 +01:00
Ignasi Barrera
6f23b89c69 Better create rules and explicit test for the ALL protocols 2017-02-21 23:04:20 +01:00
Daniel Estevez
21cda804b8 Checks existence of node before getting SecurityGroups and Images 2017-02-17 14:16:27 +01:00
Ignasi Barrera
efb3dd53d0 Fix NPE in ARM VirtualMachineToNodeMetadata 2017-02-17 10:50:22 +01:00
Daniel Estevez
dd9bbff452 Adds new available Azure locations according to https://azure.microsoft.com/en-ca/regions/ 2017-02-16 14:51:04 +01:00
Daniel Estevez
6641b5be58 Minor fixes: logging correctly availabilitySetName 2017-02-15 15:45:09 +01:00
Ignasi Barrera
e0918405c6 Cleanup orphaned availability sets 2017-02-06 22:15:49 +01:00
Daniel Estevez
a312d661f6 Add Load Balancer APIs to Azure ARM 2017-02-06 10:37:24 +01:00
Andrea Turli
d65f9ca621 Add Packet ComputeAdapter
- add CreateSshKeysThenCreateNodes strategy
- add PacketComputeServiceLiveTest
- add PacketTemplateBuilderLiveTest
- refactor deviceApi.actions into separate operations
- fix Device.State
- remove overriden live test as it is now pushed up to jclouds/jclouds
- improve comments on the adapter
2017-01-31 15:55:06 +01:00
Andrea Turli
ae9d4b366f [azurecompute-arm] performance improvements misc
- improve cleanup performances: by using resourceGroupApi.resources
2017-01-30 15:12:36 +01:00
Ignasi Barrera
9519021564 Inspect all known OSFamilies 2017-01-27 14:20:18 +01:00
Ignasi Barrera
c9e2286f73 JCLOUDS-1229: Enable the rate limit module by default 2017-01-26 22:41:07 +01:00
Ignasi Barrera
176abfa7fd Cleanup legacy code and introduce the resource group cache 2017-01-26 21:58:23 +01:00
Daniel Estevez
cffee28afa JCLOUDS-1231: Implement the SecurityGroupExtension in ARM 2017-01-26 21:58:23 +01:00
Andrea Turli
3696412213 add compute functions
- fix Device and PaginatedCollection
- improve DeviceToNodeMetadata
2017-01-25 16:31:38 +01:00
Andrea Turli
49f1d0760e Add remaining features to support the abstraction
- add DeviceApi with Mock and Live Test
- add FacilityApi with Mock and Live Test
- add OperatingSystemApi with Mock and Live Test
- add SshKeyApi with Mock and Live Test
- fix Device domain object
- refactor deviceApi.create and sshKeyApi.create as they actually return an object instead of a URI now
- add mock and live tests for device api actions
2017-01-24 10:36:57 +01:00
Andrew Gaul
87a6f2a615 JCLOUDS-1228: Include PublicAccess in responses
REST API version 2016-05-31 includes PublicAccess in List Containers
and Get Container Properties APIs.
2017-01-20 12:02:18 -08:00
Andrea Turli
a7f97ac2ad add AddApiVersionToRequest filter 2017-01-17 09:13:41 +01:00
Timur Alperovich
98ea917477 GetBucketLocation should use path-style requests.
When making a GetBucketLocation request, Amazon may route the request
to the bucket region. When making it with v4 signer, the request may
fail because of the region mismatch. Concretely, a request to
test.s3.amazonaws.com may resolve to s3-us-west-2-w.amazonaws.com. The
request itself is prepared for the us-east-1 region (s3.amazonaws.com
endpoint), but then fails when the DNS resolution points to a
us-west-2 endpoint.

Bucket-in-path works around this for the GetBucketLocation requests.
That means that every GetBucketLocation request will be of the form:
https://s3.amazonaws.com/{bucket}?location. This ensures that jclouds
requests will not be subjected to Amazon's routing/DNS pointers.

Fixes: JCLOUDS-1213
2017-01-11 18:14:57 -08:00
Duncan Godwin
15193d0349 Fix generateStorageAccountName
The storageAccountName was used instead of the sanitizedStorageAccountName.
2017-01-11 18:20:11 +01:00