Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend
Closed
requested to merge generated-differential-D1108-source into generated-differential-D1108-target
- Feb 14, 2019
-
-
David Douard authored
pifpaf is not needed any more.
45d95d0e -
David Douard authored
- Ensure every service for which an (remote or local) access is needed uses the same config structure (dict with 'cls' and 'args' keys). - Extract instanciation (thus confguration) of remote/external services (storage, cache, scheduler) from the VaultBackend constructor; these are now passed as __init__ arguments; their instanciation/configuration is thus now handled by swh.vault.api.server and swh.vault.cooker.get_cooker (with some support in swh.vault.get_vault).
8a3aad37 -
David Douard authored
so that we have a chance to explicitely choose the config file used when running the wsgi app using a wsgi server like gunicorn.
f4ad9690 -
David Douard authoredf0ad1f01
-
David Douard authored
Typically used by external wsgi server like uwsgi or gunicorn, e.g. gunicorn swh.vault.api.wsgi:app
62963319 -
David Douard authored47ad8a9c
-