(cobra python bots) remove the test which stop the bot when events do not follow cobra metrics system schema with an id and a device entry

This commit is contained in:
Benjamin Sergeant 2020-07-06 16:15:24 -07:00
parent cc47fb1c83
commit dddf00e3b1
3 changed files with 5 additions and 13 deletions

View File

@ -1,6 +1,10 @@
# Changelog # Changelog
All changes to this project will be documented in this file. All changes to this project will be documented in this file.
## [9.8.5] - 2020-07-06
(cobra python bots) remove the test which stop the bot when events do not follow cobra metrics system schema with an id and a device entry
## [9.8.4] - 2020-06-26 ## [9.8.4] - 2020-06-26
(cobra bots) remove bots which is not required now that we can use Python extensions (cobra bots) remove bots which is not required now that we can use Python extensions

View File

@ -162,18 +162,6 @@ namespace ix
std::atomic<bool>& /*throttled*/, std::atomic<bool>& /*throttled*/,
std::atomic<bool>& fatalCobraError, std::atomic<bool>& fatalCobraError,
std::atomic<uint64_t>& sentCount) -> void { std::atomic<uint64_t>& sentCount) -> void {
if (msg["device"].isNull())
{
CoreLogger::info("no device entry, skipping event");
return;
}
if (msg["id"].isNull())
{
CoreLogger::info("no id entry, skipping event");
return;
}
// //
// Invoke python script here. First build function parameters, a tuple // Invoke python script here. First build function parameters, a tuple
// //

View File

@ -6,4 +6,4 @@
#pragma once #pragma once
#define IX_WEBSOCKET_VERSION "9.8.4" #define IX_WEBSOCKET_VERSION "9.8.5"