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"
}
dependencies {
@@ -9,16 +9,16 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.security:spring-security-oauth2-authorization-server:1.0.0-SNAPSHOT")
implementation("org.crac:crac")
implementation(project(":cr-listener"))
implementation(project(":lifecycle-listener"))
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.security:spring-security-test")
appTestImplementation("com.fasterxml.jackson.core:jackson-databind")
appTestImplementation(project(":cr-smoke-test-support"))
appTestImplementation(project(":lifecycle-smoke-test-support"))
}
crSmokeTest {
lifecycleSmokeTest {
webApplication = true
}

View File

@@ -8,7 +8,7 @@ import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
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.http.HttpHeaders;
import org.springframework.test.web.reactive.server.WebTestClient;
import org.springframework.util.LinkedMultiValueMap;