Skip to content

Commit

Permalink
chore: add git repository to service info response
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Feb 12, 2024
1 parent 33a0f81 commit ae534e1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion bento_aggregation_service/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__,
)

0 comments on commit ae534e1

Please sign in to comment.