Arquillian Cube Extension 1.1.0 Released

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

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

New version of Arquillian Cube 1.1.0 has been released with new features and few bug fixes.

What’s new

Possibility for other custom strategies besides customAwaitStrategy

BeforeStop events can be very restrictive at times. Now you can write your own BeforeStop logic. To implement a custom before stop logic, you need to create a class implementing org.arquillian.cube.spi.beforeStop.BeforeStopAction and registering it on cube definition.

public class CustomBeforeStopActionImpl implements BeforeStopAction {
 
   private DockerClientExecutor dockerClientExecutor;
   private String containerID;
 
   @Override
   public void doBeforeStop() {
     //Logic
  }
}

Registration of previous action.

tomcat:
   image: tutum/tomcat:7.0
   beforeStop:
    - customBeforeStopAction:
      strategy: org.arquillian.cube.docker.impl.beforeStop.CustomBeforeStopActionImpl

Add possibility to ignore docker-compose location / (and default ones)

New cube property has been added to disable the cube definitions. This is useful if you are using container objects for testing and you’ve got a docker-compose on default locations and you won’t to be used by cube.

<extension qualifier="docker">
   <property name="ignoreContainersDefinition">true</property>
</extension>

By default its value is false.

Many thanks to James Netherton and jelmew for their help.

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.1.0 view tag
Release date 2017-04-06
Released by Bartosz Majsak
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-openshift 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-kubernetes-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-requirement jar javadoc pom
  • org.arquillian.cube » arquillian-cube-bom pom

Release notes and resolved issues 5

Bug
Enhancement

Thanks to the following list of contributors: Bartosz Majsak, Jelmer Van Amen, James Netherton, Ioannis Canellos, Alex Soto

Arquillian Cube Extension 1.0.1 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.1 release of the Arquillian Cube Extension component!

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.1 view tag
Release date 2017-03-31
Released by Bartosz Majsak
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-openshift 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-kubernetes-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-requirement jar javadoc pom
  • org.arquillian.cube » arquillian-cube-bom pom

Release notes and resolved issues 4

Bug
Enhancement

Thanks to the following list of contributors: Bartosz Majsak, Alex Soto, Mahnkong, Ioannis Canellos, Dipak Pawar

Arquillian Cube Extension 1.0.0 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 release of the Arquillian Cube Extension component!

Finally we stopped long lasting series of Alpha releases and we are proud of bringing version of Arquillian Cube 1.0.0 to you. Obviously Alpha versions where totally usable but now we feel confident that internal API is mature and stable. It’s unlikely new versions will cause backward compatibilty issues.

We have also started using Semantic Versioning in Arquillian Cube. For this reason there is no Arquillian Cube 1.0.0.Final but simply Arquillian Cube 1.0.0.

What’s new

OpenShift Client Resource Provider

OpenShift test can be enriched with OpenShiftClient instance.

public class HelloWorldTest {

    @ArquillianResource
    OpenShiftClient client;

}

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 view tag
Release date 2017-03-24
Released by Alex Soto
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-openshift 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-kubernetes-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-requirement jar javadoc pom
  • org.arquillian.cube » arquillian-cube-bom pom

Release notes and resolved issues 3

Bug

Thanks to the following list of contributors: Bartosz Majsak, Ioannis Canellos, Alex Soto

Arquillian Cube Extension 1.0.0.Alpha20 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.Alpha20 release of the Arquillian Cube Extension component!

New version of Arquillian Cube 1.0.0.Alpha20 has been released with one handy new feature and few bug fixes.

What’s new

Arquillian Cube Container Object DSL

A new option to start/stop containers is based on a generic container object provided by Arquillian Cube to define cube instances.

@DockerContainer
Container pingpong = Container.withContainerName("pingpong")
                        .fromImage("jonmorehouse/ping-pong")
                        .withPortBinding(8080)
                        .build();

@Test
public void should_return_ok_as_pong() throws IOException {
   String response = ping(pingpong.getIpAddress(), pingpong.getBindPort(8080));
  assertThat(response).containsSequence("OK");
}

You can also create networks in a similar, programmatic way:

@DockerNetwork
Network network = Network.withDefaultDriver("mynetwork").build();

By default Arquillian Cube will start and stop containers/networks at before/after test class execution, not per test method. You can modify this by using .withConnectionMode and configure it to be per test method.

Last but not least thank you to all users that has reported issues.

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.Alpha20 view tag
Release date 2017-03-14
Released by Alex Soto
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-openshift 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-kubernetes-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-requirement jar javadoc pom
  • org.arquillian.cube » arquillian-cube-bom pom

Release notes and resolved issues 5

Bug
Enhancement

Thanks to the following list of contributors: Alex Soto, Ioannis Canellos, Dipak Pawar, Eddú Meléndez Gonzales

Arquillian Cube Extension 1.0.0.Alpha19 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.Alpha19 release of the Arquillian Cube Extension component!

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.Alpha19 view tag
Release date 2017-02-27
Released by Alex Soto
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-recorder jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-restassured jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift 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-kubernetes-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-requirement jar javadoc pom
  • org.arquillian.cube » arquillian-cube-bom pom

Release notes and resolved issues 11

Docker
Enhancement
Bug
Other

Thanks to the following list of contributors: Ioannis Canellos, Alex Soto, Dipak Pawar, Eddú Meléndez Gonzales, Ramon Rivas, Pascal Wölfle