Commit Graph

96 Commits

Author SHA1 Message Date
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
Ignasi Barrera 586e31805a [JCLOUDS-898] Allow insecure connection in Docker.
Original author was @andreaturli and the original patch was #172.
2015-08-14 10:56:07 +02:00
Csaba Palfi 55a7d8ce3c [docker] upgrade to docker 1.7 and refactor TLS support 2015-07-22 10:22:36 +02:00
Andrew Kennedy 4edaf18226 Minor fixes for the Docker provider
- Tidy up DockerTemplateOptions and add tests for new options
- Make Dns a list of strings in HostConfig
- Change template option builder to remove use of optionals
- Update tests to verify HostConfig.Dns as list
2015-06-29 11:17:53 +02:00
Jakub Bartecek be6ce141b6 Options use boolean primitive instead of object
The Boolean object makes passing null value possible, which would cause NPE.
2015-05-05 10:55:39 +02:00
Jakub Bartecek 867b7f52e4 Add option to remove a volume, when removing docker container 2015-05-05 10:55:38 +02:00
Andrea Turli 26d925c2de add ConnectionSpec.CLEARTEXT for DockerEngine running w/t TLS 2015-05-04 09:08:44 +02:00
Andrea Turli e4477e579a DockerTemplateOptions: use the correct return type 2015-04-10 15:36:43 +02:00
Andrew Kennedy 1685758f0d Updates for new Docker port mapping option based on review comments
- Change to portBindings and Map intead of List
- Tidy up formatting for DockerTemplateOptions
- Remove superfluous checkNotNull calls
- Document the Map contents for portBindings option
- Remove unused import to fix Checkstyle
2015-04-08 21:38:00 +02:00
Andrew Kennedy 0cea1efd2f Add template option to specify direct (unmapped) ports 2015-04-08 21:38:00 +02:00
Ignasi Barrera 944f14c687 Next development version 2.0.0-SNAPSHOT 2015-03-24 10:56:30 +01:00
Ignasi Barrera 08fae12ef4 Apache jclouds 1.9.0 release 2015-03-24 10:54:19 +01:00
Andrea Turli 0418acb6e7 AzureCompute: initial work to support ComputeServiceAdapter
improve DeploymentToNodeMetadata
enhance Deployment value object
add support for get/set NetworkConfiguration
added AzureComputeTemplateOptions to manage networkConfigurations
add support for create/checkAvailable/list storageAccounts
add support for inboundPorts
add more RoleSize
add support for SecurityGroupExtension by using NetworkSecurityGroup
fix destroy node
fix LocationToLocation
fix OsImageToImage
2015-02-27 12:30:50 +01:00
Jeremy Daggett 09641ec2da Split Auto dependencies into auto-service and auto-value 2015-01-16 10:04:10 -08:00
Andrea Turli 6afc3c889d fix docker unit tests 2015-01-14 17:32:11 +01:00
Andrea Turli f1bf27bfaf support docker 1.4.1 (API v1.16) 2015-01-14 17:09:53 +01:00
Andrea Turli 14da3d680a support for docker 1.3.2
- update value objects (Container, Config)
- add new value object (Resource, StatusCode)
- add more options for ContainerApi
- add support for pause/unpause, restart, kill, copy and attach APIs + Mock and Live tests
- add *ParseTest
- refactor MockTests
- removed *Options.NONE
- cleanup low-value javadoc
- more coverage in LiveTests
- removed useless DockerProperties
- add comments for TLS issue
- use Date where needed
- fix listImages
- add package-private constructor to value classes
- remove KillOptions, RestartOptions, StopOptions in favour of @QueryParam
- use PEM instead of PKCS12 format
- update docker/pom.xml to use sshj dependencies
- explicit usage of OkHttp driver
- simplify DockerApiMetadata
- add bouncycastle driver explicitly
2015-01-14 16:48:24 +01:00
Andrea Turli 6219b77dbc JCLOUDS-737 update docker to support v1.3 2014-11-03 19:23:09 -08:00
Adrian Cole b04fd71998 JCLOUDS-750 FieldNamingStrategy is no longer required. 2014-11-01 11:55:36 -07:00
Adrian Cole 8b5fcf069b Decomplicate consuming the output of docker commands in tests. 2014-10-30 21:15:07 -07:00
Adrian Cole 42d881f78a Remove source of service loader typos with AutoService. 2014-10-30 21:14:42 -07:00
Adrian Cole c77d59470b JCLOUDS-534 Avoid runtime incompatibility introduced by Guava's closeQuietly. 2014-10-29 18:40:47 -07:00
Adrian Cole ef59a121bf Remove tar creation responsibility from docker, avoiding filesystem bias. 2014-10-29 12:42:21 -07:00
Adrian Cole 7bdff3f9ca JCLOUDS-750 AutoValue all Docker value types. 2014-10-28 08:09:10 -07:00
Adrian Cole 6121757377 Revert "JCLOUDS-653: Address Guava 18 deprecations"
This reverts commit b851f0ac3a6fd23720d67dbfad6954b2153bbc4b.

The above change made the floor guava version of jclouds latest guava. This is disasterous for compatibility.
2014-10-24 11:44:40 -07:00
Andrew Kennedy 01f498c251 Added non-null Entrypoint data to test JSON file for parsing 2014-10-12 01:52:05 +01:00
Andrew Kennedy 3bb2ffdee5 Add environment config option for Docker containers 2014-10-11 18:18:11 +01:00
Andrew Kennedy c967235ecd Document magic number in NodeMetadata for Docker 2014-10-10 21:19:57 +01:00
Andrew Kennedy 1af34c49b1 Handle missing login port 2014-10-10 19:06:21 +01:00
Andrew Kennedy 53b225c492 Set hostname in template options 2014-10-10 18:51:58 +01:00
Andrew Kennedy 0126d322fa Fix Container conversion when image ID not present 2014-10-10 18:51:58 +01:00
Andrew Kennedy 1c5a805a4d Entrypoint should be a JSON array 2014-10-10 18:51:58 +01:00
Andrew Gaul 96446269d2 Prefer Charsets.UTF_8 over string literal
Found with modernizer-maven-plugin.
2014-09-21 09:28:10 -07:00
Andrew Gaul 19f071915a Address FindBugs warnings 2014-09-01 01:06:41 -07:00
Andrew Gaul db09fca8a9 Correct license headers 2014-08-09 22:47:40 -07:00
Andrew Gaul a0a165eaa3 JCLOUDS-653: Address Guava 18 deprecations
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:14:10 -07:00
Andrew Phillips e20afb8e99 Updating subproject versions to 2.0.0-SNAPSHOT
Follow-up to eed3a06
2014-08-05 11:20:43 +02:00
Aled Sage 718e3ec81f Fix minor compilation warnings 2014-07-17 21:59:08 +01:00
Aled Sage 9536338f61 Fix use of deprecated Strings2.toString(InputSupplier) 2014-07-17 21:59:04 +01:00
Andrea Turli 779551c40f [JCLOUDS-500] Initial commit for docker 2014-07-07 11:48:24 +02:00