Skip to content

Commit a2adea1

Browse files
SRTP-769-implement-api-send-gpd-message
1 parent 0694254 commit a2adea1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gpd-test/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ async def app_lifespan(fastapi_app: FastAPI):
3535

3636
app = FastAPI(lifespan=app_lifespan)
3737

38+
@app.get("/health")
39+
async def health_check():
40+
"""Health check endpoint for Kubernetes probes"""
41+
return {"status": "healthy", "service": "gpd-producer"}
42+
3843
@app.post("/send/gpd/message")
3944
async def send_msg(message: RTPMessage, request: Request):
4045
try:

0 commit comments

Comments
 (0)