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

Open
2 tasks done
carniz opened this issue Jan 8, 2024 · 0 comments · May be fixed by #3407
Open
2 tasks done

Make project life-cycle management more effective #3361

carniz opened this issue Jan 8, 2024 · 0 comments · May be fixed by #3407
Labels
enhancement New feature or request p3 Nice-to-have features

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p3 Nice-to-have features
Projects
None yet
2 participants