Skip to content

Add 'v1/receive/submission' web hook endpoint

Dan Browne requested to merge feature/LIT-335538-receive-submission-webhook into master

Partially addresses LIT-335538 and resolves #159 (closed)

  • Provides an initial implementation v1/receive/submission endpoint that the EEO Deposit Service API can send a POST request to.
    • Assuming one document attachment with a designation of Main Document and a format of docx is present, a 200 OK is returned to the Client. (Once #160 is implemented Pressroom will also further process this DOCX file and then forward the transformed document to the relevant web service).
  • Adds unit tests covering the new EEOReceivedSubmission model object to ensure correct JSON decoding from expected payload schema.
Edited by Dan Browne

Merge request reports