A service for aggregating search results across Bento data services.
The following environment variables are required for the Aggregation Service:
-
BENTO_DEBUG:true(insecure) orfalse; default isfalse -
USE_GOHAN:trueorfalseto use Gohan; default istrue -
KATSU_URL: katsu service url (e.g. https://portal.bentov2.local/api/metadata/) -
SERVICE_REGISTRY_URL: service registry url (e.g. https://bentov2.local/api/service-registry/) -
BENTO_AUTHZ_SERVICE_URL: authorization service url (e.g. https://bentov2.local/api/authorization/)
By convention, URLs should have a trailing slash; however as of v0.9.1 this is optional.
Note that when deployed in a Bento node, these environment variables are provided by the Aggregation docker-compose file.
To install dependencies locally, run:
poetry installTo run the auto-formatter:
poetry run ruff formatTo tests and formatting/linting checks:
poetry run tox