Arquillian Cube Extension 1.0.0.Alpha5 Released
Since we wrote this post we didn't laze around. Check our latest announcement.
The Arquillian team is proud to announce the 1.0.0.Alpha5 release of the Arquillian Cube Extension component!
What’s included in the Alpha5 release?
- New CubeController APIs
The
CubeController
API got a bit of an upgrade and you can now programtically do things like copy files and check internal states.- Copy files from Container
void copyFileDirectoryFromContainer(String cubeId, String from, String to)
- See changes to the filesystem
List<ChangeLog> changesOnFilesystem(String cubeId);
- Output running Container processes
TopContainer top(String cubeId);
- Copy log files
void copyLog(String cubeId, boolean follow, boolean stdout, boolean stderr, boolean timestamps, int tail, OutputStream outputStream);
- New external configuration file
The configuration property
dockerContainers
ordockerContainersFile
can now be replaced by simply having a file on classpath calledcube
. If the file exists and thedockerContainersX
configuration options are not set then this file will be read instead. The format of the content of the file is still the same.
- Default await strategy changed
The default await strategy has up until now been
NativeAwaitStrategy
which use theDocker
API to see if the container has started or not. This highly depends on the container and how it’s written.In Alpha5 the default strategy has changed to use
PollingAwaitStrategy
with thess
option. Now Cube will not determine the container started until all confiugred ports are available. The check is done from inside the container to avoid any false positives of rerouted port being opened before bound on the target container.
What is Arquillian Cube Extension?
With Arquillian Cube you can control the lifecycle of Docker images as part of the test lifecyle, either automatically or manually. This gives you the chance to scale up from a integration/functional test level all the way up to the system test level.
Release details
Component | Arquillian Cube Extension |
---|---|
Version | 1.0.0.Alpha5 view tag |
Release date | 2015-04-07 |
Released by | Aslak Knutsen |
Compiled against |
Published artifacts org.arquillian.cube
- org.arquillian.cube » arquillian-cube-api jar javadoc pom
- org.arquillian.cube » arquillian-cube-spi jar javadoc pom
- org.arquillian.cube » arquillian-cube-docker jar javadoc pom
- org.arquillian.cube » docker-server-stub jar javadoc pom
- org.arquillian.cube » arquillian-cube-containerless jar javadoc pom
Release notes and resolved issues 6
- Bug
- Enhancement
Thanks to the following list of contributors: Alex Soto, Aslak Knutsen