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

adding API endpoints to Terminate a process instances (cf restart-app… #3368

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

marsteg
Copy link
Contributor

@marsteg marsteg commented Jul 3, 2024

Is there a related GitHub Issue?

#3350

What is this change about?

Adding cf restart-app-instance API endpoints

Does this PR introduce a breaking change?

Not that I know of.

Acceptance Steps

in the cf cli, the command:
cf restart-app-instance test-app 3 --process web -v
works

Tag your pair, your PM, and/or team

@danail-branekov @georgethebeatle

@marsteg marsteg marked this pull request as draft July 3, 2024 11:53
@marsteg marsteg force-pushed the instanceRestart branch 7 times, most recently from 2da4d9f to 73f556a Compare July 4, 2024 16:37
@marsteg marsteg marked this pull request as ready for review July 4, 2024 16:40
api/handlers/app.go Outdated Show resolved Hide resolved
api/handlers/app.go Show resolved Hide resolved
api/handlers/app.go Outdated Show resolved Hide resolved
api/handlers/app.go Outdated Show resolved Hide resolved
api/handlers/app_test.go Outdated Show resolved Hide resolved
api/repositories/pod_repository.go Outdated Show resolved Hide resolved
api/repositories/pod_repository_test.go Outdated Show resolved Hide resolved
api/repositories/pod_repository_test.go Show resolved Hide resolved
api/repositories/process_repository.go Outdated Show resolved Hide resolved
api/repositories/process_repository.go Outdated Show resolved Hide resolved
marsteg added a commit to marsteg/korifi that referenced this pull request Jul 9, 2024
@marsteg marsteg force-pushed the instanceRestart branch 2 times, most recently from 7ea8f48 to b2c84c1 Compare July 9, 2024 12:42
@marsteg
Copy link
Contributor Author

marsteg commented Jul 9, 2024

i've updated the PR now. Please have a look, when you have the time.

Best Regards,
Markus

@marsteg marsteg force-pushed the instanceRestart branch 2 times, most recently from ce8cdc3 to 3df82ee Compare July 10, 2024 11:41
Copy link
Member

@georgethebeatle georgethebeatle left a comment

Choose a reason for hiding this comment

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

Left some more comments inline

api/repositories/process_repository_test.go Outdated Show resolved Hide resolved
api/repositories/pod_repository.go Outdated Show resolved Hide resolved
@marsteg marsteg force-pushed the instanceRestart branch 2 times, most recently from 22a733d to fbe07fe Compare July 15, 2024 21:15
Copy link
Member

@danail-branekov danail-branekov left a comment

Choose a reason for hiding this comment

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

There are a few forgotten focused tests. I have also put some other minor comments.

Other than that looks fine

api/repositories/pod_repository_test.go Outdated Show resolved Hide resolved
api/repositories/pod_repository_test.go Outdated Show resolved Hide resolved
api/repositories/pod_repository_test.go Outdated Show resolved Hide resolved
api/repositories/process_repository.go Outdated Show resolved Hide resolved
api/repositories/process_repository_test.go Outdated Show resolved Hide resolved
api/repositories/repositories_suite_test.go Outdated Show resolved Hide resolved
@marsteg
Copy link
Contributor Author

marsteg commented Jul 17, 2024

Mended PR according to the comments. Sorry for the leftovers and many required turnarounds...

@danail-branekov danail-branekov enabled auto-merge (rebase) July 17, 2024 15:24
@danail-branekov
Copy link
Member

auto-merge was automatically disabled July 17, 2024 19:07

Head branch was pushed to by a user without write access

@danail-branekov danail-branekov enabled auto-merge (rebase) July 18, 2024 09:18
@danail-branekov danail-branekov merged commit 55a890b into cloudfoundry:main Jul 18, 2024
18 checks passed
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.

None yet

3 participants