From d37edb6e8f7493dfc3bde2fcb9de93899dcf5842 Mon Sep 17 00:00:00 2001 From: Alex Martel <13215031+manofthepeace@users.noreply.github.com> Date: Fri, 23 Aug 2024 15:18:44 -0400 Subject: [PATCH] Update commons-lang3 to 3.17.0 --- bom/application/pom.xml | 2 +- .../deployment/pkg/steps/NativeImageBuildContainerRunner.java | 2 +- .../quarkus/deployment/pkg/steps/UpxCompressionBuildStep.java | 2 +- independent-projects/bootstrap/pom.xml | 2 +- .../io/quarkus/it/rabbitmq/RabbitMQConnectorDynCredsTest.java | 2 +- .../io/quarkus/test/common/DefaultDockerContainerLauncher.java | 2 +- .../main/java/io/quarkus/test/junit/IntegrationTestUtil.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 7ad8ce8a6fbb0..634944580292c 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -95,7 +95,7 @@ 1.8.0 2.17.2 1.0.0.Final - 3.14.0 + 3.17.0 1.17.1 1.7.0 2.8 diff --git a/integration-tests/reactive-messaging-rabbitmq-dyn/src/test/java/io/quarkus/it/rabbitmq/RabbitMQConnectorDynCredsTest.java b/integration-tests/reactive-messaging-rabbitmq-dyn/src/test/java/io/quarkus/it/rabbitmq/RabbitMQConnectorDynCredsTest.java index eab9ad69c8765..c05c6304c1242 100644 --- a/integration-tests/reactive-messaging-rabbitmq-dyn/src/test/java/io/quarkus/it/rabbitmq/RabbitMQConnectorDynCredsTest.java +++ b/integration-tests/reactive-messaging-rabbitmq-dyn/src/test/java/io/quarkus/it/rabbitmq/RabbitMQConnectorDynCredsTest.java @@ -31,7 +31,7 @@ public static class RabbitMQResource implements QuarkusTestResourceLifecycleMana @Override public Map start() { String username = "tester"; - String password = RandomStringUtils.random(10); + String password = RandomStringUtils.insecure().next(10); rabbit = new RabbitMQContainer(DockerImageName.parse("rabbitmq:3.12-management")) .withNetwork(Network.SHARED) diff --git a/test-framework/common/src/main/java/io/quarkus/test/common/DefaultDockerContainerLauncher.java b/test-framework/common/src/main/java/io/quarkus/test/common/DefaultDockerContainerLauncher.java index 533048d795934..50295407fa505 100644 --- a/test-framework/common/src/main/java/io/quarkus/test/common/DefaultDockerContainerLauncher.java +++ b/test-framework/common/src/main/java/io/quarkus/test/common/DefaultDockerContainerLauncher.java @@ -50,7 +50,7 @@ public class DefaultDockerContainerLauncher implements DockerContainerArtifactLa private Map labels; private final Map systemProps = new HashMap<>(); private boolean isSsl; - private final String containerName = "quarkus-integration-test-" + RandomStringUtils.random(5, true, false); + private final String containerName = "quarkus-integration-test-" + RandomStringUtils.insecure().next(5, true, false); private String containerRuntimeBinaryName; private final ExecutorService executorService = Executors.newSingleThreadExecutor(); private Optional entryPoint; diff --git a/test-framework/junit5/src/main/java/io/quarkus/test/junit/IntegrationTestUtil.java b/test-framework/junit5/src/main/java/io/quarkus/test/junit/IntegrationTestUtil.java index a29edfc4a0488..b44f78c962cf5 100644 --- a/test-framework/junit5/src/main/java/io/quarkus/test/junit/IntegrationTestUtil.java +++ b/test-framework/junit5/src/main/java/io/quarkus/test/junit/IntegrationTestUtil.java @@ -319,7 +319,7 @@ public void accept(String s, String s2) { if (networkIdOpt.isPresent()) { networkId = networkIdOpt.get(); } else { - networkId = "quarkus-integration-test-" + RandomStringUtils.random(5, true, false); + networkId = "quarkus-integration-test-" + RandomStringUtils.insecure().next(5, true, false); manageNetwork = true; } }