From a22f5db906bc309fc57e00f5b1fd00d6fadc458d Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Sat, 18 Mar 2023 17:08:16 +0100 Subject: [PATCH] New home for Narayana LRA coordinator Docker images (cherry picked from commit 5c15e71d971e03316acf438900169ba735151ff9) --- docs/src/main/asciidoc/lra.adoc | 2 +- .../quickstart/lra/LRAParticipantTestResourceLifecycle.java | 2 +- .../src/main/java/io/quarkus/tck/lra/LRACoordinatorManager.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/lra.adoc b/docs/src/main/asciidoc/lra.adoc index fb584080fe4e5..0f3fcf9402d0a 100644 --- a/docs/src/main/asciidoc/lra.adoc +++ b/docs/src/main/asciidoc/lra.adoc @@ -96,7 +96,7 @@ quarkus.lra.coordinator-url=http://localhost:8080/lra-coordinator ---- For a Narayana coordinator the path component of the url is normally `lra-coordinator`. -Coordinators can be obtained from `https://hub.docker.com/r/jbosstm/lra-coordinator` +Coordinators can be obtained from https://quay.io/repository/jbosstm/lra-coordinator or you can build your own coordinator using a maven pom that includes the appropriate dependencies. A Quarkus quickstart will be provided to show how to do this, or you can take a look at one of the https://github.com/jbosstm/quickstart/tree/master/rts/lra-examples/lra-coordinator[Narayana quickstarts]. diff --git a/integration-tests/narayana-lra/src/test/java/org/acme/quickstart/lra/LRAParticipantTestResourceLifecycle.java b/integration-tests/narayana-lra/src/test/java/org/acme/quickstart/lra/LRAParticipantTestResourceLifecycle.java index afa58143853d8..c0fc6107985c7 100644 --- a/integration-tests/narayana-lra/src/test/java/org/acme/quickstart/lra/LRAParticipantTestResourceLifecycle.java +++ b/integration-tests/narayana-lra/src/test/java/org/acme/quickstart/lra/LRAParticipantTestResourceLifecycle.java @@ -22,7 +22,7 @@ public static String getCoordinatorEndpoint() { @Override public Map start() { - registry = new GenericContainer<>("jbosstm/lra-coordinator:5.12.0.Final") + registry = new GenericContainer<>("quay.io/jbosstm/lra-coordinator:latest") .withExposedPorts(8080) .withEnv("QUARKUS_PROFILE", "prod"); registry.start(); diff --git a/tcks/microprofile-lra/src/main/java/io/quarkus/tck/lra/LRACoordinatorManager.java b/tcks/microprofile-lra/src/main/java/io/quarkus/tck/lra/LRACoordinatorManager.java index 8721d08e41755..03d62f97fdd9b 100644 --- a/tcks/microprofile-lra/src/main/java/io/quarkus/tck/lra/LRACoordinatorManager.java +++ b/tcks/microprofile-lra/src/main/java/io/quarkus/tck/lra/LRACoordinatorManager.java @@ -19,7 +19,7 @@ public class LRACoordinatorManager { public void beforeClass( @Observes(precedence = DEFAULT_PRECEDENCE) org.jboss.arquillian.test.spi.event.suite.BeforeSuite event) { LOGGER.debug("Starting LRA coordinator on port " + coordinatorPort); - coordinatorContainer = new GenericContainer<>(DockerImageName.parse("jbosstm/lra-coordinator:latest")) + coordinatorContainer = new GenericContainer<>(DockerImageName.parse("quay.io/jbosstm/lra-coordinator:latest")) // lra-coordinator is a Quarkus service .withEnv("QUARKUS_HTTP_PORT", String.valueOf(coordinatorPort)) // need to run with host network because coordinator calls the TCK services from the container