[Do not merge]Review Support TLS listeners - #1223
Conversation
Added ===== - TLS configuration in broker config - Helper script for generating test certs and CAs - TLS options for NtcChannel - Loading certificates and authority data specified from bmqbrkrcfg.json - SessionOptions to bmq package for configuring client sessions - --tls-authority and --tls-version options to bmqtool to configure session options - Client sessions will now require broker TLS sessions when TLS protocol versions are specified - Create CertificateStore component for bmqio - Integration tests for TLS Changed ======= - Update ntf-core and bde dependencies Signed-off-by: Taylor Foxhall <tfoxhall@bloomberg.net> Signed-off-by: Evgeny Malygin <emalygin@bloomberg.net>
|
|
||
| # 'sim_cpp11_features.pl' backups | ||
| *.bak | ||
| *.bak |
There was a problem hiding this comment.
Might be moved to another PR to simplify
| class TcpInterfaceConfigValidatorTest : public ::testing::Test {}; | ||
|
|
||
| BMQTST_TEST_F(TcpInterfaceConfigValidatorTest, breathingTest) | ||
| TEST_F(TcpInterfaceConfigValidatorTest, breathingTest) |
There was a problem hiding this comment.
Is it worth supporting both GTEST/non-GTEST UTs?
I can see two problems with GTEST usage:
- This is an extra dependency that we can avoid. Currently we have to build it for sanitizers that increases its build time. Also most of the tests are written without GTEST, so converting GTEST to native tests format is a low-effort work. Not sure about mocks though.
- Each time GTEST UT fails, we have a UT number to debug. However, this number is not mentioned anywhere in UT sources, the numbers are assigned automatically in the same order as we declare these test functions. This is not convenient.
| libfl-dev \ | ||
| libbenchmark-dev \ | ||
| libgmock-dev \ | ||
| libgtest-dev \ |
There was a problem hiding this comment.
Have a comment about gtest below, would rather not add an extra dependency if not really necessary.
This should also reduce the number of changes in the PR.
| # :: Optionally install prerequisites ::::::::::::::::::::::::::::::::::::::::: | ||
|
|
||
| REQ_PKGS=(cmake flex bison google-benchmark googletest ninja pkg-config zlib) | ||
| REQ_PKGS=(cmake flex bison google-benchmark googletest lz4 ninja openssl pkg-config zlib zstd) |
There was a problem hiding this comment.
We can update ntf-core build in a separate PR so it does not require lz4 and zstd for now
| ;; | ||
| *) | ||
| echo "Unrecognized/missing codegen target" >&2 | ||
| usage |
There was a problem hiding this comment.
The changes in this file might be moved to a separate PR to simplify this PR and be merged faster
| // '#include'd in the original header. | ||
| // | ||
| // Generated on Wed Jun 18 14:44:06 2025 | ||
| // Generated on Wed Mar 25 20:05:02 2026 |
There was a problem hiding this comment.
This file might be removed from diff
| # define COMPILING_BMQU_OPERATIONCHAIN_H | ||
| # include <bmqu_operationchain_cpp03.h> | ||
| #undef COMPILING_BMQU_OPERATIONCHAIN_H | ||
| # undef COMPILING_BMQU_OPERATIONCHAIN_H |
There was a problem hiding this comment.
The file might be removed from diff
| // Automatically generated file. **DO NOT EDIT** | ||
|
|
||
| // Generated on Wed Jun 18 14:44:06 2025 | ||
| // Generated on Wed Mar 25 20:05:02 2026 |
There was a problem hiding this comment.
The file might be removed from diff
| // '#include'd in the original header. | ||
| // | ||
| // Generated on Wed Jun 18 14:44:06 2025 | ||
| // Generated on Wed Mar 25 20:05:02 2026 |
There was a problem hiding this comment.
The file might be removed from diff
| fsm_cluster, | ||
| ) | ||
| # Load the fixtures defined in the BlazingMQ support library | ||
| pytest_plugins = "blazingmq.dev.it.fixtures" |
There was a problem hiding this comment.
Does it remove pylint warnings?
This might be moved to another PR
No description provided.