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 427fd5d MINIFICPP-1192 - Add macOS support and in-function offsets to
backtrace
new 9552757 MINIFICPP-1157 Implement light weight heartbeat. Remove
agent manifest from regular heartbeat messages. Send agent manifest in
response to DESCRIBE manifest request
new 0448159 MINIFICPP-1169 Simplify C2 metrics collection and reporting.
Introduce nifi.c2.full.heartbeat configuration parameter Remove
AgentInformationWithoutManifest, AgentInformationWithManifest classes
Simplify FlowController base classes. Get rid of inheriting from StateManager
class and do not use TreeUpdateListener
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:
C2.md | 5 +
bin/minifi.sh | 8 +-
conf/minifi.properties | 2 +
extensions/coap/tests/CoapIntegrationBase.h | 7 +-
.../http-curl/tests/C2DescribeManifestTest.cpp | 65 +++++
extensions/http-curl/tests/C2FailedUpdateTest.cpp | 4 -
extensions/http-curl/tests/C2JstackTest.cpp | 159 +++---------
.../http-curl/tests/C2VerifyHeartbeatAndStop.cpp | 181 ++++---------
extensions/http-curl/tests/CMakeLists.txt | 1 +
extensions/http-curl/tests/HTTPHandlers.h | 102 ++++++++
extensions/http-curl/tests/HTTPIntegrationBase.h | 59 ++++-
libminifi/include/FlowController.h | 44 ++--
libminifi/include/SchedulingAgent.h | 4 -
libminifi/include/c2/C2Agent.h | 56 ++--
libminifi/include/core/Core.h | 7 +-
libminifi/include/core/state/StateManager.h | 140 ----------
libminifi/include/core/state/UpdateController.h | 18 +-
.../include/core/state/nodes/AgentInformation.h | 109 ++++++--
libminifi/include/core/state/nodes/MetricsBase.h | 36 ++-
.../include/core/state/nodes/TreeUpdateListener.h | 43 ----
libminifi/include/properties/Configure.h | 17 +-
libminifi/include/properties/Properties.h | 2 +-
libminifi/include/utils/BackTrace.h | 27 +-
libminifi/include/utils/ThreadPool.h | 4 +-
libminifi/src/Configure.cpp | 1 +
libminifi/src/FlowController.cpp | 103 ++++----
libminifi/src/c2/C2Agent.cpp | 286 +++++++++------------
libminifi/src/core/Core.cpp | 2 -
libminifi/src/core/state/StateManager.cpp | 137 ----------
libminifi/src/utils/BackTrace.cpp | 27 +-
libminifi/src/utils/ThreadPool.cpp | 2 +-
libminifi/test/integration/IntegrationBase.h | 14 +-
main/MiNiFiMain.cpp | 2 +
nanofi/include/cxx/Instance.h | 7 +-
34 files changed, 720 insertions(+), 961 deletions(-)
create mode 100644 extensions/http-curl/tests/C2DescribeManifestTest.cpp
delete mode 100644 libminifi/include/core/state/StateManager.h
delete mode 100644 libminifi/src/core/state/StateManager.cpp