public final class OpenNMSStack extends Object implements org.junit.rules.TestRule
StackModel
this class will create the appropriate containers
and chain their initialization in a way that allows the stack to come up cleanly.Modifier and Type | Field and Description |
---|---|
static OpenNMSStack |
ALEC |
static OpenNMSStack |
MINIMAL |
static OpenNMSStack |
MINION |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
ElasticsearchContainer |
elastic() |
org.testcontainers.containers.KafkaContainer |
kafka() |
MinionContainer |
minion() |
MinionContainer |
minions(int index) |
OpenNMSContainer |
opennms() |
PostgreSQLContainer |
postgres() |
SentinelContainer |
sentinel() |
SentinelContainer |
sentinels(int index) |
static OpenNMSStack |
withModel(StackModel model) |
public static final OpenNMSStack MINIMAL
public static final OpenNMSStack MINION
public static final OpenNMSStack ALEC
public static OpenNMSStack withModel(StackModel model)
public OpenNMSContainer opennms()
public MinionContainer minion()
public MinionContainer minions(int index)
public SentinelContainer sentinel()
public SentinelContainer sentinels(int index)
public ElasticsearchContainer elastic()
public PostgreSQLContainer postgres()
public org.testcontainers.containers.KafkaContainer kafka()
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
apply
in interface org.junit.rules.TestRule
Copyright © 2022. All rights reserved.