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

Implement space deletion job endpoint #2647

Merged
merged 3 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/authorization/user_client_factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
apierrors "code.cloudfoundry.org/korifi/api/errors"
"code.cloudfoundry.org/korifi/tests/helpers"
"code.cloudfoundry.org/korifi/tests/matchers"

"github.com/google/uuid"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions api/handlers/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type App struct {
processRepo CFProcessRepository
routeRepo CFRouteRepository
domainRepo CFDomainRepository
spaceRepo SpaceRepository
spaceRepo CFSpaceRepository
packageRepo CFPackageRepository
requestValidator RequestValidator
}
Expand All @@ -73,7 +73,7 @@ func NewApp(
processRepo CFProcessRepository,
routeRepo CFRouteRepository,
domainRepo CFDomainRepository,
spaceRepo SpaceRepository,
spaceRepo CFSpaceRepository,
packageRepo CFPackageRepository,
requestValidator RequestValidator,
) *App {
Expand Down
4 changes: 2 additions & 2 deletions api/handlers/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var _ = Describe("App", func() {
processRepo *fake.CFProcessRepository
routeRepo *fake.CFRouteRepository
domainRepo *fake.CFDomainRepository
spaceRepo *fake.SpaceRepository
spaceRepo *fake.CFSpaceRepository
packageRepo *fake.CFPackageRepository
requestValidator *fake.RequestValidator
req *http.Request
Expand All @@ -48,7 +48,7 @@ var _ = Describe("App", func() {
processRepo = new(fake.CFProcessRepository)
routeRepo = new(fake.CFRouteRepository)
domainRepo = new(fake.CFDomainRepository)
spaceRepo = new(fake.SpaceRepository)
spaceRepo = new(fake.CFSpaceRepository)
packageRepo = new(fake.CFPackageRepository)
requestValidator = new(fake.RequestValidator)

Expand Down

Large diffs are not rendered by default.

83 changes: 83 additions & 0 deletions api/handlers/fake/cfspace_repository.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading