c607be7ed2
* Implemented Connection Pooling First part of collection pooling, improve by making pool size and other params configurable in YAML file of pygeoapi * updated session pooling with more robust creation of dsn * Further changes for releasing connections * further little tweaks * Added Thread Lock and building of DSN * Session Pooling now only happens when ENV VAR ORACLE_POOL_MIN and ORACLE_POOL_MAX are set. Else usual behaviour is restored and single connections are opened and closed. Added a Lock for avoiding race conditions and threat safety. * Flake8 changes * More Flake8 * Added integer type to env variables * Added Tests for Session Pooling * Flake 8 changes for tests * More Flake8 fun * Fixed typo for env vars * Fixed typo for env var and added noqa for variables * More Typos * More Flake8 * Added documentation to the oracle section for session pooling * Review and Feedback with @totycro * Update oracle.py Added Author * Added feedback from review --------- Co-authored-by: root <root@els01entw.ama.at> Co-authored-by: xlanger <moritz.langer@ama.gv.at>