-
- Downloads
Introduce patching proxy
This is meant to replace the current postgresql-specific handling of
display names, in a way that can be used with other backends (ie.
Cassandra).
This is implemented using a PostgreSQL database, like the masking proxy.
Co-Authored-By:
David Douard <david.douard@sdfa3.org>
parent
cc05a51c
No related branches found
No related tags found
Showing
- swh/storage/postgresql/storage.py 1 addition, 1 deletionswh/storage/postgresql/storage.py
- swh/storage/proxies/patching/__init__.py 256 additions, 0 deletionsswh/storage/proxies/patching/__init__.py
- swh/storage/proxies/patching/db.py 70 additions, 0 deletionsswh/storage/proxies/patching/db.py
- swh/storage/sql/40-funcs.sql 1 addition, 1 deletionswh/storage/sql/40-funcs.sql
- swh/storage/sql/60-indexes.sql 1 addition, 1 deletionswh/storage/sql/60-indexes.sql
- swh/storage/sql/80-display-names.sql 8 additions, 0 deletionsswh/storage/sql/80-display-names.sql
- swh/storage/sql/80-masked-objects.sql 0 additions, 1 deletionswh/storage/sql/80-masked-objects.sql
- swh/storage/tests/patching/__init__.py 0 additions, 0 deletionsswh/storage/tests/patching/__init__.py
- swh/storage/tests/patching/conftest.py 39 additions, 0 deletionsswh/storage/tests/patching/conftest.py
- swh/storage/tests/patching/test_db.py 20 additions, 0 deletionsswh/storage/tests/patching/test_db.py
- swh/storage/tests/patching/test_proxy.py 939 additions, 0 deletionsswh/storage/tests/patching/test_proxy.py
- swh/storage/tests/patching/test_proxy_no_masking.py 33 additions, 0 deletionsswh/storage/tests/patching/test_proxy_no_masking.py
Loading
Please register or sign in to comment