Infinispan Arquillian Implementation

Infinispan integration for the Arquillian project

License

License

Categories

Categories

Arquillian Application Testing & Monitoring Container Infinispan Data Caching
GroupId

GroupId

org.infinispan.arquillian.container
ArtifactId

ArtifactId

infinispan-arquillian-impl
Last Version

Last Version

1.2.0.Beta3
Release Date

Release Date

Type

Type

jar
Description

Description

Infinispan Arquillian Implementation
Infinispan integration for the Arquillian project
Project Organization

Project Organization

JBoss, a division of Red Hat

Download infinispan-arquillian-impl

How to add to project

<!-- https://jarcasting.com/artifacts/org.infinispan.arquillian.container/infinispan-arquillian-impl/ -->
<dependency>
    <groupId>org.infinispan.arquillian.container</groupId>
    <artifactId>infinispan-arquillian-impl</artifactId>
    <version>1.2.0.Beta3</version>
</dependency>
// https://jarcasting.com/artifacts/org.infinispan.arquillian.container/infinispan-arquillian-impl/
implementation 'org.infinispan.arquillian.container:infinispan-arquillian-impl:1.2.0.Beta3'
// https://jarcasting.com/artifacts/org.infinispan.arquillian.container/infinispan-arquillian-impl/
implementation ("org.infinispan.arquillian.container:infinispan-arquillian-impl:1.2.0.Beta3")
'org.infinispan.arquillian.container:infinispan-arquillian-impl:jar:1.2.0.Beta3'
<dependency org="org.infinispan.arquillian.container" name="infinispan-arquillian-impl" rev="1.2.0.Beta3">
  <artifact name="infinispan-arquillian-impl" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.infinispan.arquillian.container', module='infinispan-arquillian-impl', version='1.2.0.Beta3')
)
libraryDependencies += "org.infinispan.arquillian.container" % "infinispan-arquillian-impl" % "1.2.0.Beta3"
[org.infinispan.arquillian.container/infinispan-arquillian-impl "1.2.0.Beta3"]

Dependencies

compile (7)

Group / Artifact Type Version
org.jboss.shrinkwrap.descriptors : shrinkwrap-descriptors-api-base jar
org.wildfly.arquillian : wildfly-arquillian-common jar 1.0.2.Final
org.infinispan : infinispan-core jar 7.0.0.Alpha4
org.jboss.jbossts : jbossjta jar 4.16.4.Final
org.jboss.remoting3 : remoting-jmx jar 1.0.0.Final
org.jboss.xnio : xnio-nio jar 3.2.2.Final
org.jboss.sasl : jboss-sasl jar 1.0.0.Beta9

test (8)

Group / Artifact Type Version
org.jboss.arquillian.core : arquillian-core-impl-base jar
org.jboss.arquillian.core : arquillian-core-impl-base jar 1.1.10.Final
org.jboss.arquillian.test : arquillian-test-impl-base jar
org.jboss.arquillian.test : arquillian-test-impl-base jar 1.1.10.Final
org.jboss.arquillian.config : arquillian-config-impl-base jar
junit : junit jar 4.8.1
org.mockito : mockito-all jar 1.8.3
org.infinispan : infinispan-core jar 7.0.0.Alpha4

Project Modules

There are no modules declared in this project.

Infinispan Arquillian Container

Infinispan itself supports two modes of access – ‘Embedded’ and ‘Remote’. Embedded allows direct programmatic access within the same JVM and remote allows user applications to be hosted in a separate JVM. Remote mode typically means running a standalone Infinispan server or one embedded in a JBoss Application Server 7 and accessing it via remote client calls.

Infinispan Arquillian Container provides API for testing of both embedded and remote mode.

Features supporting testing of the remote mode include:

  • providing server module endpoint information like hostname/port (HotRod, MemCached, also REST for JBoss AS 7)

  • providing Cache Manager information:

    • cache manager status
    • cluster members
    • running cache count
    • physical addresses
    • and more...
  • providing Cache information:

    • cache status
    • average read time
    • average write time
    • number of entries
    • hits
    • misses
    • removes
    • stores
    • and more...

Features supporting testing of the embedded mode include:

  • injecting of a DatagridManager which enables users to:

    • easily create a cluster of cache managers of any size (including 1)
    • retrieve a cache, either default or named one, from any of those cache managers
    • get a transaction manager and other objects belonging to any cache in the cluster (objects like transaction, advanced cache, lock manager, replication listener, etc.)

Usage of container not fully managed by Arquillian:

Some containers, like e.g. EAP 5 container, are not fully managed by Arquillian and need to be stared/stopped manually. In such case dependency injection provided by this container cannot be used and you have to create appropriate resource yourselves in the code. If the used Arquillian container is not compatible with one for JBoss AS 7, you also need to configure the container to skip adding it to Infinispan-Arquillian context by setting <property name="skipIspnContext"/> in Arquillian configuration file.

Building

mvn clean install
org.infinispan.arquillian.container

Infinispan

Infinispan is a distributed in-memory key/value data store with optional schema, available under the Apache License 2.0.

Versions

Version
1.2.0.Beta3
1.2.0.Beta2
1.2.0.Beta1
1.2.0.Alpha3
1.2.0.Alpha2
1.2.0.Alpha1
1.1.0.Alpha2
1.1.0.Alpha1
1.0.0.Final
1.0.0.CR1