This is an automated email from the ASF dual-hosted git repository. szaszm pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
from 4b6daa2f9 MINIFICPP-1977 Upgrade pybind11 to support Python 3.11 new a7da4380f MINIFICPP-1934 PutTCP processor new 9627f2ebf MINIFICPP-1927 Fix ExecuteProcess arg escaping new 852641804 MINIFICPP-1966 Add AgentStatus to Prometheus metrics The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: METRICS.md | 25 +- PROCESSORS.md | 45 +- README.md | 7 +- cmake/Asio.cmake | 4 +- .../test/integration/features/prometheus.feature | 1 + docker/test/integration/minifi/core/ImageStore.py | 2 +- .../integration/minifi/core/PrometheusChecker.py | 13 + .../processors/ExecuteProcess.cpp | 379 +++++++------- .../processors/ExecuteProcess.h | 82 ++- .../standard-processors/processors/PutTCP.cpp | 581 +++++++++++++++++++++ extensions/standard-processors/processors/PutTCP.h | 129 +++++ .../standard-processors/tests/CMakeLists.txt | 10 +- .../tests/integration/TestExecuteProcess.cpp | 104 ---- .../tests/resource_apps/EchoParameters.cpp | 36 +- .../tests/unit/ExecuteProcessTests.cpp | 175 +++++++ .../tests/unit/ListenSyslogTests.cpp | 11 +- .../tests/unit/ListenTcpTests.cpp | 18 +- .../standard-processors/tests/unit/PutTCPTests.cpp | 517 ++++++++++++++++++ .../standard-processors/tests/unit/PutUDPTests.cpp | 2 +- .../tests/unit/resources/alice_by_A.pem | 46 ++ .../tests/unit/resources/alice_by_B.pem | 46 ++ .../tests/unit/resources/ca_A.crt | 21 + .../tests/unit/resources/ca_B.crt | 21 + .../tests/unit/resources/ca_cert.crt | 20 - .../tests/unit/resources/cert_and_private_key.pem | 46 -- .../tests/unit/resources/localhost_by_A.pem | 46 ++ .../tests/unit/resources/localhost_by_B.pem | 46 ++ .../include/core/state/nodes/AgentInformation.h | 40 +- .../include/core/state/nodes/ResponseNodeLoader.h | 1 + libminifi/include/utils/StringUtils.h | 9 + libminifi/include/utils/TimeUtil.h | 4 +- .../src/core/state/nodes/AgentInformation.cpp | 1 + .../src/core/state/nodes/ResponseNodeLoader.cpp | 10 + libminifi/src/utils/net/SslServer.cpp | 1 - libminifi/src/utils/net/TcpServer.cpp | 1 - 35 files changed, 2043 insertions(+), 457 deletions(-) create mode 100644 extensions/standard-processors/processors/PutTCP.cpp create mode 100644 extensions/standard-processors/processors/PutTCP.h delete mode 100644 extensions/standard-processors/tests/integration/TestExecuteProcess.cpp copy python/library/python_lib.cpp => extensions/standard-processors/tests/resource_apps/EchoParameters.cpp (65%) create mode 100644 extensions/standard-processors/tests/unit/ExecuteProcessTests.cpp create mode 100644 extensions/standard-processors/tests/unit/PutTCPTests.cpp create mode 100644 extensions/standard-processors/tests/unit/resources/alice_by_A.pem create mode 100644 extensions/standard-processors/tests/unit/resources/alice_by_B.pem create mode 100644 extensions/standard-processors/tests/unit/resources/ca_A.crt create mode 100644 extensions/standard-processors/tests/unit/resources/ca_B.crt delete mode 100644 extensions/standard-processors/tests/unit/resources/ca_cert.crt delete mode 100644 extensions/standard-processors/tests/unit/resources/cert_and_private_key.pem create mode 100644 extensions/standard-processors/tests/unit/resources/localhost_by_A.pem create mode 100644 extensions/standard-processors/tests/unit/resources/localhost_by_B.pem