Arquillian Container OpenShift Express

OpenShift Express Container integration for the Arquillian Project

License

License

Public Domain
Categories

Categories

JBoss Container Application Servers Arquillian Application Testing & Monitoring OpenShift PaaS Providers
GroupId

GroupId

org.jboss.arquillian.container
ArtifactId

ArtifactId

arquillian-openshift-express
Last Version

Last Version

1.0.0.Beta1
Release Date

Release Date

Type

Type

jar
Description

Description

Arquillian Container OpenShift Express
OpenShift Express Container integration for the Arquillian Project
Project URL

Project URL

http://www.jboss.org/arquillian-openshift-express
Project Organization

Project Organization

JBoss by Red Hat

Download arquillian-openshift-express

How to add to project

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

Dependencies

compile (9)

Group / Artifact Type Version
org.jboss.arquillian.container : arquillian-container-spi jar
org.jboss.arquillian.container : arquillian-container-test-spi jar
org.jboss.arquillian.protocol : arquillian-protocol-servlet jar
org.jboss.arquillian.testenricher : arquillian-testenricher-cdi jar
org.jboss.arquillian.testenricher : arquillian-testenricher-ejb jar
org.jboss.arquillian.testenricher : arquillian-testenricher-resource jar
org.jboss.arquillian.testenricher : arquillian-testenricher-initialcontext jar
org.jboss.shrinkwrap.descriptors : shrinkwrap-descriptors-depchain pom 1.2.0-alpha-2
org.eclipse.jgit : org.eclipse.jgit jar 1.3.0.201202151440-r

provided (2)

Group / Artifact Type Version
org.jboss.as : jboss-as-server jar 7.0.0.Final
org.jboss.spec.javax.servlet : jboss-servlet-api_3.0_spec jar 1.0.0.Final

test (7)

Group / Artifact Type Version
org.jboss.spec.javax.ejb : jboss-ejb-api_3.1_spec jar 1.0.1.Final
org.jboss.arquillian.container : arquillian-container-test-api jar
org.jboss.arquillian.junit : arquillian-junit-container jar
org.jboss.arquillian.ajocado : arquillian-ajocado-junit pom 1.0.0.CR2
junit : junit jar
javax.inject : javax.inject jar
org.mockito : mockito-all jar

Project Modules

There are no modules declared in this project.

Obsolete

We don't maintain this code base anymore. If you want to use Arquillian for testing your Openshift applications head to Arquillian Cube. That's where you find latest tools!

Arquillian Containers for Red Hat OpenShift

Register on https://www.openshift.com to get a free access!

OpenShift Container

This container requires user to have create a domain and application using rhc commands:

  • rhc-create-domain
  • rhc-create-app

This will establish a remote Git repository and provide user with credentials which are required in order to use the container.

Specify following configuration in arquillian.xml file:

  • namespace - a namespace created by rhc-create-domain tool, e.g. bar
  • application - an application name created by rhc-create-app tool, e.g. foo
  • login - a Red Hat login (RHN with OpenShift access, e.g. [email protected]
  • sshUserName - an user name generated when an application is created by rhc-create-app tool, e.g. a7b1daad5c624157bdeea60b26cf8eba

Following configuration properties have sensible defaults, but can be modified:

  • type - cartridge type, e.g. jbossas-7.0
  • libraDomain - domain where OpenShift server instance is running, e.g. rhcloud.com
  • deploymentTimeoutInSeconds - timeout in seconds to wait for a deployment to be finished
  • discardHistory - activates discarding deploying/undeploying commits from Arquillian

Following configuration properties are optional

  • passphrase - the passphrase to SSH identity key, can be set via SSH_PASSPHRASE environment variable
  • identityFile - the path to SSH identity key (must be absolute), can be set via SSH_IDENTITYFILE environment variable
  • disableStrictHostChecking - set it to true to disable StrictHostChecking policy

For jbossas-7.0 cartridge automatic deployment is disabled during execution of the tests. This means your application built from pom.xml is not available during testing. A workaround is to use a different application name and repository for testing.

Note: Requires Maven Surefire plugin 2.9 or higher, because of SUREFIRE-743

org.jboss.arquillian.container

An Innovative Testing Platform for the JVM

Versions

Version
1.0.0.Beta1
1.0.0.Alpha2
1.0.0.Alpha1