-
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.
Feature/pdct 1345 save ingest file to s3 (#227)
* WIP * Add basic function to upload a json file to S3 * Add exception handling + refactor * Save json file to s3 on ingest + test refactor * Extract s3 bucket name to env variable * Fix unit tests * Fix integration test * Update s3 client fixture in unit test conftest * Remove duplicate tests * Add ingest action uuid to the name of the file when saving to s3 * WIP * Save ingest result to s3 * Consolidate duplicated testsand change ingest endpoint success response code to 202 * Rename * Bump minor version * Bump db-client to latest * Update poetry lock file * Remove unused logger * Add note to readme re integration tests using mocks and rename variable * Update idempotency test to include checking the document status * Save ingest request and result files to project root rather than s3 when running locally * Fix test * Try setting env variable in test
- Loading branch information
Showing
19 changed files
with
873 additions
and
467 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
Oops, something went wrong.