geopython / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
459 stars 250 forks source link

Oracle Connection Pooling implementation of issues/1655 #1688

Closed Moritz-Langer closed 1 week ago

Moritz-Langer commented 2 weeks ago

Overview

This is an implementation of connection pooling in oracle. It leaves the decision up to the environment, if the variables ORACLE_POOL_MIN and ORACLE_POOL_MAX are found in the environment, a Pool is created with min and max connections according to the variable values. If they are not set, than single connections are used, just like before. This should lead to no breaks for current users and is easy to set up.

Tests and Documentation are added as well.

Related Issue / discussion

Related to https://github.com/geopython/pygeoapi/issues/1655

Additional information

Dependency policy (RFC2)

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

Moritz-Langer commented 2 weeks ago

@8luewater fyi

Moritz-Langer commented 1 week ago

Hi Tom, thank you for the feedback and the review. I have adjusted according to your comments.