From f4b470b74601947c3c44b17da88bfd4f869d59cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 06:47:54 +0000 Subject: [PATCH 1/2] Bump quarkus.platform.version from 3.12.3 to 3.13.2 Bumps `quarkus.platform.version` from 3.12.3 to 3.13.2. Updates `io.quarkus.platform:quarkus-bom` from 3.12.3 to 3.13.2 - [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.12.3...3.13.2) Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.12.3 to 3.13.2 - [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.12.3...3.13.2) --- updated-dependencies: - dependency-name: io.quarkus.platform:quarkus-bom dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.quarkus.platform:quarkus-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b32659b..bef4443 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ 5.2.0 5.4.0 1.7.1 - 3.12.3 + 3.13.2 0.2.3 true 3.3.1 From 17bae7da59d1d67f2d1b94a7a1221dac1a6c57e4 Mon Sep 17 00:00:00 2001 From: Martin Visser Date: Wed, 14 Aug 2024 15:43:05 +0200 Subject: [PATCH 2/2] Remove @QuarkusTest for simple unit tests --- git-plugin/pom.xml | 2 +- .../ret/git/plugin/AutoCompleteCommandTest.kt | 2 -- .../ret/git/plugin/PullRequestCreateCommandTest.kt | 2 -- .../ret/git/plugin/PullRequestOpenCommandTest.kt | 2 -- .../rabobank/ret/git/plugin/RepositoryCommandTest.kt | 2 -- splunk-plugin/pom.xml | 2 +- .../ret/splunk/plugin/splunk/SplunkPluginConfig.kt | 12 ++++++++++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/git-plugin/pom.xml b/git-plugin/pom.xml index 9419610..03ff4a5 100644 --- a/git-plugin/pom.xml +++ b/git-plugin/pom.xml @@ -16,7 +16,7 @@ io.quarkus - quarkus-rest-client-reactive-jackson + quarkus-rest-client-jackson diff --git a/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/AutoCompleteCommandTest.kt b/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/AutoCompleteCommandTest.kt index e73644a..d270312 100644 --- a/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/AutoCompleteCommandTest.kt +++ b/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/AutoCompleteCommandTest.kt @@ -1,6 +1,5 @@ package io.rabobank.ret.git.plugin -import io.quarkus.test.junit.QuarkusTest import io.rabobank.ret.IntelliSearch import io.rabobank.ret.RetContext import io.rabobank.ret.git.plugin.command.AutoCompleteCommand @@ -31,7 +30,6 @@ import java.io.PrintWriter import java.io.StringWriter import java.time.ZonedDateTime -@QuarkusTest class AutoCompleteCommandTest { private lateinit var commandLine: CommandLine private val gitProvider = mock() diff --git a/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/PullRequestCreateCommandTest.kt b/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/PullRequestCreateCommandTest.kt index 0c0ca4d..31da1dc 100644 --- a/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/PullRequestCreateCommandTest.kt +++ b/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/PullRequestCreateCommandTest.kt @@ -1,6 +1,5 @@ package io.rabobank.ret.git.plugin -import io.quarkus.test.junit.QuarkusTest import io.rabobank.ret.RetContext import io.rabobank.ret.git.plugin.command.PullRequestCreateCommand import io.rabobank.ret.git.plugin.config.ExceptionMessageHandler @@ -29,7 +28,6 @@ import java.net.URI private const val BASE_URL = "https://test.git" -@QuarkusTest internal class PullRequestCreateCommandTest { private val gitProvider = mock() private val mockedBrowserUtils = mock() diff --git a/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/PullRequestOpenCommandTest.kt b/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/PullRequestOpenCommandTest.kt index 02f85ae..c9381fd 100644 --- a/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/PullRequestOpenCommandTest.kt +++ b/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/PullRequestOpenCommandTest.kt @@ -1,6 +1,5 @@ package io.rabobank.ret.git.plugin -import io.quarkus.test.junit.QuarkusTest import io.rabobank.ret.git.plugin.command.PullRequestOpenCommand import io.rabobank.ret.git.plugin.output.OutputHandler import io.rabobank.ret.git.plugin.provider.GitProvider @@ -23,7 +22,6 @@ import java.net.URI private const val BASE_URL = "https://test.git" -@QuarkusTest internal class PullRequestOpenCommandTest { private val mockedGitProvider = mock() private val mockedBrowserUtils = mock() diff --git a/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/RepositoryCommandTest.kt b/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/RepositoryCommandTest.kt index ff4aadb..ff3005e 100644 --- a/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/RepositoryCommandTest.kt +++ b/git-plugin/src/test/kotlin/io/rabobank/ret/git/plugin/RepositoryCommandTest.kt @@ -1,6 +1,5 @@ package io.rabobank.ret.git.plugin -import io.quarkus.test.junit.QuarkusTest import io.rabobank.ret.RetConsole import io.rabobank.ret.RetContext import io.rabobank.ret.git.plugin.command.RepositoryCommand @@ -26,7 +25,6 @@ import org.mockito.kotlin.whenever import picocli.CommandLine import java.net.URI -@QuarkusTest internal class RepositoryCommandTest { private val mockedGitProvider = mock() private val mockedBrowserUtils = mock() diff --git a/splunk-plugin/pom.xml b/splunk-plugin/pom.xml index 62f7932..cae28b6 100644 --- a/splunk-plugin/pom.xml +++ b/splunk-plugin/pom.xml @@ -16,7 +16,7 @@ io.quarkus - quarkus-rest-client-reactive-jackson + quarkus-rest-client-jackson org.jetbrains.kotlin diff --git a/splunk-plugin/src/main/kotlin/io/rabobank/ret/splunk/plugin/splunk/SplunkPluginConfig.kt b/splunk-plugin/src/main/kotlin/io/rabobank/ret/splunk/plugin/splunk/SplunkPluginConfig.kt index 6e734e7..5832661 100644 --- a/splunk-plugin/src/main/kotlin/io/rabobank/ret/splunk/plugin/splunk/SplunkPluginConfig.kt +++ b/splunk-plugin/src/main/kotlin/io/rabobank/ret/splunk/plugin/splunk/SplunkPluginConfig.kt @@ -19,8 +19,16 @@ class SplunkPluginConfig : Configurable() { override fun properties() = listOf( - ConfigurationProperty(BASE_URL, "Enter the Splunk base URL ( in /en-US/app//search)", required = true), - ConfigurationProperty(APP, "Enter your Splunk app name ( in /en-US/app//search)", required = true), + ConfigurationProperty( + BASE_URL, + "Enter the Splunk base URL ( in /en-US/app//search)", + required = true, + ), + ConfigurationProperty( + APP, + "Enter your Splunk app name ( in /en-US/app//search)", + required = true, + ), ConfigurationProperty( INDEXES, "Enter your Splunk index(es) (comma separated). E.g. my_index_a, my_index_b",