Class SchemaRetrievalHandler
java.lang.Object
ai.pipestream.registration.handlers.SchemaRetrievalHandler
Retrieves module configuration schemas from the platform registry (DB, then Apicurio).
Blocking — invoked from virtual threads by the gRPC/REST layers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionai.pipestream.platform.registration.v1.GetModuleSchemaResponsegetModuleSchema(ai.pipestream.platform.registration.v1.GetModuleSchemaRequest request) ai.pipestream.platform.registration.v1.GetModuleSchemaVersionsResponsegetModuleSchemaVersions(ai.pipestream.platform.registration.v1.GetModuleSchemaVersionsRequest request) ai.pipestream.platform.registration.v1.GetSchemaArtifactResponsegetSchemaArtifact(ai.pipestream.platform.registration.v1.GetSchemaArtifactRequest request) One door for every named schema artifact.
-
Constructor Details
-
SchemaRetrievalHandler
public SchemaRetrievalHandler()
-
-
Method Details
-
getModuleSchema
public ai.pipestream.platform.registration.v1.GetModuleSchemaResponse getModuleSchema(ai.pipestream.platform.registration.v1.GetModuleSchemaRequest request) -
getSchemaArtifact
public ai.pipestream.platform.registration.v1.GetSchemaArtifactResponse getSchemaArtifact(ai.pipestream.platform.registration.v1.GetSchemaArtifactRequest request) One door for every named schema artifact. Lookup order:- DB ConfigSchema rows keyed by the artifact name (module config
schemas AND extra artifacts like
chunker-recipeland here at registration); - Apicurio platform schema group (artifacts synced from here, or published by other services under the exact name);
- Apicurio descriptor group ("default") — protobuf DESCRIPTOR
artifacts the proto pipeline publishes (e.g. "account-events"),
served as
application/x-protobuf.
- DB ConfigSchema rows keyed by the artifact name (module config
schemas AND extra artifacts like
-
getModuleSchemaVersions
public ai.pipestream.platform.registration.v1.GetModuleSchemaVersionsResponse getModuleSchemaVersions(ai.pipestream.platform.registration.v1.GetModuleSchemaVersionsRequest request)
-