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

[FEATURE] Implement DELETE API for the workflow #23

Closed
owaiskazi19 opened this issue Sep 6, 2023 · 2 comments · Fixed by #294
Closed

[FEATURE] Implement DELETE API for the workflow #23

owaiskazi19 opened this issue Sep 6, 2023 · 2 comments · Fixed by #294
Assignees
Labels
enhancement New feature or request v2.12.0

Comments

@owaiskazi19
Copy link
Member

Is your feature request related to a problem?

This API would take care of deleting the workflow setup which was created before. This API should also handle if at any point workflow setup gets blocked or didn't complete successfully, associated resources created until then would be deleted from OpenSearch.

What solution would you like?

DELETE _plugins/ai-flow?id=request-id

This API would delete specific workflow setup. We would need another API to delete multiple resources

DELETE _plugins/ai-flow
{
    workflowIds: [abc, xyz, 123]
}

Do you have any additional context?

Before deleting the resources, we need to check if there's any dependency on multiple resources and if the resource is safe to delete. This API should help to free up the space from OpenSearch created by the plugin.

@owaiskazi19 owaiskazi19 added enhancement New feature or request untriaged labels Sep 6, 2023
@owaiskazi19 owaiskazi19 changed the title [FEATURE] Implemnet DELETE API for the workflow [FEATURE] Implement DELETE API for the workflow Sep 6, 2023
@owaiskazi19 owaiskazi19 self-assigned this Sep 6, 2023
@owaiskazi19 owaiskazi19 removed their assignment Oct 5, 2023
@owaiskazi19
Copy link
Member Author

This API is dependent on the META issue: #32

@owaiskazi19 owaiskazi19 removed their assignment Oct 23, 2023
@dbwiddis dbwiddis linked a pull request Dec 14, 2023 that will close this issue
@dbwiddis
Copy link
Member

Fixed in #294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2.12.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants