This is an automated email from the ASF dual-hosted git repository.
aboda pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git.
from 86d5d3f MINIFICPP-1031 - RemoteProcessorGroupPort::setURL fails in
case port is not specified in URL
add decf568 MINIFICPP-621 Add initial tailfile nanofi example
new 8e40c3f Merge remote-tracking branch 'apache/master'
new 6fe6ae8 MINIFICPP-927 Add delimited tailfile processor
The 2 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:
libminifi/include/core/ContentRepository.h | 2 +-
libminifi/include/core/ProcessContext.h | 18 +-
libminifi/include/core/StreamManager.h | 2 +-
libminifi/include/utils/file/FileUtils.h | 49 +-
.../src/core/repository/FileSystemRepository.cpp | 2 +-
nanofi/CMakeLists.txt | 9 +-
.../bootstrap => nanofi/ecu}/CMakeLists.txt | 29 +-
nanofi/ecu/log_aggregator.c | 82 ++++
nanofi/ecu/tailfile_chunk.c | 77 +++
nanofi/ecu/tailfile_delimited.c | 77 +++
nanofi/examples/CMakeLists.txt | 4 -
nanofi/examples/tail_file.c | 257 ----------
nanofi/include/api/ecu.h | 95 ++++
nanofi/include/api/nanofi.h | 38 +-
nanofi/include/core/cstructs.h | 37 +-
nanofi/include/core/file_utils.h | 78 +++
nanofi/include/core/flowfiles.h | 51 ++
nanofi/include/core/string_utils.h | 61 ++-
nanofi/include/cxx/Instance.h | 19 +-
nanofi/src/api/ecu.c | 530 +++++++++++++++++++++
nanofi/src/api/nanofi.cpp | 96 +++-
nanofi/src/core/file_utils.c | 141 ++++++
nanofi/src/core/flowfiles.c | 164 +++++++
nanofi/src/core/string_utils.c | 154 ++++--
nanofi/tests/CAPITests.cpp | 12 +-
nanofi/tests/CLogAggregatorTests.cpp | 365 ++++++++++++++
nanofi/tests/CTailFileChunkTests.cpp | 135 ++++++
nanofi/tests/CTailFileDelimitedTests.cpp | 256 ++++++++++
nanofi/tests/CTestsBase.h | 141 ++++++
29 files changed, 2611 insertions(+), 370 deletions(-)
copy {extensions/bootstrap => nanofi/ecu}/CMakeLists.txt (54%)
create mode 100644 nanofi/ecu/log_aggregator.c
create mode 100644 nanofi/ecu/tailfile_chunk.c
create mode 100644 nanofi/ecu/tailfile_delimited.c
delete mode 100644 nanofi/examples/tail_file.c
create mode 100644 nanofi/include/api/ecu.h
create mode 100644 nanofi/include/core/file_utils.h
create mode 100644 nanofi/include/core/flowfiles.h
create mode 100644 nanofi/src/api/ecu.c
create mode 100644 nanofi/src/core/file_utils.c
create mode 100644 nanofi/src/core/flowfiles.c
create mode 100644 nanofi/tests/CLogAggregatorTests.cpp
create mode 100644 nanofi/tests/CTailFileChunkTests.cpp
create mode 100644 nanofi/tests/CTailFileDelimitedTests.cpp
create mode 100644 nanofi/tests/CTestsBase.h