use of com.redhat.jenkins.plugins.ci.integration.fixtures.ActiveMQContainer in project jms-messaging-plugin by jenkinsci.
the class AmqMessagingPluginLockdownIntegrationTest method setUp.
@Before
public void setUp() throws Exception {
ActiveMQContainer amq = docker.create();
GlobalCIConfiguration gcc = GlobalCIConfiguration.get();
gcc.setConfigs(Collections.singletonList(new ActiveMqMessagingProvider("name", createFailoverUrl(amq.getBroker()), true, "CI", null, new UsernameAuthenticationMethod("admin", Secret.fromString("redhat")))));
String adminUser = "admin";
String user = "user";
configureSecurity(adminUser, user);
// TODO test connection. WebClient? Rest?
}
Aggregations