opencdms-dev / pyopencdms-old

⭐🐍 pyopencdms aims to build a common Python API on top of multiple Climate Data Management Systems (CDMS) that use different underlying database engines
MIT License
4 stars 6 forks source link

opencdmsdb provider plugin #86

Closed isedwards closed 1 year ago

isedwards commented 1 year ago

As an OpenCDMS core developer, I need an ORM implementation for OpenCDMS (e.g. /opencdms/provider/opencdmsdb/) so that I can use the OpenCDMS domain models (/opencdms/models/) with the default OpenCDMS database backend and not just with other supported CDMS databases.

isedwards commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @chinedu117 @david-i-berry @scottylad501

isedwards commented 1 year ago

Unknowns

Given the existing declarative models for the SURFACE database, and further given the new OpenCDMS domain models, how do we implement a provider base class that: a) Works with opencdmsdb using SQLAlchemy's imperative mapping? b) Works with SURFACE database using SQLAlchemy's declarative mapper?

Acceptance tests

Implement acceptance tests as integration tests that are testing the implementation of the repository pattern