Health checks

Readiness and liveness that mean something for a service — is the database reachable, are bindings resolved, is the message broker connected — rather than merely whether the process is up.

Overview

Readiness and liveness that mean something for a CAP service — is the database reachable, are bindings resolved, is the message broker connected — rather than merely whether the process is up.

SAP SHIPS
Node.js →

@sap/cds Answers GET /health with status 200 and { status: UP } as the liveness and readiness endpoint, with nothing configured.

Not covered: It stops at whether the process is up. Nothing checks whether the service can actually serve — database reachable, bindings resolved, broker connected — so the endpoint stays green while the application is unable to do its job.

Built into @sap/cds
SourceHealth Checkschecked
THE COMMUNITY ADDS

No community artifact is documented here.

Artifacts1

1 of 1 artifacts
ArtifactSignals
Packages1
@sap/cdsCAP Node.js runtime
Signals
none

Content1

Group by
Piece, what it offers
#BTP #SAPCAP: Quirky Nuggets (N05-N06)
SAP Community, Lukas Schwabe, Blog

Details

Coverage
statecore only, CAP
assessed
SourceHealth Checkschecked SourceHealth Checks — capirechecked SourceHealth Checks — capirechecked
For your agent
Ref
capability:health-checks
JSON
/capabilities/health-checks.json
MCP
Connecting an agent