Commit Graph

2559 Commits

Author SHA1 Message Date
Ignasi Barrera 4329c8971a JCLOUDS-1373: Add eu-west-3 (Paris) AWS region 2018-01-16 15:21:56 +01:00
Ignasi Barrera ec20f05b68 JCLOUDS-1372: Add support for R4 instance types 2018-01-16 12:57:33 +01:00
Ignasi Barrera 3bdc25c373 OAuth filter customization per request 2017-11-30 09:14:02 +01:00
Ignasi Barrera 4327e658ba Next development version 2.0.4-SNAPSHOT 2017-11-25 22:33:58 +01:00
Ignasi Barrera 0f889d8159 Apache jclouds 2.0.3-rc1 release 2017-11-25 22:28:20 +01:00
Andrew Gaul b7b67a0f6a JCLOUDS-1358: Handle 0-byte input with v4 signature
Previously this failed due to use of mark and reset on the
InputStream.
2017-11-24 20:15:25 -08:00
Andrew Gaul 63e64505b2 Address Checkstyle violation 2017-11-24 19:25:35 -08:00
Andrew Gaul c61e8bc28b Implement partial prefix support for Atmos
Atmos only supports listing by directories while other blobstores
allow listing via arbitrary prefixes.  Allow requests which list
directories via both prefix and delimiter = "/" to succeed instead of
failing all requests.  Also change a test which specified recursive to
instead be delimiter = "/".  Fixes gaul/s3proxy#244.
2017-11-24 19:25:35 -08:00
Andrew Gaul b95809046a Add mtime support to Atmos directory listing 2017-11-24 19:25:35 -08:00
Andrew Gaul 28a70b7fb4 Enable passing Atmos tests
Also clarify why we skip certain tests with SkipException.
2017-11-24 19:25:35 -08:00
Andrew Gaul 48a8400c3f Add parent to system metadata
Previously this caused spurious test failures.
2017-11-24 19:25:35 -08:00
Andrew Gaul 17c8e31546 Handle empty prefix on Atmos 2017-11-24 19:25:34 -08:00
Andrew Gaul 57dceaf56f Allow empty delimiters with openstack-swift 2017-11-24 19:25:34 -08:00
Andrew Gaul 4765590bc9 Remove duplicate Nullable import 2017-11-24 19:25:34 -08:00
Andrew Gaul d31dc94149 Allow lastModified to be null
Follow on to ec932321bd
2017-11-24 18:41:49 -08:00
Richard Downer 4b4374025f Recognise CentOS images on AWS Marketplace
CentOS’ officially-supported AMIs are hosted on the AWS Marketplace.
This adds support for those images, recognising the AMI naming
convention and ensuring the OS metadata is parsed correctly and the
correct SSH login name is used.

There is no change to the default jclouds configuration and the
official CentOS images will not be detected by default. To use these
images, you must alter the ami-query properties to include searching
the “AWS Marketplace”, which has an owner ID of 679593333241. You must
also manually log on to the AWS Marketplace, select your chosen CentOS
image, and “subscribe” to it (you can do this by proceeding as if to
launch an image, but stopping after you have agreed to the subscription
and before launching).
2017-11-03 12:35:42 +01:00
Ignasi Barrera cfdbc810b3 JCLOUDS-1258: Allow China endpoints in FormSignerV4 2017-09-08 08:13:31 +02:00
Zack Shoylev c2a4b8afde Updates the default template so live tests pass again. 2017-08-29 17:32:04 +02:00
Ignasi Barrera 3b5fe0b02f Next development version 2.0.3-SNAPSHOT 2017-06-29 12:24:45 +02:00
Ignasi Barrera 574c7fc3c1 Apache jclouds 2.0.2-rc1 release 2017-06-29 12:21:59 +02:00
Svetoslav Neykov a2863b2a3c
JCLOUDS-1307: Invalidate SG on removal even if already externally deleted 2017-06-27 13:33:30 +03:00
Svetoslav Neykov 04ff09e6fe [JCLOUDS-1306] Fix SG cache invalidation when deleting 2017-06-09 12:05:19 +02:00
Geoff Macartney 81f8818e32 Temporarily use a custom annotation instead of @SinceApiVersion.
The intention is to use @SinceApiVersion for this purpose, but that
would affect a number of APIs, and we would want to have good test
coverage before merging that change (in
FormSignerUtils#getAnnotatedApiVersion). However, there is some issue
wth certain tests at resent that means we cannot successfully test
all APIs that make use of @SinceApiVersion in order to assure
ourselves that FormSignerUtils will not introduce some problem.

See https://github.com/jclouds/jclouds/pull/1102#issuecomment-302682049
for details.

This annotation is introduced as a temporary measure in order to
decouple the functionality of FormSignerUtils#getAnnotatedApiVersion
from @SinceApiVersion and the tests in question. It can be removed and
replaced by @SinceApiVersion when those tests are fixed.

Designates that a method overrides the {@link ApiVersion} on the class
with a specific value.
2017-05-29 10:32:51 +02:00
Geoff Macartney c0f3eb6071 Add ModifySubnetAttribute 2017-05-29 10:32:48 +02:00
Andrew Gaul acb84bc5e1 JCLOUDS-1299: Handle % in names during Swift list
uriBuilder.appendPath assumes an encoded path.
2017-05-17 10:38:10 -07:00
ui4j f7cad22d93 JCLOUDS-1297: Fix uploadId format for non-English locale
Add Locale.ENGLISH parameter to String.format(...) to generate same uploadId for different locales.
2017-05-15 11:12:00 -07:00
Stephen Tomkinson 36b3dadf8c Add logic from JCLOUDS-1261 to the other 2 types of Aws4 signer. 2017-05-10 10:52:22 -07:00
Tomas Tulka 9bf7c5da5a fix for deleting an invalid file
If the file for delete is invalid (typically a wrong filename) an IOException will be thrown.
2017-05-10 01:02:48 -07:00
Stephen Tomkinson 1a23a16343 Resolves JCLOUDS-1261 by ensuring non-standard port numbers are in the host header that's used for the AWSv4 auth calculations. 2017-05-10 00:00:51 -07:00
Andrea Turli a9cc10c490 JCLOUDS-1269; JCLOUDS-1120: ec2 subnet/securityGroups fixes 2017-05-04 17:42:26 +02:00
Aled Sage df5427f778 Fix logging in nova: don’t assume logback 2017-05-04 17:21:39 +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
Andrew Donald Kennedy 0793597891 Fix error creating list of volume bindings for Docker 2017-03-17 23:21:41 +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
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
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
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
Andrew Gaul efc568b482 Propagate error on non-existent container or key 2017-01-18 11:21:02 -08:00