PS-10012 feature: Extend connection section of the configuration file with SSL parameters #65
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://perconadev.atlassian.net/browse/PS-10012
Added two new optional subsections to the 'connection' section of the main configuration file:
As the configuration file now includes optional parameters / sections, providing them as a plain list as command line arguments is no longer possible. So, this functionality was removed. The only possible option to run the program is "binlog_server (fetch|pull)) <json_config_file>".
As the result of this change the 'nv_tuple_from_command_line.hpp' header with helper functions was deleted.
Reworked helper function in the 'nv_tuple_from_json.hpp' header file to support optional JSON parameters (those that are represented with 'std::optional<>').
Main application now prints more info from the configuration file to the log.
'main_config.json' example configuration file extended with new 'ssl' and 'tls' subsections.
Refactored MTR test cases:
Added new 'binlog_streaming.ssl_connection' MTR test case that runs binlog server utility in variety of SSL connection modes.
Updated 'README.md' with SSL/ TLS connection parameter description.