seven-technologies-cloud / pythonrest

Creative Commons Zero v1.0 Universal
10 stars 4 forks source link

Feature to add database connection via SSH and SSL #90

Open leo-viana opened 1 month ago

leo-viana commented 1 month ago

Goal

Add possibility of database connections being done via SSH and SSL for each database (MySQL, PostgreSQL, SQLServer and MariaDB)

Description

Currently, the only way to connect to databases are using direct connections with user, password, host, port, database name and/or schema. The idea of this task would be to test and apply some functions that use SSH and SSL to connect to databases to make it possible for the databases that only use those types of connections to connect successfully.

Tests

One way of testing this would be:

Classes to be changed

EnvironmentVariables.py pythonrest.py MySqlConnection.py MsSqlConnection.py PgSqlConnection.py MariaDbSqlConnection.py MySqlConnectionResolver.py MsSqlConnectionResolver.py PgSqlConnectionResolver.py MariaDbSqlConnectionResolver.py