10495 Commits

Author SHA1 Message Date
Ignasi Barrera
6a3a37f4e0 Apache jclouds 2.0.0-rc3 release rel/jclouds-2.0.0-rc3 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
Ignasi Barrera
0b48d4a25a Make code compatible with newer OSGi framework versions 2016-11-03 09:43:36 +01:00
William L. Thomson Jr
51a9b4dd11
org/jclouds/scriptbuilder/functionloader/osgi/BundleFunctionLoader.java:
Switched from Properties to HashMap to fix compilation issues. Where
Properties is not of type Dictionary<String, ?>. This passes the right
type to bundleContext.registerService. Also corrects the first argument,
String -> String[], same issue wrong type passed.
2016-11-02 22:54:17 -04:00
Andrea Turli
8649c3ff79 [aws-ec2] Add CRUD for VPC 2016-10-31 14:56:15 +01:00
Andrea Turli
9b3e6d91bf Fix retryOnRenew classes
These classes should not close the release the payload as they are not
reading it.

- fix swift
- fix openstack-swift v1 and v2
- fix RetryOnRenewTest for v1 and v2
2016-10-28 17:29:05 +02:00
Andrew Gaul
69aa5d6426 JCLOUDS-1065: Deprecate fake directory support
Superseded by prefix and delimiter support.
2016-10-26 21:30:52 -07:00
Zack Shoylev
78b3120e5e filesystem: Modify the backslash only on Windows 2016-10-26 19:53:55 -05:00
Zack Shoylev
af09f3a5ab Remove PackageLocation check 2016-10-26 19:51:45 -05:00
Erich Duda
dff16876ee Change types of variables in docker ImageSummary
The int type is not sufficient for size and virtualSize
parameters, if the image is bigger than 2gb.

This fixes https://issues.apache.org/jira/browse/JCLOUDS-1190
2016-10-26 21:31:13 +02:00
Ignasi Barrera
a600a1221d Do not leave open streams when loading test mock files 2016-10-26 15:57:28 +02:00
Zack Shoylev
fc91f64290 Ensure that jclouds consistently uses /, works with \\, and uses File.separator on the filesystem level. 2016-10-25 17:23:32 -05:00
Richard Downer
199e17ab2c Fix InitScriptConfigurationForTasks.initScriptPattern on Windows
This method has incorrect results when run on Windows. It is expected to
generate folder names compatible with Unix-like target machines, but by
using File.getParent it will actually be influenced by the host machine
OS type. This results in baseDir being set to a style that will not work
on Unix-like targets.
2016-10-25 16:05:39 +02:00
Andrea Turli
a1f6b7ebf2 update CloudstackTemplateOptions pattern 2016-10-25 15:49:46 +02:00
Josef Cacek
c10540b04d [JCLOUDS-1162] DockerComputeServiceAdapter shouldn't remove container if it stops with non-zero exit code quickly after start. The commit also adds feature which prints container logs into JClouds Compute Log during Node destroy if the TRACE log level is enabled 2016-10-25 15:34:09 +02:00
Ignasi Barrera
06b69ffed4 Fix AWS EC2 compute live tests 2016-10-25 15:19:50 +02:00
Ignasi Barrera
cfe22389a8 Resource management moved to the caller 2016-10-25 15:19:20 +02:00
Ignasi Barrera
a43acaffce JCLOUDS-1187: Do not load Json payloads to memory when serializing objects 2016-10-25 15:19:20 +02:00
Andrew Gaul
37101b7825 Enable LongLiteralLowerCaseSuffix
Readers can confuse this with 1.
2016-10-23 14:26:03 -07:00
Andrew Gaul
3c9f66b8e9 Avoid lower-case l literal suffix
Readers can confuse this with 1.  Found via error-prone.  Fixed via:

find -name \*.java | xargs sed -i 's/\( [0-9][0-9]*\)l/\1L/g'
find -name \*.java | xargs sed -i 's/\(([0-9][0-9]*\)l/\1L/g'
2016-10-23 14:24:35 -07:00
Andrew Gaul
89787b4c97 Avoid lower-case l literal suffix
Readers can confuse this with 1.  Found via error-prone.  Fixed via:

