Skip to content

Feature/safo6 nrl 721 seed sandbox data#1140

Open
sandyforresternhs wants to merge 28 commits intodevelopfrom
feature/SAFO6-NRL-721-seed-sandbox-data
Open

Feature/safo6 nrl 721 seed sandbox data#1140
sandyforresternhs wants to merge 28 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
  • 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 lambda is deployed account-wide to dev and/or test (since we wouldn't want to reseed prod tables) and only when a table in the account has been specified for reseeding
  • Because it's account-wide we have needed to make the lamda layers available in the a/c wide infrastructure

@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: f33166b75d2cae9edf6235594f9c88a7f15a3c6b
URL: https://nrl721-01ba47.api.record-locator.dev.national.nhs.uk/

@github-actions
Copy link

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

@sonarqubecloud
Copy link

@github-actions
Copy link

🚀 PR environment successfully deployed.
Commit Hash: 56b0592af07503e9aab8c8dbd368ee395a0feb3d
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