Closed tuhinmallick closed 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.
Following up on the previous comment I'll close this issue (and #26) for now.
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