From ae534e118a9f80b62e139b423f1f83de9363323f Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Mon, 12 Feb 2024 13:20:02 -0500 Subject: [PATCH] chore: add git repository to service info response --- bento_aggregation_service/app.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bento_aggregation_service/app.py b/bento_aggregation_service/app.py index 0e03d76..7e09654 100644 --- a/bento_aggregation_service/app.py +++ b/bento_aggregation_service/app.py @@ -39,4 +39,12 @@ async def _git_stdout(*args) -> str: @application.get("/service-info") async def service_info(config: ConfigDependency, logger: LoggerDependency): return await build_service_info_from_pydantic_config( - config, logger, {"serviceKind": BENTO_SERVICE_KIND}, SERVICE_TYPE, __version__) + config, + logger, + { + "serviceKind": BENTO_SERVICE_KIND, + "gitRepository": "https://github.com/bento-platform/bento_aggregation_service", + }, + SERVICE_TYPE, + __version__, + )