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 6c0979ff4 MINIFICPP-2464 Drop the GPS extension
new 49e5b9370 MINIFICPP-2346-P1: Integrated Conan2 for OpenSSL, CURL, ZLIB
& Build MiNiFi
new ba91eb884 MINIFICPP-2378 Add support for parameters in controller
services
new 8ba39e475 MINIFICPP-2473 Add .clang-format to project
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:
.clang-format | 54 +++++
CMakeLists.txt | 33 +--
CONAN.md | 137 ++++++++++++
README.md | 9 +
cmake/BuildTests.cmake | 3 +-
cmake/BundledOpenSSL.cmake | 1 +
cmake/BundledRocksDB.cmake | 6 +-
cmake/Bustache.cmake | 4 +-
cmake/{Coroutines.cmake => GetBZip2.cmake} | 13 +-
cmake/{Coroutines.cmake => GetCatch2.cmake} | 13 +-
cmake/{Coroutines.cmake => GetCivetWeb.cmake} | 12 +-
cmake/{Coroutines.cmake => GetFmt.cmake} | 12 +-
cmake/{Coroutines.cmake => GetLibCURL.cmake} | 13 +-
cmake/{Coroutines.cmake => GetLibXml2.cmake} | 13 +-
cmake/{Coroutines.cmake => GetOpenSSL.cmake} | 13 +-
cmake/{Coroutines.cmake => GetRocksDB.cmake} | 20 +-
cmake/{Coroutines.cmake => GetSpdlog.cmake} | 17 +-
cmake/{Coroutines.cmake => GetZLIB.cmake} | 13 +-
cmake/{Coroutines.cmake => GetZstd.cmake} | 13 +-
cmake/MiNiFiOptions.cmake | 41 +++-
cmake/Spdlog.cmake | 2 +-
conanfile.py | 90 ++++++++
etc/conan/profiles/release-linux | 12 +
extensions/aws/processors/DeleteS3Object.h | 4 +-
extensions/aws/processors/FetchS3Object.h | 4 +-
extensions/aws/processors/PutS3Object.h | 4 +-
extensions/aws/processors/S3Processor.cpp | 4 +-
extensions/aws/tests/PutS3ObjectTests.cpp | 2 +-
extensions/aws/tests/S3TestsFixture.h | 23 +-
.../azure/processors/AzureStorageProcessorBase.cpp | 2 +-
.../azure/tests/AzureBlobStorageTestsFixture.h | 15 +-
.../azure/tests/AzureDataLakeStorageTestsFixture.h | 15 +-
.../azure/tests/ListAzureBlobStorageTests.cpp | 7 +-
.../azure/tests/ListAzureDataLakeStorageTests.cpp | 7 +-
extensions/bustache/tests/ApplyTemplateTests.cpp | 8 +-
extensions/civetweb/CMakeLists.txt | 2 +-
extensions/civetweb/tests/ListenHTTPTests.cpp | 14 +-
extensions/elasticsearch/PostElasticsearch.cpp | 10 +-
extensions/elasticsearch/PostElasticsearch.h | 2 +
.../elasticsearch/tests/PostElasticsearchTests.cpp | 5 +-
.../execute-process/test/ExecuteProcessTests.cpp | 6 +-
.../tests/ProcessContextExprTests.cpp | 2 +-
extensions/gcp/processors/GCSProcessor.cpp | 6 +-
extensions/gcp/processors/GCSProcessor.h | 1 +
extensions/gcp/tests/DeleteGCSObjectTests.cpp | 6 +-
extensions/gcp/tests/FetchGCSObjectTests.cpp | 5 +-
extensions/gcp/tests/ListGCSBucketTests.cpp | 5 +-
extensions/gcp/tests/PutGCSObjectTests.cpp | 5 +-
extensions/grafana-loki/PushGrafanaLoki.cpp | 4 +-
extensions/grafana-loki/PushGrafanaLoki.h | 2 +-
.../grafana-loki/tests/PushGrafanaLokiGrpcTest.cpp | 18 +-
.../grafana-loki/tests/PushGrafanaLokiRESTTest.cpp | 23 +-
.../processors/CollectKubernetesPodMetrics.cpp | 2 +-
extensions/libarchive/tests/FocusArchiveTests.cpp | 14 +-
.../libarchive/tests/ManipulateArchiveTests.cpp | 8 +-
extensions/libarchive/tests/MergeFileTests.cpp | 10 +-
extensions/librdkafka/tests/PublishKafkaTests.cpp | 4 +-
.../TestExecuteScriptProcessorWithLuaScript.cpp | 54 ++---
extensions/mqtt/tests/ConsumeMQTTTests.cpp | 2 +-
extensions/mqtt/tests/PublishMQTTTests.cpp | 2 +-
extensions/opc/CMakeLists.txt | 2 +-
extensions/opencv/tests/CaptureRTSPFrameTest.cpp | 4 +-
.../pdh/tests/PerformanceDataMonitorTests.cpp | 4 +-
extensions/procfs/tests/ProcFsMonitorTests.cpp | 4 +-
.../python/tests/ExecutePythonProcessorTests.cpp | 10 +-
.../TestExecuteScriptProcessorWithPythonScript.cpp | 54 ++---
extensions/python/types/PyProcessContext.cpp | 2 +-
extensions/rocksdb-repos/CMakeLists.txt | 9 +-
extensions/sftp/tests/FetchSFTPTests.cpp | 8 +-
extensions/sftp/tests/ListSFTPTests.cpp | 8 +-
extensions/sftp/tests/ListThenFetchSFTPTests.cpp | 8 +-
extensions/sftp/tests/PutSFTPTests.cpp | 4 +-
extensions/smb/SmbConnectionControllerService.cpp | 2 +-
extensions/smb/tests/FetchSmbTests.cpp | 8 +-
extensions/smb/tests/ListAndFetchSmbTests.cpp | 8 +-
extensions/smb/tests/ListSmbTests.cpp | 8 +-
extensions/smb/tests/PutSmbTests.cpp | 12 +-
extensions/splunk/SplunkHECProcessor.cpp | 4 +-
extensions/splunk/SplunkHECProcessor.h | 2 +-
extensions/splunk/tests/PutSplunkHTTPTests.cpp | 14 +-
.../tests/QuerySplunkIndexingStatusTests.cpp | 14 +-
extensions/sql/processors/SQLProcessor.cpp | 2 +-
extensions/sql/tests/PutSQLTests.cpp | 1 -
extensions/sql/tests/SQLTestPlan.h | 6 +-
.../standard-processors/modbus/FetchModbusTcp.cpp | 4 +-
.../standard-processors/processors/GetTCP.cpp | 6 +-
extensions/standard-processors/processors/GetTCP.h | 2 +-
.../standard-processors/processors/InvokeHTTP.cpp | 2 +-
.../standard-processors/processors/PutTCP.cpp | 4 +-
.../standard-processors/processors/TailFile.cpp | 2 +-
.../tests/integration/InvokeHTTPTests.cpp | 54 ++---
.../tests/unit/AppendHostInfoTests.cpp | 18 +-
.../tests/unit/AttributeRollingWindowTests.cpp | 4 +-
.../tests/unit/AttributesToJSONTests.cpp | 10 +-
.../tests/unit/DefragmentTextTests.cpp | 32 +--
.../tests/unit/ExtractTextTests.cpp | 16 +-
.../tests/unit/FetchFileTests.cpp | 6 +-
.../tests/unit/FlowJsonTests.cpp | 137 +++++++++++-
.../tests/unit/GenerateFlowFileTests.cpp | 25 ++-
.../tests/unit/GetFileTests.cpp | 10 +-
.../standard-processors/tests/unit/GetTCPTests.cpp | 16 +-
.../tests/unit/HashContentTest.cpp | 21 +-
.../tests/unit/JoltTransformJSONTests.cpp | 28 +--
.../tests/unit/ListFileTests.cpp | 10 +-
.../tests/unit/ListenSyslogTests.cpp | 23 +-
.../tests/unit/ListenTcpTests.cpp | 24 +-
.../tests/unit/ListenUDPTests.cpp | 12 +-
.../tests/unit/LogAttributeTests.cpp | 16 +-
.../tests/unit/ProcessorTests.cpp | 28 ++-
.../tests/unit/PutFileTests.cpp | 34 +--
.../standard-processors/tests/unit/PutTCPTests.cpp | 8 +-
.../standard-processors/tests/unit/PutUDPTests.cpp | 4 +-
.../tests/unit/ReplaceTextTests.cpp | 24 +-
.../tests/unit/RetryFlowFileTests.cpp | 14 +-
.../tests/unit/RouteTextTests.cpp | 4 +-
.../tests/unit/SplitTextTests.cpp | 47 ++--
.../tests/unit/TailFileTests.cpp | 70 +++---
.../tests/unit/YamlConfigurationTests.cpp | 123 ++++++++++-
extensions/systemd/tests/ConsumeJournaldTest.cpp | 2 +-
libminifi/CMakeLists.txt | 2 +-
libminifi/include/core/ProcessContext.h | 44 +---
libminifi/include/core/ProcessGroup.h | 6 +-
.../core/controller/ControllerServiceLookup.h | 8 +
.../core/controller/ControllerServiceNodeMap.h | 48 ++--
.../core/controller/ControllerServiceProvider.h | 7 +-
.../ForwardingControllerServiceProvider.h | 8 +
.../include/core/flow/StructuredConfiguration.h | 2 +-
libminifi/src/RemoteProcessorGroupPort.cpp | 2 +-
libminifi/src/core/ProcessGroup.cpp | 64 ++++--
.../core/controller/ControllerServiceNodeMap.cpp | 96 ++++++++
.../core/controller/ControllerServiceProvider.cpp | 12 +-
.../controller/StandardControllerServiceNode.cpp | 2 +-
.../src/core/flow/StructuredConfiguration.cpp | 24 +-
libminifi/src/utils/net/Ssl.cpp | 2 +-
.../ControllerServiceIntegrationTests.cpp | 15 +-
libminifi/test/libtest/unit/CMakeLists.txt | 2 +-
.../libtest/unit/ContentRepositoryDependentTests.h | 2 +-
libminifi/test/libtest/unit/MockClasses.h | 42 +++-
libminifi/test/libtest/unit/RecordSetTesters.h | 2 +-
.../libtest/unit/SingleProcessorTestController.h | 37 ++--
libminifi/test/libtest/unit/TestBase.cpp | 82 ++++---
libminifi/test/libtest/unit/TestBase.h | 46 ++--
libminifi/test/libtest/unit/TestUtils.h | 2 +-
.../test/resources/TestControllerServices.yml | 164 +++++++++-----
libminifi/test/unit/LoggerTests.cpp | 4 +-
libminifi/test/unit/ProcessSessionTests.cpp | 2 +-
thirdparty/rocksdb/all/conandata.yml | 15 ++
thirdparty/rocksdb/all/conanfile.py | 243 +++++++++++++++++++++
thirdparty/rocksdb/{ => all/patches}/arm7.patch | 0
thirdparty/rocksdb/{ => all/patches}/cstdint.patch | 0
.../patches}/dboptions_equality_operator.patch | 0
thirdparty/rocksdb/config.yml | 3 +
152 files changed, 1970 insertions(+), 907 deletions(-)
create mode 100644 .clang-format
create mode 100644 CONAN.md
copy cmake/{Coroutines.cmake => GetBZip2.cmake} (67%)
copy cmake/{Coroutines.cmake => GetCatch2.cmake} (67%)
copy cmake/{Coroutines.cmake => GetCivetWeb.cmake} (70%)
copy cmake/{Coroutines.cmake => GetFmt.cmake} (73%)
copy cmake/{Coroutines.cmake => GetLibCURL.cmake} (65%)
copy cmake/{Coroutines.cmake => GetLibXml2.cmake} (66%)
copy cmake/{Coroutines.cmake => GetOpenSSL.cmake} (66%)
copy cmake/{Coroutines.cmake => GetRocksDB.cmake} (54%)
copy cmake/{Coroutines.cmake => GetSpdlog.cmake} (66%)
copy cmake/{Coroutines.cmake => GetZLIB.cmake} (67%)
copy cmake/{Coroutines.cmake => GetZstd.cmake} (69%)
create mode 100644 conanfile.py
create mode 100644 etc/conan/profiles/release-linux
create mode 100644 libminifi/src/core/controller/ControllerServiceNodeMap.cpp
create mode 100644 thirdparty/rocksdb/all/conandata.yml
create mode 100644 thirdparty/rocksdb/all/conanfile.py
rename thirdparty/rocksdb/{ => all/patches}/arm7.patch (100%)
rename thirdparty/rocksdb/{ => all/patches}/cstdint.patch (100%)
rename thirdparty/rocksdb/{ => all/patches}/dboptions_equality_operator.patch
(100%)
create mode 100644 thirdparty/rocksdb/config.yml