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

Make project life-cycle management more effective #3361

Closed
2 tasks done
carniz opened this issue Jan 8, 2024 · 1 comment · Fixed by #4383
Closed
2 tasks done

Make project life-cycle management more effective #3361

carniz opened this issue Jan 8, 2024 · 1 comment · Fixed by #4383
Labels
enhancement New feature or request p3 Nice-to-have features
Milestone

Comments

@carniz
Copy link

carniz commented Jan 8, 2024

Current Behavior

When DT is integrated with a larger CI system, the DB tends to fill up quickly which leads to performance and maintainability issues. The API currently only allows to delete 1 single project at a time, and invoking the DELETE /v1/project/{uuid} method once per project UUID is time-consuming and many times leads to stability issues, rendering the application (backend + frontend) unresponsive.

Slack discussion: https://owasp.slack.com/archives/C6R3R32H4/p1701445069732229

Proposed Behavior

My proposal is to add a /v1/project/batchDelete method that allows for deleting a list of projects specified by their UUIDs, which would allow you to make less requests and thus reduce the load on the application.

NB: I have a patch ready that implements this behavior, and this will be the basis of an upcoming PR.

Checklist

@carniz carniz added the enhancement New feature or request label Jan 8, 2024
@nscuro nscuro added the p3 Nice-to-have features label Jan 10, 2024
@nscuro nscuro added this to the 4.13 milestone Dec 19, 2024
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request p3 Nice-to-have features
Projects
None yet
2 participants