Arquillian Cube Extension 1.15.3 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.15.3 release of the Arquillian Cube Extension component!

Highlights of this release

Apart from several bug fixes, this release contains three awesome features.

Fabric8 Maven Plugin integration

From now you can use fabric8-maven-plugin to build images and generate k8s/openshift artifacts and let cube use it in your tests.

However you have to configure fabric8-maven-plugin using arquillian.xml as per your need.

Here’s an example:

<extension qualifier="openshift">
    <property name="cube.fmp.build">true</property>
</extension>

By enabling this property, cube will build images, generate resources using fabric8-maven-plugin when running test from Maven or IDE.

User can configure to run fabric8-maven-plugin only from IDE (not from maven build) by setting property cube.fmp.build.disable.for.mvn to true. Look here for more configuration options.

Look at complete example here.

Expression Resolver for @RouteUrl

To resolve expression @RouteURL("${my.expression}"), Arquillian Cube looks in hierarchy of system property → environment variable → properties defined in arquillian.xml.

For Example if user is using @RouteURL("${route.name}") with openshift extension configuration in arquillian.xml like

  <extension qualifier="openshift">
    <property name="route.name">my-route</property>
  </extension>

then @RouteURL("${route.name}") resolves to @RouteURL("my-route"). Look at ftest for complete example.

Await Strategy – docker_health

Docker has HEALTHCHECK instruction to test a container is still working. We have added new Await strategy docker_health to wait for container to start working as per HEALTHCHECK instruction defined in Dockerfile.

Many thanks to Thibault Jamet for providing implementation of docker_health Await strategy.

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.15.3 view tag
Release date 2018-03-29
Released by Matous Jobanek
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-core jar javadoc pom
  • org.arquillian.cube » arquillian-cube-containerless jar javadoc pom
  • org.arquillian.cube » assertj-docker-java jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-drone jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-restassured jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-junit-rule jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-junit5 jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-junit-rules jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift-api jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift-shrinkwrap jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift-restassured jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes-fabric8 jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes jar javadoc pom
  • org.arquillian.cube » arquillian-cube-istio-kubernetes-api jar javadoc pom
  • org.arquillian.cube » arquillian-cube-istio-kubernetes jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-requirement jar javadoc pom
  • org.arquillian.cube » arquillian-cube-bom pom
  • org.arquillian.cube » arquillian-cube-requirement-spi jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-starter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes-starter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift-starter jar javadoc pom

Release notes and resolved issues 13

Other
Bug
Train/heather

Thanks to the following list of contributors: Dipak Pawar, Hemani, Thibault Jamet, Matous Jobanek, Arquillian