Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade IBM MQ container image to 9.4.0.5-r1 #279

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@
import org.eclipse.microprofile.config.ConfigProvider;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.wait.strategy.Wait;
import org.testcontainers.images.builder.Transferable;
import org.testcontainers.utility.DockerImageName;

public class IBMMQTestResource implements QuarkusTestResourceLifecycleManager {
private static final String IMAGE_NAME = "icr.io/ibm-messaging/mq:9.3.2.1-r1";
private static final String IMAGE_NAME = "icr.io/ibm-messaging/mq:9.4.0.5-r1";
private static final int PORT = 1414;
private static final String QUEUE_MANAGER_NAME = "QM1";
private static final String USER = "app";
Expand All @@ -39,8 +40,9 @@ public Map<String, String> start() {
.withExposedPorts(PORT)
.withEnv(Map.of(
"LICENSE", ConfigProvider.getConfig().getValue("ibm.mq.container.license", String.class),
"MQ_QMGR_NAME", QUEUE_MANAGER_NAME,
"MQ_APP_PASSWORD", PASSWORD))
"MQ_QMGR_NAME", QUEUE_MANAGER_NAME))
.withCopyToContainer(Transferable.of(PASSWORD), "/run/secrets/mqAdminPassword")
.withCopyToContainer(Transferable.of(PASSWORD), "/run/secrets/mqAppPassword")
// AMQ5806I is a message code for queue manager start
.waitingFor(Wait.forLogMessage(".*AMQ5806I.*", 1));
container.start();
Expand Down
Loading