From 576d83da3ccdbf129ffc47c661f90cd4cf3d5887 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Thu, 14 Dec 2023 10:46:26 -0600 Subject: [PATCH] Update Pulsar container to version specified in Spring Boot (3.1.1) --- .../start/site/container/SimpleDockerServiceResolver.java | 2 +- .../SpringPulsarProjectGenerationConfigurationTests.java | 2 +- start-site/src/test/resources/compose/pulsar.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/start-site/src/main/java/io/spring/start/site/container/SimpleDockerServiceResolver.java b/start-site/src/main/java/io/spring/start/site/container/SimpleDockerServiceResolver.java index 81ab5167741..aca7232e062 100644 --- a/start-site/src/main/java/io/spring/start/site/container/SimpleDockerServiceResolver.java +++ b/start-site/src/main/java/io/spring/start/site/container/SimpleDockerServiceResolver.java @@ -114,7 +114,7 @@ private static DockerService postgres() { private static DockerService pulsar() { // The latest tag they provide is not the 'latest' GA - return DockerService.withImageAndTag("apachepulsar/pulsar:3.1.0") + return DockerService.withImageAndTag("apachepulsar/pulsar:3.1.1") .website("https://hub.docker.com/r/apachepulsar/pulsar") .command("bin/pulsar standalone") .ports(8080, 6650) diff --git a/start-site/src/test/java/io/spring/start/site/extension/dependency/springpulsar/SpringPulsarProjectGenerationConfigurationTests.java b/start-site/src/test/java/io/spring/start/site/extension/dependency/springpulsar/SpringPulsarProjectGenerationConfigurationTests.java index 0ff94b15aba..5fef285463f 100644 --- a/start-site/src/test/java/io/spring/start/site/extension/dependency/springpulsar/SpringPulsarProjectGenerationConfigurationTests.java +++ b/start-site/src/test/java/io/spring/start/site/extension/dependency/springpulsar/SpringPulsarProjectGenerationConfigurationTests.java @@ -172,7 +172,7 @@ private void assertPulsarServiceConnectionAdded(ServiceConnections connections) assertThat(connection.containerClassNameGeneric()).isFalse(); assertThat(connection.dockerService()).satisfies((dockerService) -> { assertThat(dockerService.getImage()).isEqualTo("apachepulsar/pulsar"); - assertThat(dockerService.getImageTag()).isEqualTo("3.1.0"); + assertThat(dockerService.getImageTag()).isEqualTo("3.1.1"); assertThat(dockerService.getWebsite()).isEqualTo("https://hub.docker.com/r/apachepulsar/pulsar"); assertThat(dockerService.getCommand()).isEqualTo("bin/pulsar standalone"); assertThat(dockerService.getPorts()).containsExactlyInAnyOrder(8080, 6650); diff --git a/start-site/src/test/resources/compose/pulsar.yaml b/start-site/src/test/resources/compose/pulsar.yaml index 1bca13fe254..013e7f4a9c3 100644 --- a/start-site/src/test/resources/compose/pulsar.yaml +++ b/start-site/src/test/resources/compose/pulsar.yaml @@ -1,6 +1,6 @@ services: pulsar: - image: 'apachepulsar/pulsar:3.1.0' + image: 'apachepulsar/pulsar:3.1.1' ports: - '6650' - '8080'