From 725a5af59941df125d38775a7ba1fa3c30935eb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edd=C3=BA=20Mel=C3=A9ndez?= Date: Sun, 30 Jul 2023 21:07:25 -0600 Subject: [PATCH] Add support for Testcontainers Solace module This commit adds the solace module for Testcontainers if Testcontainers and Solace are selected. Note that it does not add support for connection details as Solace does not implement them at the moment. See gh-1262 --- .../testcontainers/TestcontainersModuleRegistry.java | 2 ++ .../TestcontainersProjectGenerationConfigurationTests.java | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/start-site/src/main/java/io/spring/start/site/extension/dependency/testcontainers/TestcontainersModuleRegistry.java b/start-site/src/main/java/io/spring/start/site/extension/dependency/testcontainers/TestcontainersModuleRegistry.java index caf5a98c1e2..43749a58870 100644 --- a/start-site/src/main/java/io/spring/start/site/extension/dependency/testcontainers/TestcontainersModuleRegistry.java +++ b/start-site/src/main/java/io/spring/start/site/extension/dependency/testcontainers/TestcontainersModuleRegistry.java @@ -71,6 +71,8 @@ static Iterable create() { .customizeHelpDocument(addReferenceLink("Postgres Module", "databases/postgres/")), onDependencies("pulsar", "pulsar-reactive").customizeBuild(addModule("pulsar")) .customizeHelpDocument(addReferenceLink("Pulsar Module", "pulsar/")), + onDependencies("solace").customizeBuild(addModule("solace")) + .customizeHelpDocument(addReferenceLink("Solace Module", "solace/")), onDependencies("sqlserver").customizeBuild(addModule("mssqlserver")) .customizeHelpDocument(addReferenceLink("MS SQL Server Module", "databases/mssqlserver/"))); } diff --git a/start-site/src/test/java/io/spring/start/site/extension/dependency/testcontainers/TestcontainersProjectGenerationConfigurationTests.java b/start-site/src/test/java/io/spring/start/site/extension/dependency/testcontainers/TestcontainersProjectGenerationConfigurationTests.java index 3288cc20a1f..f233a2d6e7c 100644 --- a/start-site/src/test/java/io/spring/start/site/extension/dependency/testcontainers/TestcontainersProjectGenerationConfigurationTests.java +++ b/start-site/src/test/java/io/spring/start/site/extension/dependency/testcontainers/TestcontainersProjectGenerationConfigurationTests.java @@ -69,7 +69,8 @@ static Stream supportedEntriesBuild() { Arguments.arguments("kafka-streams", "kafka"), Arguments.arguments("mariadb", "mariadb"), Arguments.arguments("mysql", "mysql"), Arguments.arguments("postgresql", "postgresql"), Arguments.arguments("oracle", "oracle-xe"), Arguments.arguments("pulsar", "pulsar"), - Arguments.arguments("pulsar-reactive", "pulsar"), Arguments.arguments("sqlserver", "mssqlserver")); + Arguments.arguments("pulsar-reactive", "pulsar"), Arguments.arguments("solace", "solace"), + Arguments.arguments("sqlserver", "mssqlserver")); } @ParameterizedTest @@ -102,7 +103,7 @@ static Stream supportedEntriesHelpDocument() { Arguments.arguments("mariadb", "databases/mariadb/"), Arguments.arguments("mysql", "databases/mysql/"), Arguments.arguments("oracle", "databases/oraclexe/"), Arguments.arguments("postgresql", "databases/postgres/"), Arguments.arguments("pulsar", "pulsar/"), - Arguments.arguments("pulsar-reactive", "pulsar/"), + Arguments.arguments("pulsar-reactive", "pulsar/"), Arguments.arguments("solace", "solace/"), Arguments.arguments("sqlserver", "databases/mssqlserver/")); }