find -name \*.java | xargs sed -i 's/\( [0-9][0-9]*\)l/\1L/g'
find -name \*.java | xargs sed -i 's/\(([0-9][0-9]*\)l/\1L/g'
2016-10-23 14:15:09 -07:00
Andrew Gaul
8117574c83 Avoid C-style array declarations
Found via error-prone.
2016-10-23 13:51:59 -07:00
Andrew Gaul
424a88fdc5 Avoid C-style array declarations
Found via error-prone.
2016-10-23 13:49:11 -07:00
Andrew Gaul
1b6cd08545 Enable more error-prone checks 2016-10-23 12:06:43 -07:00
Andrew Gaul
d1508b2d23 Make inner class static
Found via error-prone.
2016-10-23 06:39:46 -07:00
Andrew Gaul
25baad6d32 Address confusing operator precedence
Found via error-prone.
2016-10-23 06:39:46 -07:00
Andrew Gaul
2a04a52d56 Remove unused imports
Found via error-prone.
2016-10-23 06:39:46 -07:00
Andrew Gaul
ea82f58b35 Avoid improper equality comparisons
Found via error-prone.
2016-10-23 06:38:46 -07:00
Ignasi Barrera
7e21cf0a4a Fixed infinite recursion in EC2 image live test 2016-10-20 12:21:51 +02:00
Ignasi Barrera
8030e53f32 Move digital ocean rate limit handler to core to make it reusable 2016-10-19 16:56:51 +02:00
Ignasi Barrera
d4eed40206 Ignore storage account access failures when listing custom images 2016-10-19 16:55:10 +02:00
Ignasi Barrera
d030ecac5a Added rate limit module 2016-10-19 16:50:50 +02:00
Ignasi Barrera
edbb2c0e6f Log information according to the auth precedence 2016-10-19 10:45:50 +02:00
Andrew Gaul
bc97afc0c1 JCLOUDS-1182: Added Seoul and Mumbai regions to AWS
This commit addresses test failures in
AWSS3ServiceIntegrationLiveTest#testGetAssignableLocations.
2016-10-18 21:06:15 -07:00
Shri Javadekar
7826d22d30 JCLOUDS-1161: Make AWSS3BlobRequestSignerV4 the default signer.
Added new live tests and fixed some unit tests accordingly.
2016-10-18 20:06:34 -07:00
Ignasi Barrera
e3dc3fb976 Null guards 2016-10-18 12:32:08 +02:00
Ignasi Barrera
bf40d2ed2b Configure jclouds group in virtualmachine tags 2016-10-18 12:09:07 +02:00
Ignasi Barrera
43eb65938c Configuration to deploy VMs from the Marketplace 2016-10-18 12:09:07 +02:00
Ignasi Barrera
25656f5f63 Added support for metadata and tags to Azure ARM 2016-10-17 13:27:25 +02:00
Ignasi Barrera
00d9138864 Create one resource group in each region 2016-10-17 13:24:57 +02:00
Andrea Turli
cd16826dca Refactored Azure ARM to not use Deployments
* Simplified ImageExtension
* Fixed access to deployed VMS
* Made api-version configurable for all apis"
* Fixed all feature live tests
* Fixed the AzureComputeServiceLiveTest
* Fixed the AzureTemplateBuilderLiveTest
* Fixed the AzureComputeImageExtensionLiveTest
2016-10-14 11:43:00 +02:00
Andrea Turli
2c6caa04bf reduce payload for GET VirtualGuests 2016-10-14 10:45:57 +02:00
Zack Shoylev
00f7ee0738 jclouds was not properly retrying on an expect: 100-continue PUT request that requires re-athentication because of java protocol code
JCLOUDS-1179 This fix also addresses the same problem with other providers

No currently working tests because of https://github.com/square/okhttp/issues/675

This is a common problem in other tools as well https://curl.haxx.se/mail/lib-2004-08/0002.html
2016-10-13 12:17:19 -05:00
Ignasi Barrera
b06795ebe4 JCLOUDS-1182: Added Seoul and Mumbai regions to AWS 2016-10-13 18:14:20 +02:00
Ignasi Barrera
3b726b5686 Fix DigitalOcean2 live tests 2016-10-13 15:06:50 +02:00
Ignasi Barrera
cce4495872 Proper template config in the image extension live tests 2016-10-13 15:06:50 +02:00
Ignasi Barrera
6cd22b0ae2 Better order for the ComputeService live tests 2016-10-13 15:06:49 +02:00