CorrelAid / DataToMetabase

Other
48 stars 31 forks source link

Create Database #25

Closed tuhinmallick closed 1 year ago

tuhinmallick commented 1 year ago

Create database

request_data = { "name": name, "engine": engine, "details": { "host": host, "port": port, "dbname": dbname, "user": user, "password": password, "ssl": ssl, "tunnel_port": tunnel_port } }

Where ssl = False and tunnel port is 22

KonradUdoHannes commented 1 year ago

I don't think we need this and #26, as my assumption is that databases are very rarely created and probably not through the API. I expect CFE to only have one database or at most one database per questionnaire cycle (which are long). Also the other CFE projects already need to setup the databases for their ETL pipelines so implementing functionality for this on our side, at the end of the overall project workflow, does not seem to be the right location.

KonradUdoHannes commented 1 year ago

Following up on the previous comment I'll close this issue (and #26) for now.