opendcs / rest_api

Rest API that serves OpenDCS database objects as JSON
Apache License 2.0
1 stars 3 forks source link

example concept of using opendcs DAO's as a replacement for rest_api dao #213

Open adamkorynta opened 2 weeks ago

adamkorynta commented 2 weeks ago

this will gain access to other database implementations and reduce SQL query duplications. still needs unit tests still needs integration tests still needs to use artifacts produced after merging https://github.com/opendcs/opendcs/pull/681

Using this PR as the basis for a revised work plan.

Problem Description

Need to be able to support multiple database implementations while reducing redundant SQL queries.

Solution

Utilize work done in https://github.com/opendcs/opendcs/pull/681 to pull in the DAI interfaces from opendcs itself.

how you tested the change

TODO

Where the following done:

If you aren't sure leave unchecked and we will help guide you to want needs changing where.