cpursley / walex

Postgres change events (CDC) in Elixir
MIT License
282 stars 14 forks source link

Add SSL Configuration Options #16

Closed rohfosho closed 11 months ago

rohfosho commented 11 months ago

This PR introduces SSL configuration options to WalEx modules to support SSL connections for database interactions. The new configuration options include the ssl and ssl_opts keys which can be specified in the configuration parameters.

Changes:

  1. Added ssl and ssl_opts keys to the get_configs function in the WalEx.Configs module.
  2. Updated set_pgx_replication_conn_opts function in WalEx.ReplicationServer module to include ssl and ssl_opts keys in database_configs_keys.
  3. Updated WalEx.ConfigsTest module to include tests for the newly added configuration options.
  4. Updated test cases in WalEx.ConfigsTest to reflect the new configuration options.

Impact:

Testing:

cpursley commented 11 months ago

@rohfosho thank you very much for the PR and the detailed description!