Skip to content

CCM-8585 upload pdf API#340

Merged
alexnuttall merged 73 commits intomainfrom
feature/CCM-8585-upload-pdf-backend-squash
Mar 19, 2025
Merged

CCM-8585 upload pdf API#340
alexnuttall merged 73 commits intomainfrom
feature/CCM-8585-upload-pdf-backend-squash

Conversation

@alexnuttall
Copy link
Contributor

@alexnuttall alexnuttall commented Mar 10, 2025

Description

Adding a POST -> /letter-template endpoint to create letter templates.

The template is first updated to PENDING_UPLOAD, then one or both files are sent to s3, then the template is updated to PENDING_VALIDATION.

Further downstream, we will have to wait and retry if the status hasn't reached PENDING_VALIDATION yet.

Update endpoint has not been added, ticketed separately: https://nhsd-jira.digital.nhs.uk/browse/CCM-8993

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@alexnuttall alexnuttall requested review from a team as code owners March 10, 2025 13:40
@ClareJonesBJSS ClareJonesBJSS force-pushed the feature/CCM-8579_generated-type-inheritance branch 4 times, most recently from af20d58 to 938e9e9 Compare March 10, 2025 17:10
@ClareJonesBJSS ClareJonesBJSS force-pushed the feature/CCM-8579_generated-type-inheritance branch 2 times, most recently from 7dff2a9 to a727bdf Compare March 10, 2025 18:00
@ClareJonesBJSS ClareJonesBJSS force-pushed the feature/CCM-8579_generated-type-inheritance branch from a727bdf to 9d4a431 Compare March 10, 2025 18:45
ClareJonesBJSS
ClareJonesBJSS previously approved these changes Mar 17, 2025
mark-r-bjss
mark-r-bjss previously approved these changes Mar 17, 2025
gparry333
gparry333 previously approved these changes Mar 17, 2025
Base automatically changed from feature/CCM-9037_internal-bucket to main March 18, 2025 10:46
@harrim91 harrim91 dismissed gparry333’s stale review March 18, 2025 10:46

The base branch was changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants