1916 Commits

Author SHA1 Message Date
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
Andrea Turli
34d013f7db add ApiMetadata and ProviderMetadata
- add skeleton for PacketApi with ProjectApi only
- add XAuthTokenToRequest filter
- add HttpApiModule and ParserModule
- add ProjectApi feature with Mock and Live Tests
- add pagination to Project API
- add test pagination
2017-01-11 14:59:47 +01:00
Andrew Gaul
47350e354c Use eu-central-1 region in v4 signer test
Previously the test tried to create a container in eu-central-1 after
it already existed in us-standard.
2017-01-10 18:23:57 -08:00
Duncan Godwin
cf256fb48b Add tenant Id lookup command 2017-01-10 18:28:45 +01:00
Andrew Gaul
64c3e35c15 JCLOUDS-1224: Update B2 domain
The old domain will no longer function after 2 Feb 2017.  Reference:

https://help.backblaze.com/hc/en-us/articles/224959187-B2-Domain-Migration-Plan
2017-01-09 19:40:15 -08:00
Andrea Turli
1620a19787 initial commit for Packet.net API
- add domain objects
2017-01-09 22:54:36 +01:00
Andrew Gaul
f8025790bf JCLOUDS-1223: Use larger block blobs for Azure
This raises the maximum multipart size from 195 GB to 4.77 TB.
Reference:

https://azure.microsoft.com/en-us/blog/general-availability-larger-block-blobs-in-azure-storage/
2017-01-08 15:28:21 -08:00
Andrew Gaul
a5ec80a275 JCLOUDS-1123: Azure REST API version 2016-05-31
This enables larger block blobs:

https://azure.microsoft.com/en-us/blog/general-availability-larger-block-blobs-in-azure-storage/
2017-01-08 15:28:05 -08:00
Vijay Panghal
f3c3f3b306 Make user agent header configurable
Jclouds sends default user agent string with each request to cloud
services. But some of the application would like to overide this and
send custom user agent instead.

This commit define a string property to overide this default user agent
string. This property will be applied to all outgoing http request to
cloud services

JCLOUDS-819
2016-12-20 11:02:19 +01:00
Ignasi Barrera
baab388c57 Deprecate user metadata in DigitalOcean 2016-12-07 17:18:23 +01:00
Fritz Elfert
92044e3d44 JCLOUDS-1206: Replace user metadata by byte[] userData 2016-12-07 17:18:19 +01:00
Zack Shoylev
301f6812af Updates the default template so live tests pass again. 2016-11-21 15:47:27 -06:00
Ignasi Barrera
1c49a1b170 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:13:00 +01:00
Ignasi Barrera
f4a2be0519 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:13:00 +01:00
Ignasi Barrera
d36ceddbb3 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:13:00 +01:00
Ignasi Barrera
1b48ba5942 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:13:00 +01:00
Ignasi Barrera
d290705419 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:12:59 +01:00
Ignasi Barrera
214a5e7810 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:48:47 +01:00
Ignasi Barrera
15a1c6abfd Apache jclouds 2.0.0-rc3 release 2016-11-09 22:43:56 +01:00
Ignasi Barrera
e38e486ff0 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:40:00 +01:00
Ignasi Barrera
6028b175c6 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:40:00 +01:00
Ignasi Barrera
6a3a37f4e0 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:30:45 +01:00
Ignasi Barrera
139a6367da Revert "Apache jclouds 2.0.0 release"
This reverts commit 43c102065eab2d5fbf98e75811d9088cb7cf76bc.
2016-11-09 21:49:17 +01:00
Ignasi Barrera
eb7193e3a5 Revert "Apache jclouds 2.0.0 release"
This reverts commit 43c102065eab2d5fbf98e75811d9088cb7cf76bc.
2016-11-09 21:49:17 +01:00
Ignasi Barrera
0df84d305e Apache jclouds 2.0.0 release 2016-11-03 13:13:04 +01:00
Ignasi Barrera
5459d61f2e Apache jclouds 2.0.0 release 2016-11-03 13:13:04 +01:00