-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [PRMDR-270] Start working with pdf stitching * [PRMDR-270] Committing a working example * [PRMDR-270] WIP committing what's been done so far. * [PRMDR-270] WIP adding tests * [PRMDR-270] WIP adding tests * [PRMDR-270] WIP adding tests * [PRMDR-270] WIP Adding tests to sort LG file names in order Co-authored-by: AlexHerbertNHS <alexandra.herbert1@nhs.net> * [PRMDR-270] WIP more tests * [PRMDR-270] WIP refactoring tests * [PRMDR-270] WIP refactoring tests * [PRMDR-270] WIP Adding functionality to check the number of records is as expected, and warn if not * [PRMDR-270] Removing unnecessary comment * [PRMDR-270] WIP committing what I've done to switch pairing * [PRMDR-270] WIP Adding test for happy path Co-authored-by: AlexHerbertNHS <alexandra.herbert1@nhs.net> * [PRMDR-270] Add basic test for happy path, config neccessary mocks * [PRMDR-270] Extract pdf stitching to a service, change to stitch pdf file in local file rather than in memory * [PRMDR-270] Add pypdf to requirements.txt * [PRMDR-270] Fix ruff warnings * [PRMDR-270] Fix path issue * [PRMDR-270] comment out local POC test files * [PRMDR-270] add missing region name to dynamodb service * [PRMDR-270] Fix improperly mocked dynamodb * [PRMDR-270] Remove accidentally added stitched pdf file * [PRMDR-270] Checked lambda working as expected on sandbox. Tidy up exception handling * [PRMDR-270] Checked lambda working as expected on sandbox. Tidy up exception handling * [PRMDR-270] Improve unit test for lambda, add test for pdf stitch service * [PRMDR-270] Run formatter * [PRMDR-268] create new page for LG view with patient details and update patient results page to navigate to it * [PRMDR-268] add Card component to LG page * [PRMDR-268] add search function to LG page and LG record request to helpers * [PRMDR-268] update patient results page test with new route * [PRMDR-268] add pdf viewer component which uses the pdfobject package to display an embedded test pdf * [PRMDR-268] WIP -add pdf viewer component which uses the pdfobject package to display an embedded test pdf, need to update tests * [PRMDR-270] Minor amend to unit test, remove commented out code * [PRMDR-270] Add github action for deploy lambda to sandbox * [PRMDR-268] amend test * [PRMDR-270] Adding new lambda into every workflow * [PRMDR-270] Amend some error handling Co-authored-by: AlexHerbertNHS <alexandra.herbert1@nhs.net> * [PRMDR-268] add radio buttons to patient result page and amend/add tests * [PRMDR-268] add style changes to LG record page and tidy up pdf viewer * [PRMDR-268] add style changes to patient result page and fix tests * [PRMDR-270] Amend LG stitch lambda to accomodate S3 file structure change in createDocRef lambda, use tempfile.mkdtemp() when downloading LG files from S3 * [PRMDR-268] Updating the URL to allow downloading of stitched documents instead of just getting a static PDF * [PRMDR-268] Enabling the function to stitch the Lloyd George instead of displaying a static PDF * [PRMDR-268] Edit LG record page to load presign url from lambda * [PRMDR-270] Amend uploading method for stitched lloyd george to allow pdf file displayed inline * [PRMDR-270] Amend LG stitch lambda to return number of files and last updated date along with presigned url * [PRMDR-268] Amend LloydGeorgeRecordPage to display number of file and last updated date, add a loading notice while waiting lambda response * [PRMDR-270] Ensuring that the stitched PDF lifecycle tag is set appropriately * [PRMDR-270] fix for failing test * [PRMDR-268] add test for pdf viewer * [PRMDR-268] add unit test for LG page * [PRMDR-268] add file size to LG page * [PRMDR-268] add file size to LG page - fix * [PRMDR-268] add file size to LG page - fix * [PRMDR-270] Attempting to upload to directory of nhs number * [PRMDR-270] Add total_file_size to response of LloydGeorgeStitch lambda * [PRMDR-270] Extract logic of patientId checking to decorator * [PRMDR-270] Extract logic of env var checking to decorator * [PRMDR-268] create new page for LG view with patient details and update patient results page to navigate to it * [PRMDR-268] add Card component to LG page * [PRMDR-268] add search function to LG page and LG record request to helpers * [PRMDR-268] update patient results page test with new route * [PRMDR-268] add pdf viewer component which uses the pdfobject package to display an embedded test pdf * [PRMDR-268] WIP -add pdf viewer component which uses the pdfobject package to display an embedded test pdf, need to update tests * [PRMDR-268] amend test * [PRMDR-268] add radio buttons to patient result page and amend/add tests * [PRMDR-268] add style changes to LG record page and tidy up pdf viewer * [PRMDR-268] add style changes to patient result page and fix tests * [PRMDR-268] Updating the URL to allow downloading of stitched documents instead of just getting a static PDF * [PRMDR-268] Enabling the function to stitch the Lloyd George instead of displaying a static PDF * [PRMDR-268] Edit LG record page to load presign url from lambda * [PRMDR-268] Amend LloydGeorgeRecordPage to display number of file and last updated date, add a loading notice while waiting lambda response * [PRMDR-268] add test for pdf viewer * [PRMDR-268] add unit test for LG page * [PRMDR-268] add file size to LG page * [PRMDR-268] add file size to LG page - fix * [PRMDR-268] add file size to LG page - fix * [PRMDR-268] WIP - add unit tests * [PRMDR-268] remove unnecessary dependencies from useEffect * [PRMDR-268] fix tests and remove console log * [PRMDR-270] fix failing e2e tests * [PRMDR-270] Remove unused import * [PRMDR-270] changes for code review * [PRMDR-270] fix pipeline errors * [PRMDR-270] Update lambdas-dev-to-main-ci.yml for Lloyd George stitch lambda * [PRMDR-270] bugfix at uploading file to s3 * Fix the issue of frontend uploadDocuments repeat call for n * n times --------- Co-authored-by: AlexHerbertNHS <alexandra.herbert1@nhs.net> Co-authored-by: RachelHowellNHS <rachel.howell6@nhs.net>
- Loading branch information
1 parent
f892f81
commit 4c0fc79
Showing
44 changed files
with
1,508 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,3 +95,5 @@ node_modules/ | |
*.zip | ||
.idea/ | ||
.vscode/ | ||
|
||
lambdas/tests/unit/helpers/data/pdf/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.