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 fc9e50769 MINIFICPP-1757 remove problematic linker flags on macos/gcc new 7f37f62f5 MINIFICPP-1797 Python bootstrap (part 1) new ac9579453 MINIFICPP-2313 Fix Grafana Loki issues on Windows new 530e4dc7b MINIFICPP-2283 Create tool to encrypt sensitive properties in config.yml new 260c229fe MINIFICPP-2306 Filter out corrupt flowfiles during startup The 4 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: .github/workflows/ci.yml | 334 +++++++++++++++++---- .github/workflows/gcc13-compat.yml | 2 +- .gitignore | 1 + CMakeLists.txt | 41 +-- CMakeSettings.json | 14 +- CONFIGURE.md | 4 + README.md | 40 ++- Windows.md | 29 +- bootstrap.sh | 22 +- bootstrap/.gitignore | 3 + bootstrap/cli.py | 154 ++++++++++ bootstrap/cmake_parser.py | 74 +++++ bootstrap/main.py | 61 ++++ bootstrap/minifi_option.py | 60 ++++ bootstrap/package_manager.py | 318 ++++++++++++++++++++ bootstrap/py_bootstrap.bat | 26 ++ bootstrap/py_bootstrap.sh | 26 ++ bootstrap/requirements.txt | 6 + bootstrap/system_dependency.py | 58 ++++ bstrp_functions.sh | 6 +- centos.sh | 2 +- cmake/Abseil.cmake | 1 + cmake/ArgParse.cmake | 4 +- cmake/BuildTests.cmake | 2 +- cmake/BundledLibArchive.cmake | 18 +- cmake/BundledLibcURL.cmake | 6 +- cmake/MiNiFiOptions.cmake | 47 +-- cmake/PahoMqttC.cmake | 4 +- cmake/prep_for_win_package.cmake | 1 + conf/minifi.properties | 1 + controller/CMakeLists.txt | 3 - encrypt-config/EncryptConfig.cpp | 116 ++++--- encrypt-config/EncryptConfig.h | 38 +-- encrypt-config/EncryptConfigMain.cpp | 63 ++-- encrypt-config/FlowConfigEncryptor.cpp | 174 +++++++++++ .../FlowConfigEncryptor.h | 23 +- encrypt-config/tests/ConfigFileEncryptorTests.cpp | 2 +- extensions/civetweb/CMakeLists.txt | 2 +- extensions/civetweb/tests/CMakeLists.txt | 2 +- extensions/coap/tests/CMakeLists.txt | 2 +- extensions/expression-language/CMakeLists.txt | 2 +- extensions/expression-language/Expression.cpp | 6 +- .../expression-language/tests/CMakeLists.txt | 4 +- .../tests/ExpressionLanguageTests.cpp | 4 +- extensions/grafana-loki/CMakeLists.txt | 18 +- extensions/grafana-loki/PushGrafanaLokiGrpc.cpp | 9 +- .../grafana-loki/tests/MockGrafanaLokiGrpc.h | 10 - .../grafana-loki/tests/PushGrafanaLokiGrpcTest.cpp | 44 +-- .../grafana-loki/tests/PushGrafanaLokiRESTTest.cpp | 9 + extensions/http-curl/CMakeLists.txt | 2 +- extensions/http-curl/tests/CMakeLists.txt | 4 +- extensions/kubernetes/CMakeLists.txt | 2 +- extensions/libarchive/CMakeLists.txt | 4 +- extensions/openwsman/CMakeLists.txt | 2 +- extensions/pcap/CMakeLists.txt | 8 +- extensions/rocksdb-repos/CMakeLists.txt | 2 +- extensions/rocksdb-repos/FlowFileRepository.cpp | 76 +++-- extensions/rocksdb-repos/FlowFileRepository.h | 7 + extensions/rocksdb-repos/tests/RepoTests.cpp | 145 ++++++--- extensions/sftp/CMakeLists.txt | 2 +- extensions/sftp/tests/CMakeLists.txt | 4 +- extensions/sql/tests/SQLTestController.h | 2 +- extensions/sql/tests/SQLTestPlan.h | 2 +- .../standard-processors/tests/CMakeLists.txt | 4 +- libminifi/CMakeLists.txt | 4 +- libminifi/include/FlowFileRecord.h | 2 +- libminifi/include/core/FlowConfiguration.h | 2 +- libminifi/include/core/ProcessGroup.h | 2 + libminifi/include/core/StreamManager.h | 7 +- .../core/controller/ControllerServiceNode.h | 1 + .../include/core/flow/AdaptiveConfiguration.h | 2 + libminifi/include/core/flow/FlowSerializer.h | 5 +- libminifi/include/core/json/JsonFlowSerializer.h | 6 +- .../include/core/repository/FileSystemRepository.h | 33 +- libminifi/include/core/yaml/YamlFlowSerializer.h | 6 +- libminifi/include/properties/Configuration.h | 2 + libminifi/src/core/ProcessGroup.cpp | 8 + .../src/core/controller/ControllerServiceNode.cpp | 18 +- libminifi/src/core/flow/AdaptiveConfiguration.cpp | 6 + .../src/core/flow/StructuredConfiguration.cpp | 2 +- libminifi/src/core/json/JsonFlowSerializer.cpp | 35 ++- .../src/core/repository/FileSystemRepository.cpp | 37 ++- libminifi/src/core/yaml/YamlFlowSerializer.cpp | 35 ++- libminifi/test/flow-tests/CMakeLists.txt | 2 +- libminifi/test/keyvalue-tests/CMakeLists.txt | 4 +- libminifi/test/unit/JsonFlowSerializerTests.cpp | 131 +++++++- libminifi/test/unit/YamlFlowSerializerTests.cpp | 56 +++- nanofi/CMakeLists.txt | 2 +- run_shellcheck.sh | 2 +- win_build_vs.bat | 8 +- 90 files changed, 2076 insertions(+), 504 deletions(-) create mode 100644 bootstrap/.gitignore create mode 100644 bootstrap/cli.py create mode 100644 bootstrap/cmake_parser.py create mode 100644 bootstrap/main.py create mode 100644 bootstrap/minifi_option.py create mode 100644 bootstrap/package_manager.py create mode 100644 bootstrap/py_bootstrap.bat create mode 100755 bootstrap/py_bootstrap.sh create mode 100644 bootstrap/requirements.txt create mode 100644 bootstrap/system_dependency.py create mode 100644 cmake/prep_for_win_package.cmake create mode 100644 encrypt-config/FlowConfigEncryptor.cpp copy extensions/procfs/tests/MockProcFs.h => encrypt-config/FlowConfigEncryptor.h (56%) mode change 100755 => 100644 win_build_vs.bat