Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Delete Data Product To Ignore Missing Components #71

Open
4 tasks
mitchdawson1982 opened this issue Nov 16, 2023 · 0 comments
Open
4 tasks

Refactor Delete Data Product To Ignore Missing Components #71

mitchdawson1982 opened this issue Nov 16, 2023 · 0 comments
Assignees

Comments

@mitchdawson1982
Copy link
Contributor

User Story

As a data engineer I expect the delete data product endpoint to remove all and any available data or infrastructure, so that we can be sure that everything that can be removed, has been removed.

Value / Purpose

Currently delete data products expects there to be metadata files and glue database present else it will return. We want the endpoint to try and remove all elements even if some are missing.

Useful Contacts

Mitch Dawson

User Types

No response

Hypothesis

If we call the delete data product endpoint all associated files and or infrastructure will be removed.

Proposal

Remove check for presence of metadata and ignore EntityNotFoundException in the delete glue database function.

Additional Information

No response

Definition of Done

Example - [ ] Documentation has been written / updated

  • README has been updated
  • User docs have been updated
  • Another team member has reviewed
  • Tests are green
@mitchdawson1982 mitchdawson1982 self-assigned this Nov 16, 2023
@mitchdawson1982 mitchdawson1982 changed the title [:recycle:] Refactor Delete Data Product To Ignore missing components [♻] Refactor Delete Data Product To Ignore Missing Components Nov 16, 2023
@seanprivett seanprivett changed the title [♻] Refactor Delete Data Product To Ignore Missing Components Refactor Delete Data Product To Ignore Missing Components Dec 18, 2023
@moj-data-platform-robot moj-data-platform-robot transferred this issue from ministryofjustice/analytical-platform Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done ✅
Development

No branches or pull requests

1 participant