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

Resource deletion safety check #977

Closed
3 tasks done
Tracked by #879 ...
xiaofei-du opened this issue Jun 5, 2022 · 2 comments
Closed
3 tasks done
Tracked by #879 ...

Resource deletion safety check #977

xiaofei-du opened this issue Jun 5, 2022 · 2 comments
Assignees

Comments

@xiaofei-du
Copy link
Member

xiaofei-du commented Jun 5, 2022

When a user deletes a resource, if there are other resources depending on it, the deletion operation should return an error (status code: 422) with reason.

  • pipeline-backend: need to add search or filter endpoints (AIP-160) to support above queries @pinglin
  • connector-backend: query pipeline-backend if a connector is being used by any pipeline @pinglin
  • model-backend: query pipeline-backend if a model instance is being used by any pipeline @Phelan164
@xiaofei-du
Copy link
Member Author

Resolved.

Copy link

linear bot commented May 19, 2024

@pinglin pinglin transferred this issue from instill-ai/community May 19, 2024
@xiaofei-du xiaofei-du closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants