Refactor the CR plugin to a Lifecycle one
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user