Mar 21st 2024 update

This commit is contained in:
Ned Wright
2024-03-21 15:31:38 +00:00
parent 0d22790ebe
commit c20fa9f966
100 changed files with 3851 additions and 453 deletions

View File

@@ -41,6 +41,8 @@ K8sSvcStream::sendLog(const Report &log)
MessageMetadata rest_req_md(svc_host, 80);
rest_req_md.insertHeader("X-Tenant-Id", Singleton::Consume<I_AgentDetails>::by<LoggingComp>()->getTenantId());
rest_req_md.setConnectioFlag(MessageConnectionConfig::UNSECURE_CONN);
bool ok = i_msg->sendSyncMessageWithoutResponse(
HTTPMethod::POST,
K8sSvc_log_uri,
@@ -69,6 +71,7 @@ K8sSvcStream::sendLog(const LogBulkRest &logs, bool persistence_only)
MessageMetadata rest_req_md(svc_host, 80);
rest_req_md.insertHeader("X-Tenant-Id", Singleton::Consume<I_AgentDetails>::by<LoggingComp>()->getTenantId());
rest_req_md.setConnectioFlag(MessageConnectionConfig::UNSECURE_CONN);
bool ok = i_msg->sendSyncMessageWithoutResponse(
HTTPMethod::POST,
K8sSvc_log_uri,

View File

@@ -171,6 +171,7 @@ public:
_,
_,
MessageCategory::LOG,
_,
_
)).WillRepeatedly(SaveArg<2>(&body));
}
@@ -745,6 +746,7 @@ TEST_F(LogTest, FogBulkLogs)
_,
_,
MessageCategory::LOG,
_,
_
)).WillRepeatedly(SaveArg<2>(&local_body));
@@ -1143,6 +1145,7 @@ TEST(LogTestInstanceAwareness, LogGenInstanceAwareness)
_,
_,
MessageCategory::LOG,
_,
_
)).Times(AnyNumber());
@@ -1248,6 +1251,7 @@ TEST(LogTestWithoutComponent, RegisterBasicConfig)
_,
_,
MessageCategory::LOG,
_,
_
)).Times(AnyNumber());
@@ -1295,6 +1299,7 @@ TEST(LogTestWithoutComponent, RegisterAdvancedConfig)
_,
_,
MessageCategory::LOG,
_,
_
)).Times(AnyNumber());
@@ -1366,6 +1371,7 @@ TEST_F(LogTest, BulkModification)
_,
_,
MessageCategory::LOG,
_,
_
)).WillRepeatedly(SaveArg<2>(&local_body));