TramAI - governed AI workflows for Java and Kotlin

tramai-spring-consumer-selective

Version: n/a — internal build fixture, not a published artifact
Status: Internal (testing support)
Role: Selective-consumer compile evidence for the published Spring artifacts.

Purpose

Where tramai-spring-consumer-boundary proves what a consumer does not get, this fixture proves that a consumer that selects a specific subset still compiles. It declares the Spring facade plus one provider adapter — the "I only want the OpenAI adapter" case — and serves as API-compatibility evidence for that shape.

Like its boundary counterpart it has no production source and is never published.

What it provides

AspectDetail
Production sourceNone — fixture only, empty API dump
Layer / publishabilitytesting-support, internal — excluded from publication
EvidenceConsumerSelectiveDependencyTest

Dependencies

No published coordinate: this fixture is internal compile evidence. Its TramAI dependencies are exactly the subset a selective consumer would declare:

// tramai-spring-consumer-selective/build.gradle.kts
dependencies {
    implementation(project(":tramai-spring"))
    implementation(project(":tramai-spring-provider-openai"))
}

Combined with the boundary fixture, the pair pins the intended consumer contract: selecting an adapter adds exactly that adapter, and nothing else rides along.

When this module matters to you

  • You are preparing a release and need the consumer-shape checks to pass.
  • You are changing API in a Spring artifact and want to know whether the selective consumer still compiles.

When it does not