Skip to content

Commit

Permalink
HPCC-31774 Implement API logging, hiding, deleting and querying globa…
Browse files Browse the repository at this point in the history
…l messages

This provides an API for loggging, hiding, deleting messages and query using Dali
as the message store.

The API has not been integrated into any existing software, so existing
software is not affected.

Unittests have been implemented for API, named DaliSysInfoLoggerTester.

Signed-off-by: Shamser Ahmed <shamser.ahmed@lexisnexis.com>
  • Loading branch information
shamser committed Sep 25, 2024
1 parent fa22875 commit 2185c5c
Show file tree
Hide file tree
Showing 8 changed files with 1,092 additions and 42 deletions.
6 changes: 5 additions & 1 deletion dali/base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ set ( SRCS
dasds.cpp
dasess.cpp
dasubs.cpp
dautils.cpp
dautils.cpp
sysinfologger.cpp
)

set ( INCLUDES
Expand All @@ -56,6 +57,7 @@ set ( INCLUDES
dasess.hpp
dasubs.hpp
dautils.hpp
sysinfologger.hpp
)

set_source_files_properties(dasds.cpp PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON)
Expand All @@ -70,6 +72,7 @@ include_directories (
${HPCC_SOURCE_DIR}/rtl/include
${HPCC_SOURCE_DIR}/system/security/shared
${HPCC_SOURCE_DIR}/system/security/cryptohelper
${HPCC_SOURCE_DIR}/testing/unittests
)

ADD_DEFINITIONS( -D_USRDLL -DDALI_EXPORTS -DNULL_DALIUSER_STACKTRACE)
Expand All @@ -88,5 +91,6 @@ if(NOT PLUGIN)
mp
hrpc
dafsclient
${CppUnit_LIBRARIES}
)
endif()
Loading

0 comments on commit 2185c5c

Please sign in to comment.