Ignasi Barrera
d290705419
Next development version 2.1.0-SNAPSHOT
2016-11-15 01:12:59 +01:00
Ignasi Barrera
6a3a37f4e0
Apache jclouds 2.0.0-rc3 release
2016-11-09 22:30:45 +01: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
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
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
2a04a52d56
Remove unused imports
...
Found via error-prone.
2016-10-23 06:39:46 -07:00
Andrew Gaul
7cde28a4d2
JCLOUDS-1074: Guava 20 compatibility
...
* dynamically call TypeToken.isSupertypeOf with Guava 19 and later and
TypeToken.isAssignableFrom with Guava 18 and earlier
* consume or ignore values from methods with CheckReturnValue
* replace usage of removed Iterators.emptyIterator
2016-09-06 21:49:20 -07:00
Ignasi Barrera
9662edf903
Update poms to include Docker and fixed groupId after promotion
2016-08-30 11:14:33 +02:00
Josef Cacek
a4e2110a63
JCLOUDS-1158 fix Docker find image Predicate for cases where repoTags field contains 'docker.io/' registry host prefix
2016-08-29 22:31:44 +02:00
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
Josef Cacek
9af449651d
JCLOUDS-1153 Fix empty Docker repoTags field in ImageToImage function
2016-08-12 09:27:08 +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
Duncan Grant
7a979ba87b
ImageId can be image name or id and will pull from hub
2016-06-28 09:47:43 +02:00
Andrew Donald Kennedy
496fbae646
Fix incorrect key format check in Docker
2016-06-17 00:01:35 +02: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
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
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
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 Donald Kennedy
49f7bc37af
Make DockerTemplateOptions values null safe
2016-04-19 17:01:18 +02:00
Andrew Donald Kennedy
047595c7bb
Added volumesFrom to Docker template options
2016-04-05 10:22:56 +02:00
Zack Shoylev
760995a46e
Use non-privileged mode for compute
2016-03-21 12:49:07 -05:00
Josef Cacek
f3ee898c13
[JCLOUDS-1089] Add image history support to Docker ImageApi
2016-03-08 23:06:21 +01:00
Josef Cacek
831cdc67c3
[JCLOUDS-1002] provide access to Docker container Config object in the Node template options
2016-03-08 23:01:52 +01:00
Josef Cacek
3f1fe271ed
[JCLOUDS-1084] Docker live tests fixed and made more robust
2016-02-22 17:16:40 +01:00
Andrew Gaul
b6e20822d8
Remove @Nullable from methods returning primitives
...
Found via error-prone.
2015-12-12 10:20:34 +08:00
Ignasi Barrera
29a8474ba0
JCLOUDS-1041: Fix NPE when deserializing Port in Docker 1.9.1
2015-11-23 22:31:01 +01:00
Andrea Turli
33522b8945
add docker NetworkAPI
...
- bump api version to 1.21
- use `alpine/3.2` image for liveTests
- use `kwart/alpine-ext:3.2-ssh` image as ssh-able image
- assert request bodies created correctly in NetworkApiMockTest
2015-11-13 16:47:01 +01:00
Josef Cacek
746038e8b2
[JCLOUDS-1021] Add JavaDoc to cover behavior of repoTags() method in org.jclouds.docker.domain.Image
2015-10-21 17:16:27 +02:00
Josef Cacek
3260fa5803
Add LiveTest to cover loginPort (SSH) customization in Docker.
2015-10-21 16:10:29 +02:00
Josef Cacek
f0fc31e299
[JCLOUDS-1020] fix query parameter name in Docker's BuildOptions
2015-10-21 16:10:25 +02:00
Josef Cacek
3342e88f80
[JCLOUDS-1017] add tagImage() method to ImageApi
2015-10-21 16:10:21 +02:00
Josef Cacek
9271c11b67
[JCLOUDS-1010] use a lightweight image as a base for Docker build test
2015-10-21 16:10:18 +02:00
Ignasi Barrera
01d43f503b
JCLOUDS-1014: Make the login port lookup function configurable
2015-10-19 16:14:05 +02:00
googlielmo
8ca3a326c8
Fix dnsSearch type
...
- dnsSearch declared as String, corrected to List<String>
2015-10-05 12:36:43 +02:00
Josef Cacek
f6ad2cc380
[JCLOUDS-1007] Implemented Docker Exec support in MiscApi
2015-10-02 16:29:50 +02:00
Josef Cacek
d7b3f5d98f
[JCLOUDS-1011] force closing HTTP client connection after using Docker build REST API method
2015-10-02 15:58:42 +02:00
Josef Cacek
288d387610
Format code of DockerUntrustedSSLContextSupplier to fit jclouds code conventions and checkstyle settings
2015-09-28 11:20:30 +02:00
Josef Cacek
4e308868bd
[JCLOUDS-1006] Fix DockerUntrustedSSLContextSupplier to allow tests runs against endpoints without TLS configured
2015-09-28 11:19:02 +02:00
Josef Cacek
e21767dbde
JCLOUDS-997 Allow nullable docker configuration - the null has another meaning than empty list/map (e.g. CMD: null=default, emptyList=no-command)
2015-09-18 10:28:37 +02:00
Andrew Kennedy
3901403379
Added ExtraHosts option to template
2015-09-17 14:48:30 +02:00
Josef Cacek
15651822be
JCLOUDS-996 fix location of NetworkMode parameter from Docker Remote API and make it configurable from DockerTemplateOptions
2015-09-17 12:01:34 +02:00
Josef Cacek
644541a2f4
JCLOUDS-990: fix condition DockerTemplateOptions.copyTo() method
2015-08-19 14:15:25 +02:00