SSL Support by JonasScholl · Pull Request #17 · code-specialist/database-setup-tools · GitHub
Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

SSL Support#17

Merged
JonasScholl merged 6 commits into
mainfrom
ssl-support
Apr 9, 2023
Merged

SSL Support#17
JonasScholl merged 6 commits into
mainfrom
ssl-support

Conversation

@JonasScholl

Copy link
Copy Markdown
Member

We actually don't have to implement anything on our own for SSL support, however I added the option to pass keyword arguments to the DB Engine in the DatabaseSetup constructor (which is a good idea anyways I guess). With psycopg2, you can also just require SSL via query parameter in the DB URI, but specifying it in the engine config is also valid.

Changelog:

  • enable passing DB engine config in DatabaseSetup constructor
  • add integration tests with SSL enabled

I had to do a bit of refactoring of the integration tests since adding table classes multiple times messed up the table medatata, but nothing big

resolves #7

@JonasScholl

JonasScholl commented Apr 8, 2023

Copy link
Copy Markdown
Member Author

@yannicschroeer yannicschroeer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside the tests 😄

@yannicschroeer

yannicschroeer commented Apr 8, 2023

Copy link
Copy Markdown
Contributor

@JonasScholl JonasScholl enabled auto-merge (squash) April 9, 2023 07:48
@JonasScholl JonasScholl merged commit cae608c into main Apr 9, 2023
@JonasScholl JonasScholl deleted the ssl-support branch April 9, 2023 07:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSL Support

2 participants