Commit Graph

9975 Commits

Author SHA1 Message Date
Aled Sage df5427f778 Fix logging in nova: don’t assume logback 2017-05-04 17:21:39 +02:00
Ignasi Barrera 05f64b20a8 Fix default executor rejection policies 2017-04-24 08:16:45 +02:00
Ignasi Barrera 6100b7c366 Fix BaseComputeServiceLiveTest configuration 2017-04-21 20:19:49 +02:00
Ignasi Barrera 8c2e7435da Fix the Jetty start statement used in compute live tests 2017-04-20 10:01:51 +02:00
John McDonnell 499e61b80d [JCLOUDS-1128] Added page and pagesize fields to ListProjectOptions.
Cloudstack's listProjects request supports additional fields for page
and pagesize.  These were missing but have been added in as part of this
commit.
2017-04-18 16:02:25 +02:00
John McDonnell 743bac2ed4 [JCLOUDS-1130] Cloudstack fixed projectid parameter in listUsageRecords.
Cloudstack's listUsageRecords response doesn't use camelcase so the projectid
parameter was incorrect.  Updated from projectId to projectid.
2017-04-18 16:02:25 +02:00
Andrew Gaul de084125f2 JCLOUDS-1262: Correct US-OH region
Follow on to 04ab255d9f.
2017-04-10 13:14:24 -07:00
Andrew Gaul 6fe2619011 Allow null S3 list MPU lastModified 2017-04-10 12:57:42 -07:00
Ignasi Barrera fcc8310d90 JCLOUDS-1262: Add the Ohio region to AWS 2017-03-29 09:25:07 +02:00
Michelle Zhang 73875884b5 JCLOUDS-1217/JCLOUDS-1258: Add Canada, London and China regions to AWS 2017-03-29 09:25:05 +02:00
Svetoslav Neykov 2633fcc1ab Create and attach tests sources as artifacts 2017-03-28 08:30:09 +02:00
Ignasi Barrera 7f589821d4 Provide a method to prepare an before taking an snapshot from it 2017-03-27 17:11:32 +02:00
Andrew Donald Kennedy 0793597891 Fix error creating list of volume bindings for Docker 2017-03-17 23:21:41 +01:00
Tomasz Wojtuń f5a5d869fe Wrap Image with Optional in DiskURIToImage 2017-03-14 08:47:39 +01:00
Andrew Gaul d89d6b5d05 Return more metadata from listMultipartUpload
Include Content-Length and Last-Modified.
2017-03-08 20:38:22 -08:00
Andrew Gaul d2041667d7 Return lastModified and size when listing S3 parts 2017-03-06 19:49:43 -08:00
Andrea Turli 43c0b3472a Revert "[JCLOUDS-1233] bump jax-rs version"
This reverts commit 40d18f2006.
2017-03-06 17:35:15 +01:00
Andrea Turli 11423a074c Revert "bump sshj version to 0.20.0"
This reverts commit 8268a2dbef.
2017-03-06 17:34:20 +01:00
Andrea Turli 8268a2dbef bump sshj version to 0.20.0
- this version contains some bux fixes especially useful for OSGi
2017-03-06 17:21:07 +01:00
Andrea Turli 40d18f2006 [JCLOUDS-1233] bump jax-rs version 2017-03-06 17:20:06 +01:00
Ignasi Barrera c6d8f80445 Take into account the template properties everytime the builder is retrieved 2017-03-06 16:52:51 +01:00
Ignasi Barrera 9575929246 JCLOUDS-1249: Fix OpenStack server rollback 2017-03-06 11:24:50 +01:00
Geert Vanheusden f210283cac JCLOUDS-1218: filesystem get blob without xattrs
Some filesystems, notably Docker and Mac OS X, do not support xattr
which causes an IOException when getting a blob.
2017-03-01 13:44:02 -08:00
Archana Chinnaiah f76c09cbe6 JCLOUDS-1246: Allow extending SwiftBlobStoreContextModule 2017-03-01 11:49:17 -08:00
Ignasi Barrera cbc750cb8b Next development version 2.0.2-SNAPSHOT 2017-02-22 10:32:50 +01:00
Ignasi Barrera bafa52be97 Apache jclouds 2.0.1-rc2 release 2017-02-22 10:28:10 +01:00
Geoff Macartney e294de025e JCLOUDS-1237: Add compareTo() for IpPermission. 2017-02-21 23:14:15 +01:00
Fritz Elfert 0c1fe36a66 JCLOUDS-1239: Handle gzipped userdata in logging 2017-02-16 11:10:35 +01:00
Geoff Macartney c4245acd35 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:34:12 +01:00
Andrea Turli 663123a97c update netty driver
- use a fix version to avoid package renaming issues
2017-02-06 17:10:40 +01:00
Ignasi Barrera 88b7184a45 Fix Chef live tests 2017-02-03 00:21:34 +01:00
Ignasi Barrera eda50cdec6 Fix container presence check in filesystem provider 2017-02-01 17:42:59 +01:00
Ignasi Barrera 3749543809 Fix compute service integration tests 2017-01-31 11:51:51 +01:00
Andrea Turli 10a585e504 change hostname command to get the short form 2017-01-31 10:22:03 +01:00
Svetoslav Neykov 86f518dddc Select the latest available java package to install dynamically 2017-01-25 10:47:32 +01:00
Andrew Gaul a5dd78b0cc Correct regex in ExpandProperties
Previously Android choked on this incomplete regex.
2017-01-25 00:22:28 -08:00
Andrew Gaul efc568b482 Propagate error on non-existent container or key 2017-01-18 11:21:02 -08:00
Timur Alperovich 3668a9905b 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 22:54:36 -08:00
Zack Shoylev 5dd1032b25 Allow ipv6 address blocks 2017-01-10 14:35:43 -06:00
mildis a1733e5b68 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:34:44 -06:00
Etienne CARRIERE 01d749694e JCLOUDS-1220: Possibility to change the name of Header of Identity v1 protocol 2017-01-05 16:19:18 +01:00
Andrea Turli 1d562d910e update Docker README
improve description for osx
2017-01-05 09:24:27 +01:00
Vijay Panghal 79ad45d6b9 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:12:53 +01:00
Ignasi Barrera fa746ff162 Deprecate user metadata in DigitalOcean 2016-12-07 17:24:46 +01:00
Fritz Elfert 3ae2213a7d JCLOUDS-1206: Replace user metadata by byte[] userData 2016-12-07 17:24:42 +01:00
Andrew Gaul d993501309 Include part size in listMultipartUpload result
Clients use this during completeMultipartUpload.
2016-11-15 20:30:37 -08:00
Andrew Gaul f2413cd191 Avoid creating temporary files via relative paths
This avoids creating junk in the source directory.
2016-11-15 20:30:23 -08:00
Ignasi Barrera 970f521bcd Next development version 2.0.1-SNAPSHOT 2016-11-15 01:17:08 +01:00
Ignasi Barrera 6a3a37f4e0 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:30:45 +01:00
Ignasi Barrera 0b48d4a25a Make code compatible with newer OSGi framework versions 2016-11-03 09:43:36 +01:00