Josef Cacek
71dd766227
Docker live test fix - SshToCustomPortLiveTest didn't work for remote docker endpoints due to wrong port number used
2016-08-29 22:27:32 +02:00
Josef Cacek
c4605a32d4
[JCLOUDS-1157] fix networks in DockerComputeServiceAdapterLiveTest
2016-08-19 17:51:42 +02:00
Josef Cacek
58e11d42d1
Update Docker README.md
2016-08-19 17:49:25 +02:00
Iván Lomba
79e95c5a4c
JCLOUDS-482: Add support for arbitrary CPU and RAM
...
This is a combination of 16 commits:
* First approach to ArbitraryCpuRamTemplateBuilderImpl
* Several fixes: refactoring some names, format, identation problems, some missing license headers and generateId method
* Refactored parse utility
* Added GoogleComputeEngineArbitraryCpuRamTemplateBuilderImpl to support GCE custom machine URI
* extracted hardware creation to automaticHardwareForCpuAndRam method
* Fixed ide automatic asterisk imports
* correcting WIP base case PR according to comments
* added machineTypeUriToHardware to set custom hardware in nodes
* fix checkstyle violations and other PR comments
* Set the providerId to custom machineType URI and fix adding node log
* Arbitrary hardware tests added to BaseTemplateBuilderLiveTest and GoogleComputeEngineTemplateBuilderLiveTest
* Added two more tests to BaseTemplateBuilderLiveTest
* Move repeated constants to TestUtils to reuse code
* Fix full path in the Hardware id and URI
* Add custom hardware tests to BaseComputeServiceLiveTest and GCEServiceLiveTest
* Change customHardware test to use buildTemplate and fix identation
2016-08-16 02:44:04 +02:00
Josef Cacek
9af449651d
JCLOUDS-1153 Fix empty Docker repoTags field in ImageToImage function
2016-08-12 09:27:08 +02:00
Ignasi Barrera
449c6d8d84
Always take into account the configured template builder spec when building a template in live tests
2016-08-12 00:28:01 +02:00
Josef Cacek
0616b865ed
[JCLOUDS-1147] upgrade snakeyaml version in byon and resolve removed deprecated Loader class
2016-08-02 15:28:41 +02:00
Andrew Donald Kennedy
6408c3a835
Add Network autovalue builder and tests
2016-08-01 11:42:31 +02:00
Andrew Donald Kennedy
f2ce5679cc
Connect container to list of networks in options
2016-08-01 11:42:26 +02:00
neonbunny
e7bf9b1298
Ensure the canonicalRequest is logged properly
...
Resolves JCLOUDS-1143
2016-07-19 14:50:03 +01:00
Zack Shoylev
42079e1392
Parallel upload for BaseBlobStore
2016-07-15 04:15:17 -05:00
Andrea Turli
a515ce2f22
Change line endings on files recursively
2016-07-14 00:02:13 +02:00
Andrew Gaul
4874a1eb18
JCLOUDS-1137: Handle TOCTOU during blobMetadata
...
A similar issue exists when getting a blob payload when a caller
simultaneously removes the blob.
2016-07-11 22:02:15 -07:00
Andrew Gaul
08e78c979e
Add S3Proxy profile to skip failing tests
2016-07-11 16:42:09 -07:00
Zack Shoylev
6bff97b6d3
Changes the upload behavior to parallel, a TODO
2016-07-01 11:26:56 -05:00
Duncan Grant
7a979ba87b
ImageId can be image name or id and will pull from hub
2016-06-28 09:47:43 +02:00
Andrew Gaul
fff12293f9
JCLOUDS-1125: Add missing expected exception
2016-06-23 23:06:13 -07:00
Andrew Gaul
6df0472ab5
JCLOUDS-1125: local blobstore list MPUs
2016-06-23 21:45:04 -07:00
Arvind Nadendla
112c64e92a
Make links nullable
2016-06-20 18:11:12 -05:00
Ignasi Barrera
bde70457d0
JCLOUDS-1105: Do not create the default security group if custom groups are specified
2016-06-17 22:18:35 +02:00
urban
71b3a2b631
JCLOUDS-1129:Add more interfaces of the same network
2016-06-17 22:16:59 +02:00
Andrew Donald Kennedy
496fbae646
Fix incorrect key format check in Docker
2016-06-17 00:01:35 +02:00
Andrew Gaul
5fec2346a6
JCLOUDS-1028: Configure idempotent methods
...
Enable POST for Atmos, S3, and Swift.
2016-06-15 16:35:22 -07:00
Andrew Gaul
0bd2959410
JCLOUDS-1125: portable list multipart uploads
...
Only Azure, B2, and S3 support this operation. Some MultipartUpload
fields become nullable.
2016-06-13 16:26:43 -07:00
Andrew Gaul
445664c9f1
JCLOUDS-1125: S3 list multipart uploads
2016-06-13 16:26:43 -07:00
Aled Sage
730a4cfe87
Docker.ContainerToNodeMetadata: remove needless mocking
...
Previously it mocked the container and the StateToStatus. It just
asserted that getter methods were called, rather than confirming the
resulting NodeMetadata had the right values.
By removing some of the mocks, it not only simplifies the code but
improves code-coverage. (e.g. if StateToStatus was being passed the
wrong value, the previous test would not have noticed).
2016-06-13 17:18:01 +02:00
Aled Sage
fc88756d5a
docker: get container’s IPs from all networks
2016-06-13 17:17:56 +02:00
Duncan Grant
91339b200e
Node json should be optional
...
The Node element of the container json is optional
as well as nullable.
2016-06-13 12:56:05 +02:00
Zack Shoylev
c1ce819f61
updateTemporaryUrlKey test
2016-06-07 17:37:39 -05:00
Duncan Grant
ebc8f7568f
Use container host ip not manager ip
...
When providing node ip in metadata jclouds was using the
ip of the docker manager which was fine for docker machine
but fails when using a swarm cluster. This uses the ip returned
from docker.
2016-06-06 16:16:44 +02:00
Andrew Gaul
a67ae3f27b
Make inner classes static where possible
...
Found via error-prone.
2016-06-01 20:03:54 -07:00
Josef Cacek
c0469cc9b7
[JCLOUDS-1118] fix configuration options location; mark some fields Nullable
2016-05-26 12:07:39 +02:00
Josef Cacek
d4cf774389
[JCLOUDS-1117] fix for advanced Docker configuration - the Config.Builder should stay unchanged if used
2016-05-26 12:07:33 +02:00
Andrew Gaul
4ef28251c5
Add missing import
...
Regression from c5d845d368adf01909fd8ab5eeb824f7c44fb69e.
2016-05-23 20:26:01 -07:00
Andrew Donald Kennedy
61fb3ec145
Support supplying key and certificate to Docker as data
2016-05-23 17:52:24 +02:00
Jim Spring
f46b38dd89
client credentials JWT support
2016-05-20 00:10:37 +02:00
Zack Shoylev
c96cfb6176
Fix cleanup when the security group extension is not available.
2016-05-19 12:08:36 -05:00
Andrew Gaul
41bdd9c5a9
Skip unimplemented signed URL tests in S3 provider
...
jclouds aws-s3 provider supports these but s3 does not. Also expect
failure in atmos and azureblob. Follow on to
a4c40e15cdddda30a9683d12bf022d94025567c8.
2016-05-12 12:12:52 -07:00
Andrew Gaul
e423bc949e
Avoid use of primitive wrapper constructors
...
Deprecated in Java 9.
2016-05-09 22:47:27 -07:00
Andrew Gaul
62410d31ae
Handle missing containers in LocalBlobStore.list
...
Also fix FilesystemStorageStrategyImpl.getContainerMetadata to return
null on missing container as jdbc and transient already do.
2016-05-06 21:36:28 -07:00
Andrew Gaul
a4c40e15cd
Handle unimplemented signed URL tests in providers
...
This commit makes it evident in source code which providers do not
support this feature.
2016-05-06 10:31:37 -07:00
Andrew Gaul
0af3380a60
Address error-prone CheckReturnValue errors
...
Found via Guava 20.0.
2016-04-28 14:16:22 -07:00
Andrew Gaul
da386ad0e2
Correct FindBugs warnings
2016-04-27 20:28:37 -07:00
Ignasi Barrera
34114dea00
JCLOUDS-1104: Extension namespaces are deprecated and can be null
2016-04-26 23:15:51 +02:00
Ignasi Barrera
04f1bb2b49
JCLOUDS-1104: Extension namespaces are deprecated and can be null
2016-04-26 22:38:45 +02:00
Andrew Donald Kennedy
42d0576aa9
Add openStdin option to Docker template options and set all port bindings explicitly
2016-04-26 10:33:17 +02:00
Andrew Gaul
6446627aad
Correct equals with incompatible types
...
Found via error-prone.
2016-04-24 23:28:55 -07:00
Andrew Gaul
66cda12b50
Avoid eager evaluation of Preconditions messages
...
Found via error-prone.
2016-04-24 23:28:55 -07:00
Andrew Donald Kennedy
49f7bc37af
Make DockerTemplateOptions values null safe
2016-04-19 17:01:18 +02:00
Andrew Gaul
3cf4e3d79c
JCLOUDS-1101: Correct generics wildcard errors
...
Always incorrect but previously broken on Java 9. Reference:
https://bugs.openjdk.java.net/browse/JDK-8075793
2016-04-18 09:49:58 -07:00