Refactor the CR plugin to a Lifecycle one

This commit is contained in:
Sébastien Deleuze
2024-06-14 18:29:28 +02:00
parent b3612bd36c
commit e4ff6fc20c
110 changed files with 264 additions and 261 deletions

View File

@@ -1,7 +1,7 @@
plugins {
id "java"
id "org.springframework.boot"
id "org.springframework.cr.smoke-test"
id "org.springframework.lifecycle.smoke-test"
}
ext {
@@ -13,15 +13,15 @@ dependencies {
org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.crac:crac")
implementation(project(":cr-listener"))
implementation(project(":lifecycle-listener"))
implementation("org.springframework.cloud:spring-cloud-starter:$springCloudStarterVersion")
testImplementation("org.springframework.boot:spring-boot-starter-test")
appTestImplementation(project(":cr-smoke-test-support"))
appTestImplementation(project(":lifecycle-smoke-test-support"))
}
crSmokeTest {
lifecycleSmokeTest {
webApplication = true
}

View File

@@ -9,7 +9,7 @@ import java.nio.file.StandardOpenOption;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Test;
import org.springframework.cr.smoketest.support.junit.ApplicationTest;
import org.springframework.lifecycle.smoketest.support.junit.ApplicationTest;
import org.springframework.test.web.reactive.server.WebTestClient;
import static org.assertj.core.api.Assertions.assertThat;