Provides various functionality to set up a JIRA cluster based on Apache Tomcat using the Cargo API.
This is the main class you have to use to write container tests.
Example usage:
public class Test {
@Rule
public ContainerRule<?> containerSet = ContainerRuleFactory.create(builder -> builder.numNodes(2));
@Test
public void testCase() {
containerSet.resetClusterState();
containerSet.installJira(JiraType.BASE);
containerSet.installTestingPlugins(JiraType.BASE);
Container node1 = containerSet.getContainers().get(0);
Container node2 = containerSet.getContainers().get(1);
containerSet.startAll();
containerSet.cluster().waitForStartup();
}
}