An Infinispan testcontainer implementation
Find a file
2017-12-08 11:30:37 +01:00
src Adjusted readiness check for infinispan 2017-12-08 11:30:37 +01:00
.gitignore Initial 2017-12-07 11:49:27 +01:00
pom.xml Adding initial InfinispanContainer implementation 2017-12-07 11:49:52 +01:00
README.md Added a usage description 2017-12-07 18:37:55 +01:00

Testcontainers Infinispan

The Testcontainers library provides container implementations for a few different docker containers that you might want to use during integration tests. You can always use a generic container to launch other images. This repository contains an implementation of a container for the Infinispan cache server. It provides an API that is aimed to help you configure the container.

At the moment this is a rudimentary implementation and by no means complete. Feel free to suggest changes!

Usage

For general usage info on Testcontainers please look at the examples of the project.

@ClassRule
public static InfinispanContainer infinispan = InfinispanContainerFactory
      .standalone("9.1.3.Final")
      .configurationFile("infinispan-standalone.xml")
      .expose()
      .hotrod()
      .build();