Commit Graph

10333 Commits

Author SHA1 Message Date
Fritz Elfert e26146c6c1 JCLOUDS-1239: Handle gzipped userdata in logging 2017-02-16 10:50:18 +01:00
Daniel Estevez 6641b5be58 Minor fixes: logging correctly availabilitySetName 2017-02-15 15:45:09 +01:00
Andrea Turli 38cb34e123 [JCLOUDS-1233] bump jax-rs version 2017-02-15 11:16:26 +01:00
Geoff Macartney 717b75a34e Fix O(n^2) response time for "list-security-groups" on openstack-nova.
For https://issues.apache.org/jira/browse/JCLOUDS-1235.

This change takes the approach of storing the information about the
overall list of groups within the `SecurityGroupInRegion` when it is
created, so that any subsequent conversion operation has access to all
the groups in the same region as the one to be converted.

It also collapses the functionality of `NovaSecurityGroupToSecurityGroup`,
`SecurityGroupRuleToIpPermission` and `FindSecurityGroupWithNameAndReturnTrue`
all into `NovaSecurityGroupInRegionToSecurityGroup`, and deletes the
now unused-classes SecurityGroupRuleToIpPermission,
NovaSecurityGroupToSecurityGroup and associated tests.
2017-02-13 12:30:18 +01:00
Ignasi Barrera e0918405c6 Cleanup orphaned availability sets 2017-02-06 22:15:49 +01:00
Andrea Turli 4ae2d208e4 update netty driver
- use a fix version to avoid package renaming issues
2017-02-06 17:09:46 +01:00
Daniel Estevez a312d661f6 Add Load Balancer APIs to Azure ARM 2017-02-06 10:37:24 +01:00
Ignasi Barrera e450670d86 Fix Chef live tests 2017-02-03 00:21:08 +01:00
Ignasi Barrera 4509cdecbb Fix container presence check in filesystem provider 2017-02-01 17:42:28 +01:00
Ignasi Barrera c2a75c318a Fix commit 2017-02-01 12:16:12 +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
Ignasi Barrera a5a48749f8 Fix compute service integration tests 2017-01-31 11:51:18 +01:00
Andrea Turli 4c2151a3f1 change hostname command to get the short form 2017-01-31 10:21:33 +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
Svetoslav Neykov 325a6890c3 Select the latest available java package to install dynamically 2017-01-25 10:47:06 +01:00
Andrew Gaul 1c524cadbb Correct regex in ExpandProperties
Previously Android choked on this incomplete regex.
2017-01-25 00:21:48 -08: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
Andrew Gaul 32bb2db06e Propagate error on non-existent container or key 2017-01-18 11:20:47 -08:00
Ignasi Barrera 36cb2a1c72 JCLOUDS-1227: Allow to configure regions with the same URI 2017-01-18 10:05:30 +01: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
Zack Shoylev eda96a0ab9 Allow ipv6 address blocks 2017-01-10 14:33:36 -06:00
mildis 61d0920f19 WindowsEveryonePrincipal : update regex for FR
"Everyone" in a french Windows is "Tout le monde".
Thus, the line.split(" ") returns only "Tout" and putBlob() throws an exception.
The modified regex search for the first two consecutive white char to return the name.
Windows's whoami returns a bunch of 0x20 between the name and the type.
2017-01-10 13:11:33 -06: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
Etienne CARRIERE ac2f746e64 JCLOUDS-1220: Possibility to change the name of Header of Identity v1 protocol 2017-01-05 15:55:19 +01:00
Andrea Turli c2cda931a5 update Docker README
improve description for osx
2017-01-05 09:20:36 +01:00
Zack Shoylev 6bc82ee262 Change BaseSwiftApiLiveTest to inherit from BaseBlobStoreIntegrationTest and use its methods 2016-12-20 14:10:22 -06: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
Guglielmo Nigri 5a3cfe5dbe Fix okio version range for jclouds-okhttp
OSGi bundle for jclouds-okhttp should import okio package with correct
version range.
Currently, there is no version range specified, causing it to be wired
to a higher version than intended in complex environments that have more
than one bundle for okio installed.
2016-11-18 16:05:52 +01:00
Andrew Gaul 95c4011982 Include part size in listMultipartUpload result
Clients use this during completeMultipartUpload.
2016-11-15 20:30:50 -08:00
Andrew Gaul fc14dce5ce Avoid creating temporary files via relative paths
This avoids creating junk in the source directory.
2016-11-15 20:28:31 -08:00
Zack Shoylev ee89c253b3 Missing cleanup was causing testReplaceManifest to fail 2016-11-15 11:21:25 -06: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