chore: remove sample portfolio module

This commit is contained in:
DongHyeonka
2026-08-13 21:47:15 +09:00
parent e552e317d6
commit 697fc740e6
321 changed files with 190 additions and 18961 deletions
-38
View File
@@ -4,25 +4,6 @@ apply plugin: 'org.springframework.boot'
apply from: "${rootProject.projectDir}/gradle/strict-qualification-test.gradle"
// The sample fixture (sampleFixture -> sample-portfolio -> objectstorage) pulls software.amazon.awssdk:s3
// onto the sample-on test classpath; its version is managed by the AWS SDK v2 BOM (NOT the Spring Boot
// BOM). Import that BOM at this module's scope so the transitive s3 dependency resolves for the ArchUnit
// sample-on analysis. AWS-SDK version SSOT = ext.awsSdkVersion.
dependencyManagement {
imports {
mavenBom "software.amazon.awssdk:bom:${awsSdkVersion}"
}
}
// feature-sample-removal-adoption-contract D7 — ordinary tests may inspect the sample fixture,
// while sampleOffTest compiles the same core suite without the sample project on either classpath.
configurations {
sampleFixture {
canBeConsumed = false
canBeResolved = false
}
}
sourceSets {
sampleOffTest {
java.srcDirs = sourceSets.test.java.srcDirs
@@ -44,8 +25,6 @@ sourceSets {
}
configurations {
testCompileClasspath.extendsFrom sampleFixture
testRuntimeClasspath.extendsFrom sampleFixture
sampleOffTestImplementation.extendsFrom testImplementation
sampleOffTestCompileOnly.extendsFrom testCompileOnly
sampleOffTestRuntimeOnly.extendsFrom testRuntimeOnly
@@ -115,8 +94,6 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-json'
// test-only: parses checked-in Messaging capability registries for the fail-closed drift gate.
testImplementation 'org.yaml:snakeyaml'
// sample-on only: ArchUnit analyses the reference impl. sampleOffTest intentionally omits it.
sampleFixture project(':sample-portfolio')
// test-only: ArchUnit violation fixtures intentionally import forbidden types. See README.
testCompileOnly 'org.springframework:spring-tx'
// test-only: streaming/websocket violation fixtures import these forbidden packages. See README.
@@ -213,21 +190,6 @@ tasks.named('check') {
dependsOn tasks.named('functionalTest')
}
// feature-developer-experience-contract D2/D7 delegation: the DX entrypoint verifies production
// isolation and the sample-on build contract. sample-off is the separate sampleOffTest task.
tasks.register('bootstrapSampleContract', Test) {
group = 'developer experience'
description = 'Runs the delegated sample production-isolation/build contract for bootstrap.'
testClassesDirs = sourceSets.test.output.classesDirs
classpath = sourceSets.test.runtimeClasspath
useJUnitPlatform()
filter {
includeTestsMatching 'dev.caskeleton.bootstrap.contract.SampleRemovalSmokeContractTest'
}
outputs.upToDateWhen { false }
jvmArgs '-Duser.timezone=UTC'
}
bootJar {
mainClass = 'dev.caskeleton.bootstrap.CaSkeletonApplication'
}