Class UnaryPipeDocUploadService

java.lang.Object
ai.pipestream.connector.intake.pipedoc.UnaryPipeDocUploadService

@ApplicationScoped public class UnaryPipeDocUploadService extends Object
Handles the unary UploadPipeDoc RPC.

Owns request-level validation, deterministic document-id derivation, Tier 1 config resolution, and ownership stamping, then delegates admission to PipeDocAcceptanceService. Failures are normalized to a client-safe IntakeException: the response carries the curated message (never a raw exception/upstream string), and every accept/reject is recorded + emitted via IntakeOutcomeRecorder exactly as the HTTP surface does.

  • Constructor Details

    • UnaryPipeDocUploadService

      public UnaryPipeDocUploadService()
  • Method Details

    • uploadPipeDoc

      public void uploadPipeDoc(ai.pipestream.connector.intake.v1.UploadPipeDocRequest request, io.grpc.stub.StreamObserver<ai.pipestream.connector.intake.v1.UploadPipeDocResponse> responseObserver)