forked from github.com/pypiserver
ae3dcf2bbd
* feat: 🩺 allow customized health check endpoint Get the liveness endpoint from the environment variable `HEALTH_ENDPOINT` and verify it. If the customized endpoint is invalied, it will fallback to the DEFAULT_HEALTH_ENDPOINT. * test: ✅ Test customized endpoint feature * fix: 🚨 fix check * feat: Use CLI interface to set health endpoint * style: 💄 fix black format * Separate 'build app' and 'add routes' https://github.com/pypiserver/pypiserver/pull/442#discussion_r973771421 Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com> * keep DEFAULTS in config.py Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com> * style alignment Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com> * make CLI arg description more clear Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com> * style: 🎨 style alignment * refactor: ✅ SRP, add routes after app created, instead of patching in app_from_config * style: 🎨 format CLI help * test: ✅ add test_setup_routes_from_config * fix: 🐛 test name doesn't work as expected because of using the wrong ids generator. * test: 🧪 add config error cases for health endpoint * test: ✅ fix health_endpoint_arg tests * fix: ✅ Do not fallback to default silently, should raise error * test: 🧪 add test_health_endpoint in test_main * test: ✅ setup routes in main * docs: 📝 Update the help command output in the Quickstart * docs: 🐛 missing space * docs: 📝 Add 'Custom Health Check Endpoint' to 'Recipes' * docs: 📝 refine README * revert: ⏪ revert auto isoft * build: 💚 fix mypy, missing return types * Update README.rst Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com> * Update README.rst Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com> * Update pypiserver/config.py Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com> * Update README.rst Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com> * style: 💄 black format * Update README.rst Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com> Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com> |
||
---|---|---|
.. | ||
__init__.py | ||
doubles.py | ||
sample_msg.html | ||
test_app.py | ||
test_backend.py | ||
test_config.py | ||
test_core.py | ||
test_docs.py | ||
test_init.py | ||
test_main.py | ||
test_manage.py | ||
test_pkg_helpers.py | ||
test_server.py | ||
test-ignorelist |