Skip to content

Commit 031cf56

Browse files
committed
[DOP-25470] Change consumer ping endpoint
1 parent e316625 commit 031cf56

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

data_rentgen/consumer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async def security_lifespan(context: ContextRepo):
8484
description="Data.Rentgen is a nextgen DataLineage service",
8585
version=data_rentgen.__version__,
8686
logger=logger,
87-
).as_asgi(asgi_routes=[("/internal/healthcheck/liveness", liveness)])
87+
).as_asgi(asgi_routes=[("/monitoring/ping", liveness)])
8888

8989

9090
def get_application():

data_rentgen/server/settings/auth/personal_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class PersonalTokenSettings(BaseModel):
1818
DATA_RENTGEN__AUTH__PERSONAL_TOKENS__ENABLED=True
1919
DATA_RENTGEN__AUTH__PERSONAL_TOKENS__SECRET_KEY=somesecret
2020
DATA_RENTGEN__AUTH__PERSONAL_TOKENS__SECURITY_ALGORITHM=HS256
21-
DATA_RENTGEN__AUTH__PERSONAL_TOKENS__MAX_DURATION_DAYS=360
21+
DATA_RENTGEN__AUTH__PERSONAL_TOKENS__MAX_DURATION_DAYS=366
2222
"""
2323

2424
enabled: bool = Field(

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ services:
125125
ports:
126126
- 8001:8001
127127
healthcheck:
128-
test: [CMD-SHELL, curl -f http://localhost:8001/internal/healthcheck/liveness]
128+
test: [CMD-SHELL, curl -f http://localhost:8001/monitoring/ping]
129129
interval: 30s
130130
timeout: 5s
131131
retries: 3

0 commit comments

Comments
 (0)