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

Remove open endpoint /actuator/health #426

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Conversation

mofterdinger
Copy link
Member

@mofterdinger mofterdinger commented Jan 9, 2025

By default, CAP Java provides the open endpoints actuator/health/liveness and actuator/health/readiness. Both can be used by Cf or K8s for application health checks.
There is no need for a public actuator/health anymore.

See also in mta.yaml:

health-check-http-endpoint: /actuator/health/liveness

Copy link
Contributor

@beckermarc beckermarc left a comment

Choose a reason for hiding this comment

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

Sounds reasonable. What is missing is showing HOW you would authenticate the /health endpoint correctly, e.g. for intregration into Availability Service. But that must not be part of this PR.

@mofterdinger mofterdinger merged commit 1cc0602 into main Jan 9, 2025
2 checks passed
@mofterdinger mofterdinger deleted the fix_security_config branch January 9, 2025 11:49
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