merge: PR #27을 합친 검사 브랜치에 넣는다
pr / done (pull_request) Successful in 12m50s

# Conflicts:
#	src/adapter/inbound/graphql/AGENTS.md
This commit is contained in:
DongHyeonka
2026-11-13 07:30:18 +09:00
70 changed files with 729 additions and 627 deletions
+7
View File
@@ -83,6 +83,8 @@ required-class 검사가 이 테스트가 조용히 사라지는 것을 막는
의존해야 했고, 그건 의존 방향이 뒤집힌다.
- `spring-boot-starter-graphql` (Spring Boot BOM 관리 — 버전 명시 없음).
- test scope 에 한해 `spring-boot-starter-web`(random-port 전송 테스트용),
`spring-boot-restclient`·`spring-boot-resttestclient`(그 테스트가 부르는 `TestRestTemplate`),
`spring-boot-starter-graphql-test`(`GraphQlTester`),
`spring-boot-starter-security`(HTTP 인증/CORS qualification 용),
`io.micrometer:micrometer-core`(실제 `MeterRegistry` 로 metric label cardinality 를 **측정**).
- `java-test-fixtures` — 계약 스위트·통합 fixture·in-memory 스텁은 `src/testFixtures/java` 가
@@ -154,8 +156,13 @@ health 스키마만 소유한다.
```bash
./gradlew :adapter:inbound:graphql:graphqlStableTest --console=plain # GraphQlTransportBoundaryArchitectureTest만, skip 금지
./gradlew :adapter:inbound:graphql:systemTest --console=plain # 실제 HTTP 서버
./gradlew :adapter:inbound:graphql:graphqlDocumentContractTest --console=plain # env-keys registry 대조
```
`graphqlDocumentContractTest` 는 `document-contract` 태그 시험(`GraphQlDeploymentModeRegistryParityTest`)만 돌린다.
저장소 문서를 읽으므로 `test` 에서는 돌지 않고 main 단계(leaf `mainCheck`)에서 돈다. 저장소 루트
(`ca.repository.root`)는 이 lane 만 받는다.
`graphqlStableTest` 는 `GraphQlTransportBoundaryArchitectureTest` 가 실행되지 않거나 skip 되면
실패한다(`build.gradle` 의 strict lane `requires` + `rejectSkipped`). 같은 클래스는 `test` 에서도 돈다.
+21
View File
@@ -42,6 +42,9 @@ configurations {
dependencies {
// TestRestTemplate for the random-port HTTP boundary tests. The spring-library convention adds
// only spring-boot-starter-test, so a leaf names the web test client it calls.
testImplementation 'org.springframework.boot:spring-boot-resttestclient'
implementation project(':shared-contract')
// The object-access rule this platform consults belongs to the application, and so does its
@@ -127,6 +130,24 @@ strictTestLanes {
requires 'dev.caskeleton.adapter.inbound.graphql.GraphQlTransportBoundaryArchitectureTest'
rejectSkipped = true
}
// GraphQlDeploymentModeRegistryParityTest reads docs/registries/env-keys.yaml. A comparison with
// a repository document runs here, in this leaf's `mainCheck`, not in the pull-request `test`,
// whose cache cannot see the registry change (build-logic/AGENTS.md, 2026-11-12 review). A lane
// never reports up to date, so it needs no inputs declared for the file it reads.
lane('graphqlDocumentContractTest') {
tag = 'document-contract'
description = 'Holds the GraphQL deployment modes to docs/registries/env-keys.yaml.'
rejectSkipped = true
mainStage()
// Only this lane gets the repository root, and it declares the one file it reads; the plain
// `test` gets neither, so an untagged test that reads the repository fails there.
systemProperty 'ca.repository.root', rootProject.projectDir.absolutePath
customize { Test task ->
task.inputs.file(rootProject.file('docs/registries/env-keys.yaml'))
.withPathSensitivity(PathSensitivity.RELATIVE)
.withPropertyName('envKeyRegistry')
}
}
}
// verifyGraphQlApiSurface — every public type this leaf exposes is a committed decision.
@@ -146,14 +146,11 @@ org.springframework.boot:spring-boot-starter-test:4.0.9=systemTestCompileClasspa
org.springframework.boot:spring-boot-starter-tomcat-runtime:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-web:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc-test:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter:4.0.9=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-test-autoconfigure:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-test:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-tomcat:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-web-server:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc-test:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webtestclient:4.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot:4.0.9=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
@@ -98,8 +98,9 @@ class GraphQlRequestDeadlineTest {
assertThat(finished)
.as("the running resolver is not interrupted; it finishes on its own thread")
.isTrue();
// Room for graphql-java to have dispatched the child, had the cancellation not stopped it.
Thread.sleep(500);
assertThat(SlowWork.slowExecutionEnded.await(5, TimeUnit.SECONDS))
.as("the execution ends after its last field, so a child that was going to start has")
.isTrue();
assertThat(SlowWork.DETAIL_INVOCATIONS)
.as("a cancelled execution must not start new fields once the client has been answered")
.hasValue(0);
@@ -114,5 +115,10 @@ class GraphQlRequestDeadlineTest {
GraphQlClientPolicy shortBudgetClientPolicy() {
return RuntimeLimitsTestSupport.policyWithExecutionBudget(BUDGET);
}
@Bean
graphql.execution.instrumentation.Instrumentation slowExecutionEndSignal() {
return SlowWork.executionEndSignal();
}
}
}
@@ -2,6 +2,13 @@ package dev.caskeleton.adapter.inbound.graphql.runtime;
import dev.caskeleton.adapter.inbound.graphql.HealthGraphqlController;
import dev.caskeleton.adapter.inbound.graphql.policy.GraphQlClientPolicy;
import graphql.ExecutionResult;
import graphql.execution.instrumentation.Instrumentation;
import graphql.execution.instrumentation.InstrumentationContext;
import graphql.execution.instrumentation.InstrumentationState;
import graphql.execution.instrumentation.SimpleInstrumentationContext;
import graphql.execution.instrumentation.SimplePerformantInstrumentation;
import graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters;
import java.net.URI;
import java.time.Duration;
import java.util.concurrent.CountDownLatch;
@@ -85,12 +92,43 @@ final class RuntimeLimitsTestSupport {
static final AtomicInteger DETAIL_INVOCATIONS = new AtomicInteger();
static volatile CountDownLatch slowFinished = new CountDownLatch(1);
/**
* Counted down when a {@code slowNode} execution begun after the last {@link #reset()} has
* ended. The point after which a child field can no longer start, so an absence asserted after
* it is an absence and not a guess at how long the engine needs.
*/
static volatile CountDownLatch slowExecutionEnded = new CountDownLatch(1);
private static final AtomicInteger GENERATION = new AtomicInteger();
private SlowWork() {}
static void reset() {
SLOW_STARTED.set(0);
DETAIL_INVOCATIONS.set(0);
slowFinished = new CountDownLatch(1);
slowExecutionEnded = new CountDownLatch(1);
GENERATION.incrementAndGet();
}
/** Signals the end of each {@code slowNode} execution begun in the current generation. */
static Instrumentation executionEndSignal() {
return new SimplePerformantInstrumentation() {
@Override
public InstrumentationContext<ExecutionResult> beginExecution(
InstrumentationExecutionParameters parameters, InstrumentationState state) {
int generation = GENERATION.get();
CountDownLatch ended = slowExecutionEnded;
boolean slow =
parameters.getQuery() != null && parameters.getQuery().contains("slowNode");
return SimpleInstrumentationContext.whenCompleted(
(result, failure) -> {
if (slow && generation == GENERATION.get()) {
ended.countDown();
}
});
}
};
}
}
@@ -8,6 +8,8 @@ import java.nio.file.Path;
import java.util.Arrays;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
/**
@@ -16,7 +18,12 @@ import org.junit.jupiter.api.Test;
* <p>A mode the registry documents but the enum cannot bind fails at startup with a type-conversion
* error; a mode the enum has but the registry omits is one no operator is told about. Which runtime
* accepts each mode is held by {@code GraphQlDeploymentModeContractTest}.
*
* <p>Tagged {@code document-contract}: it reads a repository document, so it runs in the leaf's
* main-stage lane {@code graphqlDocumentContractTest}, never in the cached {@code test}. Only that
* lane receives the repository root ({@code ca.repository.root}); the test does not look for it.
*/
@Tag("document-contract")
class GraphQlDeploymentModeRegistryParityTest {
private static final Pattern ALLOWED_VALUES =
@@ -24,11 +31,16 @@ class GraphQlDeploymentModeRegistryParityTest {
"name: APP_GRAPHQL_DEPLOYMENT_MODE.*?allowed_values: \\[([^\\]]*)\\]", Pattern.DOTALL);
@Test
@DisplayName("registry의 APP_GRAPHQL_DEPLOYMENT_MODE 허용 값은 enum이 받는 값과 정확히 같다")
void theRegistryListsExactlyTheModesTheEnumHas() throws IOException {
// given
String registry = Files.readString(repositoryRoot().resolve("docs/registries/env-keys.yaml"));
Matcher matcher = ALLOWED_VALUES.matcher(registry);
assertThat(matcher.find()).isTrue();
// when
Matcher matcher = ALLOWED_VALUES.matcher(registry);
// then
assertThat(matcher.find()).as("the registry row and its allowed_values").isTrue();
assertThat(Arrays.stream(matcher.group(1).split(",")).map(String::trim))
.as("the registry is what an operator sets APP_GRAPHQL_DEPLOYMENT_MODE from")
.containsExactlyInAnyOrderElementsOf(
@@ -36,13 +48,12 @@ class GraphQlDeploymentModeRegistryParityTest {
}
private static Path repositoryRoot() {
Path candidate = Path.of("").toAbsolutePath();
while (candidate != null && !Files.isRegularFile(candidate.resolve("gradle/modules.json"))) {
candidate = candidate.getParent();
String root = System.getProperty("ca.repository.root");
if (root == null || root.isBlank()) {
throw new IllegalStateException(
"ca.repository.root is missing: only the graphqlDocumentContractTest lane reads the"
+ " repository");
}
if (candidate == null) {
throw new IllegalStateException("could not locate the repository root from the test cwd");
}
return candidate;
return Path.of(root);
}
}
@@ -41,9 +41,13 @@ class GraphQlMutationResultMapperTest {
}
@Test
void oneRootFieldCallsOneUseCase() {
void oneRootFieldThatCallsOneUseCaseIsAccepted() {
assertThatCode(() -> GraphQlMutationContractValidator.requireSingleUseCase(CREATE_ORDER, 1))
.doesNotThrowAnyException();
}
@Test
void oneRootFieldThatCallsTwoUseCasesIsRefused() {
assertThatThrownBy(() -> GraphQlMutationContractValidator.requireSingleUseCase(CREATE_ORDER, 2))
.isInstanceOf(GraphQlMutationContractException.class)
.hasMessageContaining("one use case");
@@ -58,6 +62,13 @@ class GraphQlMutationResultMapperTest {
() -> GraphQlMutationContractValidator.rejectRequestWideTransaction(roots, true))
.isInstanceOf(GraphQlMutationContractException.class)
.hasMessageContaining("not a shared transaction");
}
@Test
void severalRootMutationsWithoutARequestWideTransactionAreAccepted() {
List<GraphQlMutationCoordinate> roots =
List.of(CREATE_ORDER, new GraphQlMutationCoordinate("Mutation.createInvoice"));
assertThatCode(
() -> GraphQlMutationContractValidator.rejectRequestWideTransaction(roots, false))
.doesNotThrowAnyException();
@@ -232,6 +232,10 @@ class HmacGraphQlCursorCodecTest {
void framingRejectsADeclaredLengthLongerThanTheBody() {
assertThatThrownBy(() -> GraphQlCursorFraming.readAll("99:short"))
.isInstanceOf(GraphQlCursorException.class);
}
@Test
void framingAcceptsADeclaredLengthThatMatchesTheBody() {
assertThatCode(() -> GraphQlCursorFraming.readAll("5:hello")).doesNotThrowAnyException();
}
@@ -2,6 +2,7 @@ package dev.caskeleton.adapter.inbound.graphql.scalar;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.assertj.core.api.Assertions.catchThrowable;
import dev.caskeleton.adapter.inbound.graphql.schema.GraphQlScalarDefinition;
import dev.caskeleton.adapter.inbound.graphql.schema.GraphQlScalarManifest;
@@ -13,7 +14,13 @@ import java.time.Instant;
import java.time.LocalDate;
import java.util.Map;
import java.util.UUID;
import java.util.function.Function;
import java.util.stream.Stream;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
/** Stable custom scalar serialization and coercion contract (Stable plan Task 13). */
class GraphQlScalarContractTest {
@@ -79,14 +86,30 @@ class GraphQlScalarContractTest {
assertThat(LongScalar.serialize(42L)).isEqualTo("42");
}
@Test
void coercionErrorsDoNotEchoTheOffendingValue() {
static Stream<Arguments> parsers() {
return Stream.of(
Arguments.of("UUID", (Function<String, Object>) UuidScalar::parse),
Arguments.of("Date", (Function<String, Object>) DateScalar::parse),
Arguments.of("BigDecimal", (Function<String, Object>) BigDecimalScalar::parse),
Arguments.of("Long", (Function<String, Object>) LongScalar::parse));
}
@ParameterizedTest(name = "{0}")
@MethodSource("parsers")
@DisplayName("scalar 변환 오류는 거절한 값을 메시지에 싣지 않는다")
void coercionErrorsDoNotEchoTheOffendingValue(String scalar, Function<String, Object> parse) {
// given
String secret = "4111-1111-1111-1111";
assertThatThrownBy(() -> UuidScalar.parse(secret)).hasMessageNotContaining(secret);
assertThatThrownBy(() -> DateScalar.parse(secret)).hasMessageNotContaining(secret);
assertThatThrownBy(() -> BigDecimalScalar.parse(secret)).hasMessageNotContaining(secret);
assertThatThrownBy(() -> LongScalar.parse(secret)).hasMessageNotContaining(secret);
// when
Throwable refused = catchThrowable(() -> parse.apply(secret));
// then
// The type first: a message that merely lacks the value also passes for an NPE thrown before
// the scalar ever looked at it, which is not the refusal this test is about.
assertThat(refused)
.isInstanceOf(CoercingParseValueException.class)
.hasMessageNotContaining(secret);
}
@Test
@@ -81,6 +81,7 @@ class GraphQlScalarSymmetryTest {
String secret = "9".repeat(500);
assertThatThrownBy(() -> BigDecimalScalar.parse(secret))
.isInstanceOf(graphql.schema.CoercingParseValueException.class)
.hasMessageNotContaining(secret)
.hasMessageNotContaining("999");
}
-22
View File
@@ -4,7 +4,6 @@
biz.aQute.bnd:biz.aQute.bnd.annotation:7.1.0=compileClasspath,testCompileClasspath
ch.qos.logback:logback-classic:1.5.38=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
ch.qos.logback:logback-core:1.5.38=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.21=testCompileClasspath,testRuntimeClasspath
com.fasterxml:classmate:1.7.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.github.ben-manes.caffeine:caffeine:3.2.4=annotationProcessor,testAnnotationProcessor
com.github.kevinstern:software-and-algorithms:1.0=annotationProcessor,testAnnotationProcessor
@@ -78,9 +77,7 @@ org.apache.maven.doxia:doxia-core:1.12.0=checkstyle
org.apache.maven.doxia:doxia-logging-api:1.12.0=checkstyle
org.apache.maven.doxia:doxia-module-xdoc:1.12.0=checkstyle
org.apache.maven.doxia:doxia-sink-api:1.12.0=checkstyle
org.apache.tomcat.embed:tomcat-embed-core:11.0.27=testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-el:11.0.27=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-websocket:11.0.27=testCompileClasspath,testRuntimeClasspath
org.apache.xbean:xbean-reflect:3.7=checkstyle
org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
org.assertj:assertj-core:3.27.7=testCompileClasspath,testRuntimeClasspath
@@ -128,27 +125,13 @@ org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j
org.slf4j:slf4j-simple:2.0.20=checkstyle
org.springframework.boot:spring-boot-autoconfigure:4.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-configuration-processor:4.0.9=annotationProcessor
org.springframework.boot:spring-boot-http-converter:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-jackson:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-resttestclient:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-servlet:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson-test:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-logging:4.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-test:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat-runtime:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-validation:4.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc-test:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter:4.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-test-autoconfigure:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-test:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-tomcat:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-validation:4.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-web-server:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc-test:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc:4.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot:4.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-aop:7.0.10=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-beans:7.0.10=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
@@ -156,12 +139,7 @@ org.springframework:spring-context:7.0.10=compileClasspath,runtimeClasspath,test
org.springframework:spring-core:7.0.10=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-expression:7.0.10=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-test:7.0.10=testCompileClasspath,testRuntimeClasspath
org.springframework:spring-web:7.0.10=testCompileClasspath,testRuntimeClasspath
org.springframework:spring-webmvc:7.0.10=testCompileClasspath,testRuntimeClasspath
org.xmlresolver:xmlresolver:5.3.3=checkstyle,spotbugs
org.xmlunit:xmlunit-core:2.10.4=testCompileClasspath,testRuntimeClasspath
org.yaml:snakeyaml:2.5=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
tools.jackson.core:jackson-core:3.1.7=testCompileClasspath,testRuntimeClasspath
tools.jackson.core:jackson-databind:3.1.7=testCompileClasspath,testRuntimeClasspath
tools.jackson:jackson-bom:3.1.7=testCompileClasspath,testRuntimeClasspath
empty=
+5 -22
View File
@@ -121,9 +121,6 @@ org.apache.maven.doxia:doxia-core:1.12.0=checkstyle
org.apache.maven.doxia:doxia-logging-api:1.12.0=checkstyle
org.apache.maven.doxia:doxia-module-xdoc:1.12.0=checkstyle
org.apache.maven.doxia:doxia-sink-api:1.12.0=checkstyle
org.apache.tomcat.embed:tomcat-embed-core:11.0.27=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-el:11.0.27=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-websocket:11.0.27=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.xbean:xbean-reflect:3.7=checkstyle
org.apiguardian:apiguardian-api:1.1.2=integrationTestCompileClasspath,testCompileClasspath
org.aspectj:aspectjweaver:1.9.25.1=integrationTestRuntimeClasspath
@@ -192,8 +189,7 @@ org.springframework.boot:spring-boot-data-jpa:4.0.9=integrationTestRuntimeClassp
org.springframework.boot:spring-boot-flyway:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-health:4.0.9=integrationTestRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-hibernate:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-http-converter:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-jackson:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-jackson:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-jdbc:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-jpa:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-micrometer-metrics:4.0.9=integrationTestRuntimeClasspath,testRuntimeClasspath
@@ -202,33 +198,21 @@ org.springframework.boot:spring-boot-micrometer-tracing-opentelemetry:4.0.9=inte
org.springframework.boot:spring-boot-micrometer-tracing:4.0.9=integrationTestRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-opentelemetry:4.0.9=integrationTestRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-persistence:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-resttestclient:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-security:4.0.9=integrationTestRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-servlet:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-sql:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-actuator:4.0.9=integrationTestRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-data-jpa:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-flyway:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson-test:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jdbc:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-json:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-logging:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-micrometer-metrics:4.0.9=integrationTestRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-security:4.0.9=integrationTestRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-test:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat-runtime:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc-test:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-test-autoconfigure:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-test:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-tomcat:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-transaction:4.0.9=integrationTestRuntimeClasspath
org.springframework.boot:spring-boot-web-server:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc-test:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc:4.0.9=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot:4.0.9=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.data:spring-data-commons:4.0.8=integrationTestRuntimeClasspath
org.springframework.data:spring-data-jpa:4.0.8=integrationTestRuntimeClasspath
@@ -249,8 +233,7 @@ org.springframework:spring-messaging:7.0.10=integrationTestRuntimeClasspath
org.springframework:spring-orm:7.0.10=integrationTestRuntimeClasspath
org.springframework:spring-test:7.0.10=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-tx:7.0.10=compileClasspath,integrationTestCompileClasspath,integrationTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-web:7.0.10=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-webmvc:7.0.10=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-web:7.0.10=integrationTestRuntimeClasspath,testRuntimeClasspath
org.testcontainers:testcontainers-database-commons:2.0.5=integrationTestCompileClasspath,integrationTestRuntimeClasspath
org.testcontainers:testcontainers-jdbc:2.0.5=integrationTestCompileClasspath,integrationTestRuntimeClasspath
org.testcontainers:testcontainers-kafka:2.0.5=integrationTestCompileClasspath,integrationTestRuntimeClasspath
@@ -260,7 +243,7 @@ org.xerial.snappy:snappy-java:1.1.10.9=integrationTestRuntimeClasspath
org.xmlresolver:xmlresolver:5.3.3=checkstyle,spotbugs
org.xmlunit:xmlunit-core:2.10.4=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.yaml:snakeyaml:2.5=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
tools.jackson.core:jackson-core:3.1.7=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
tools.jackson.core:jackson-databind:3.1.7=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
tools.jackson:jackson-bom:3.1.7=integrationTestCompileClasspath,integrationTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
tools.jackson.core:jackson-core:3.1.7=integrationTestRuntimeClasspath
tools.jackson.core:jackson-databind:3.1.7=integrationTestRuntimeClasspath
tools.jackson:jackson-bom:3.1.7=integrationTestRuntimeClasspath
empty=
@@ -15,6 +15,9 @@ plugins {
// Package root `dev.caskeleton.adapter.inbound.web.advanced` — its own package, the same way
// `web-fileserver` owns `web.fileserver`, so no package is split across two jars.
dependencies {
// MockMvc and the web MVC test auto-configuration: this leaf's tests use them, so it declares
// them itself (the spring-library convention adds only spring-boot-starter-test).
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
implementation project(':adapter:inbound:web')
implementation project(':application-core')
implementation project(':shared-contract')
@@ -1,13 +1,15 @@
package dev.caskeleton.adapter.inbound.web.advanced.security;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatCode;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.assertj.core.api.Assertions.catchThrowable;
import java.util.Map;
import java.util.Set;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;
/**
* A tenant a caller chose is a cross-tenant read waiting to happen.
@@ -40,22 +42,51 @@ class WebSecurityContextBridgeTest {
assertThatThrownBy(
() ->
bridge.resolve(AuthenticationView.anonymous(), Map.of("tenant", "tenant-attacker")))
.isInstanceOf(UntrustedTenantInputException.class)
.hasMessageNotContaining("tenant-attacker");
}
@Test
@DisplayName("every spelling of a tenant input is refused")
void everySpellingOfATenantInputIsRefused() {
@ParameterizedTest(name = "{0}")
@ValueSource(strings = {"X-Tenant-Id", "tenant-id", "TenantId", "TENANT"})
@DisplayName("tenant 입력은 어떤 철자로 와도 거절된다")
void everySpellingOfATenantInputIsRefused(String name) {
// given
WebTenantContextResolver resolver = new WebTenantContextResolver();
for (String name : new String[] {"X-Tenant-Id", "tenant-id", "TenantId", "TENANT"}) {
assertThatThrownBy(() -> resolver.rejectTenantInput(Map.of(name, "t")))
.as("a case or hyphen variant is the same header to a proxy")
.isInstanceOf(UntrustedTenantInputException.class);
}
assertThatCode(() -> resolver.rejectTenantInput(Map.of("Accept", "application/json")))
.doesNotThrowAnyException();
assertThatCode(() -> resolver.rejectTenantInput(null)).doesNotThrowAnyException();
// when
Throwable refused = catchThrowable(() -> resolver.rejectTenantInput(Map.of(name, "t")));
// then
assertThat(refused)
.as("a case or hyphen variant is the same header to a proxy")
.isInstanceOf(UntrustedTenantInputException.class);
}
@Test
@DisplayName("tenant가 아닌 입력은 거절되지 않는다")
void anInputThatNamesNoTenantIsNotRefused() {
// given
WebTenantContextResolver resolver = new WebTenantContextResolver();
// when
Throwable refused =
catchThrowable(() -> resolver.rejectTenantInput(Map.of("Accept", "application/json")));
// then
assertThat(refused).isNull();
}
@Test
@DisplayName("입력이 없으면 거절되지 않는다")
void noInputIsNotRefused() {
// given
WebTenantContextResolver resolver = new WebTenantContextResolver();
// when
Throwable refused = catchThrowable(() -> resolver.rejectTenantInput(null));
// then
assertThat(refused).isNull();
}
@Test
@@ -15,6 +15,9 @@ plugins {
// It depends on `adapter:inbound:web` rather than the reverse: the fileserver modules import `core`,
// `auth` and `observability`, nine times in total, and nothing outside them imports fileserver.
dependencies {
// MockMvc and the web MVC test auto-configuration: this leaf's tests use them, so it declares
// them itself (the spring-library convention adds only spring-boot-starter-test).
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
implementation project(':adapter:inbound:web')
implementation project(':application-core')
implementation project(':application-fileserver')
@@ -7,12 +7,12 @@ import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.util.ArrayList;
import java.util.List;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.web.bind.annotation.RequestBody;
/**
* W4 red team BE-INPUT-002 — every {@code @RequestBody} on the admin controller must also carry
* {@code @Valid}.
* Every {@code @RequestBody} on the admin controller must also carry {@code @Valid}.
*
* <p>{@code reconcileOrphans} shipped a {@code @RequestBody} without {@code @Valid}, unlike every
* sibling handler (relocate/force-delete/…). Harmless today because {@code
@@ -24,20 +24,37 @@ import org.springframework.web.bind.annotation.RequestBody;
class FileserverAdminControllerRequestBodyValidationTest {
@Test
@DisplayName("admin controller의 @RequestBody 매개변수는 모두 @Valid를 함께 단다")
void everyRequestBodyParameterAlsoCarriesValid() {
// given
List<String> bodies = new ArrayList<>();
List<String> offenders = new ArrayList<>();
// when
for (Method method : FileserverAdminController.class.getDeclaredMethods()) {
for (Parameter parameter : method.getParameters()) {
if (parameter.isAnnotationPresent(RequestBody.class)
&& !parameter.isAnnotationPresent(Valid.class)) {
offenders.add(method.getName() + "(" + parameter.getType().getSimpleName() + ")");
if (!parameter.isAnnotationPresent(RequestBody.class)) {
continue;
}
String handler = method.getName() + "(" + parameter.getType().getSimpleName() + ")";
bodies.add(handler);
if (!parameter.isAnnotationPresent(Valid.class)) {
offenders.add(handler);
}
}
}
// then
assertThat(bodies)
.as(
"the handlers this test is about; an empty list would pass the check below for a"
+ " controller that lost its bodies or a scan that found nothing")
.containsExactlyInAnyOrder(
"reconcileOrphans(OrphanReconcileHttpRequest)", "forceDelete(ForceDeleteHttpRequest)");
assertThat(offenders)
.as(
"admin @RequestBody handlers without @Valid would silently drop any Bean Validation "
+ "constraint added to their DTO later (BE-INPUT-002)")
+ "constraint added to their DTO later")
.isEmpty();
}
}
@@ -14,6 +14,9 @@ plugins {
// Selected through `:composition:notification-platform`, never on its own: the callback endpoint
// needs the `ProviderCallbackIngress` bridge that composition provides.
dependencies {
// MockMvc and the web MVC test auto-configuration: this leaf's tests use them, so it declares
// them itself (the spring-library convention adds only spring-boot-starter-test).
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
implementation project(':adapter:inbound:web')
implementation project(':application-core')
implementation project(':application-notification')
+3
View File
@@ -11,6 +11,9 @@ plugins {
// HTTP / web adapters. Depends on application and shared operational contracts.
dependencies {
// MockMvc and the web MVC test auto-configuration: this leaf's tests use them, so it declares
// them itself (the spring-library convention adds only spring-boot-starter-test).
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
implementation project(':application-core')
// A controller turns a path segment into the domain identifier the query carries
// (registry edge `adapter:inbound:web -> domain-core`); docs/manual/02-new-feature.md step 4.
@@ -165,9 +165,7 @@ org.springframework.boot:spring-boot-configuration-processor:4.0.9=annotationPro
org.springframework.boot:spring-boot-http-converter:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-jackson:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-jetty:4.0.9=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
org.springframework.boot:spring-boot-resttestclient:4.0.9=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-servlet:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson-test:4.0.9=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jetty-runtime:4.0.9=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-jetty:4.0.9=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
@@ -176,7 +174,6 @@ org.springframework.boot:spring-boot-starter-test:4.0.9=jettyWebSocketTestCompil
org.springframework.boot:spring-boot-starter-tomcat-runtime:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-validation:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc-test:4.0.9=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-websocket:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
@@ -185,7 +182,6 @@ org.springframework.boot:spring-boot-test:4.0.9=jettyWebSocketTestCompileClasspa
org.springframework.boot:spring-boot-tomcat:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-validation:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-web-server:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc-test:4.0.9=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-websocket:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot:4.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath