Skip to content

Feature/safo6 nrl 721 seed sandbox data#1140

Draft
sandyforresternhs wants to merge 20 commits intodevelopfrom
feature/SAFO6-NRL-721-seed-sandbox-data
Draft

Feature/safo6 nrl 721 seed sandbox data#1140
sandyforresternhs wants to merge 20 commits intodevelopfrom
feature/SAFO6-NRL-721-seed-sandbox-data

Conversation

@sandyforresternhs
Copy link
Contributor

@sandyforresternhs sandyforresternhs commented Feb 10, 2026

  • Deletes all items in a DynamoDB table and reseeds the table with X (default = 2) pointers of each type for X (default is 2) custodians
  • The scripts have been implemented to allow for execution either locally or via the lambda
  • Here's some Cloudwatch logs showing the lambda working successfully
  • When running locally, the delete_all_table_items.py and seed_sandbox_table.py scripts can be run independently or via the orchestrator script reset_sandbox_table.py
  • The lambda handles the orchestration of the delete and seed scripts (index.py), so the reset_sandbox_table.py script is not required for the lambda
  • The clone_dynamodb_table.py is not required as part of this work, but I used it testing. We can leave it in or take it out depending on how useful people feel it is

TODO / Questions

  • Move lambda to a/c wide infra
  • What needs adding for the retrieval mechanism
  • Update readme
  • Review / update the customer facing docs - sense check the examples line up with the pointers we're creating
  • Sense check what we're doing here lines up with Nina's work to amend NHS numbers in the docs

@github-actions
Copy link

💥 Something went wrong while deploying the pull request environment.
Check Output Logs

@github-actions
Copy link

🚀 PR environment successfully deployed.
Commit Hash: 1c7c0abbd7cb49c7aa4d6c482f6dcd6a538d0daa
URL: https://nrl721-01ba47.api.record-locator.dev.national.nhs.uk/

@github-actions
Copy link

🚀 PR environment successfully deployed.
Commit Hash: 3b56521bd8cc2e70e7282738b296bbdae3c011c1
URL: https://nrl721-01ba47.api.record-locator.dev.national.nhs.uk/

@github-actions
Copy link

🚀 PR environment successfully deployed.
Commit Hash: 5aebcd6b07f468d3817ba67175ee537d70cc1cfe
URL: https://nrl721-01ba47.api.record-locator.dev.national.nhs.uk/

@github-actions
Copy link

🚀 PR environment successfully deployed.
Commit Hash: f30fb60e92ba362d8f983f3fef5f0588fb755844
URL: https://nrl721-01ba47.api.record-locator.dev.national.nhs.uk/

@github-actions
Copy link

🚀 PR environment successfully deployed.
Commit Hash: 490c0c0fbdd1df083d0e5cb7535d3f060766ed54
URL: https://nrl721-01ba47.api.record-locator.dev.national.nhs.uk/

@github-actions
Copy link

🚀 PR environment successfully deployed.
Commit Hash: 1160b495a9b743d22f2a982d73836c6df61c34e6
URL: https://nrl721-01ba47.api.record-locator.dev.national.nhs.uk/

@sonarqubecloud
Copy link

@github-actions
Copy link

🚀 PR environment successfully deployed.
Commit Hash: b494013664aa91cf1c44aa1588d33ced02c3ff94
URL: https://nrl721-01ba47.api.record-locator.dev.national.nhs.uk/

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.

1 participant