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

Backend deletion #447

Merged
merged 19 commits into from
Nov 18, 2024
Merged

Backend deletion #447

merged 19 commits into from
Nov 18, 2024

Conversation

SuperSandro2000
Copy link
Member

No description provided.

Copy link
Contributor

@majewsky majewsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have read up until internal/processor (so have not looked at internal/tasks yet), but this ought to be enough for a first round.

Besides the notes below, in the Keppel API, all PUT/POST endpoints should return a client error (probably 409 Conflict) if account.IsDeleting == true. This can be done generically in findAccountFromRequest since r.Method is visible in that function.

docs/api-spec.md Outdated Show resolved Hide resolved
docs/api-spec.md Outdated Show resolved Hide resolved
internal/api/keppel/accounts.go Outdated Show resolved Hide resolved
internal/api/keppel/accounts_test.go Outdated Show resolved Hide resolved
internal/api/keppel/accounts_test.go Outdated Show resolved Hide resolved
internal/api/keppel/accounts_test.go Outdated Show resolved Hide resolved
internal/keppel/account.go Show resolved Hide resolved
internal/keppel/database.go Outdated Show resolved Hide resolved
internal/api/keppel/accounts_test.go Outdated Show resolved Hide resolved
internal/api/keppel/accounts_test.go Outdated Show resolved Hide resolved
internal/api/keppel/accounts_test.go Outdated Show resolved Hide resolved
internal/api/keppel/api.go Outdated Show resolved Hide resolved
internal/api/keppel/api.go Outdated Show resolved Hide resolved
internal/tasks/account_deletion.go Outdated Show resolved Hide resolved
internal/tasks/account_deletion.go Outdated Show resolved Hide resolved
internal/tasks/account_deletion.go Outdated Show resolved Hide resolved
internal/tasks/account_management.go Outdated Show resolved Hide resolved
internal/tasks/account_management.go Outdated Show resolved Hide resolved
@SuperSandro2000 SuperSandro2000 force-pushed the backend-deletion branch 5 times, most recently from 542be9f to 3573584 Compare November 7, 2024 15:38
@majewsky majewsky force-pushed the backend-deletion branch 2 times, most recently from 458c159 to a7a2627 Compare November 12, 2024 12:46
Copy link
Contributor

@majewsky majewsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have massaged this PR into shape. It's good to go from my side. Please counter-review my changes and merge if they are acceptable to you.

@SuperSandro2000 SuperSandro2000 merged commit ca5037b into master Nov 18, 2024
6 of 7 checks passed
@SuperSandro2000 SuperSandro2000 deleted the backend-deletion branch November 18, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants