feat: redis, fileserver, httpclient 런타임 시점 구현 추가
This commit is contained in:
@@ -1,27 +1,13 @@
|
||||
// Driven adapter: NoSQL persistence scaffolding via Spring Data MongoDB. This is a LIGHTWEIGHT,
|
||||
// opt-in skeleton — it wires the Mongo driver + a demonstrative document/repository/adapter that
|
||||
// shows the document<->domain mapping boundary a fork would follow. It does NOT reimplement
|
||||
// idempotency/outbox/lock on Mongo (those stay JPA-only). Mongo auto-configuration is imported and
|
||||
// the repositories enabled ONLY when ca-skeleton.persistence-mongo.enabled=true
|
||||
// (MongoPersistenceConfig), so the driver never connects when the module is merely on the classpath.
|
||||
// Driven adapter: opt-in Spring Data MongoDB infrastructure. This leaf owns only enablement and
|
||||
// Mongo client/template auto-configuration; consuming projects add real documents, repositories,
|
||||
// mappings, and ports without shipping a fake business domain in the template.
|
||||
//
|
||||
// spring-boot-starter-data-mongodb's version is managed by the Spring Boot BOM (applied to every
|
||||
// module in src/build.gradle), so no module-scoped platform is needed. The Testcontainers MongoDB
|
||||
// integration test uses the BOM-managed Testcontainers, and is skipped when Docker is unavailable.
|
||||
description = 'Outbound adapter: NoSQL persistence scaffolding (Spring Data MongoDB)'
|
||||
// module in src/build.gradle), so no module-scoped platform is needed.
|
||||
description = 'Outbound adapter: opt-in Spring Data MongoDB infrastructure'
|
||||
|
||||
dependencies {
|
||||
implementation project(':application-core')
|
||||
implementation project(':shared-contract')
|
||||
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
|
||||
|
||||
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
||||
|
||||
// test-only: Testcontainers MongoDB integration test for the repository round-trip. Uses the core
|
||||
// GenericContainer (no dedicated module) so the repository save/find runs against a real MongoDB
|
||||
// when Docker is available and is skipped (disabledWithoutDocker) otherwise — mirroring the
|
||||
// object-storage module's MinIO integration test.
|
||||
testImplementation 'org.testcontainers:testcontainers'
|
||||
testImplementation 'org.testcontainers:testcontainers-junit-jupiter'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user