public void startAppServer(@Observes(precedence = -1) BeforeClass event) throws MalformedURLException, InterruptedException, IOException { if (testContext.isAdapterTest()) { ContainerController controller = containerConrollerInstance.get(); if (!controller.isStarted(testContext.getAppServerInfo().getQualifier())) { controller.start(testContext.getAppServerInfo().getQualifier()); } } }
public void installAdapterLibs(@Observes BeforeDeploy event) { log.debug("BEFORE DEPLOY - INSTALL ADAPTER LIBS"); if (testContext.isAdapterTest()) { // install adapter libs on JBoss-based container via CLI if (testContext.getAppServerInfo().isJBossBased()) { try { installAdapterLibsUsingJBossCLIClient(testContext.getAppServerInfo()); } catch (InterruptedException | IOException ex) { throw new RuntimeException("Failed to install adapter libs.", ex); } } } }