Home
last modified time | relevance | path

Searched refs:reportId (Results 1 – 17 of 17) sorted by relevance

/openbmc/telemetry/tests/src/
H A Dtest_report_manager.cpp45 std::make_unique<NiceMock<ReportMock>>(reportParams.reportId());
88 params.reportId(), params.reportName(), in addReport()
191 reportParams.reportId("ReportName"); in TEST_F()
196 auto [ec, path] = addReport(reportParams.reportId("")); in TEST_F()
204 reportParams.reportId("Prefix/ReportName"); in TEST_F()
209 auto [ec, path] = addReport(reportParams.reportId("Prefix/")); in TEST_F()
217 std::string reportId = utils::string_utils::getMaxId(); in TEST_F() local
218 reportParams.reportId(reportId); in TEST_F()
224 EXPECT_THAT(path, Eq("/"s + reportId)); in TEST_F()
229 std::string reportId = utils::string_utils::getMaxPrefix() + "/MyId"; in TEST_F() local
[all …]
H A Dtest_report.cpp80 ON_CALL(storageMock, store(to_file_path(ReportParams().reportId()), _)) in TestReport()
146 params.reportId(), params.reportName(), params.reportingType(), in makeReport()
233 EXPECT_THAT(sut->getId(), Eq(defaultParams().reportId())); in TEST_F()
431 sut = makeReport(ReportParams().reportId("TestId_1").reportActions({})); in TEST_F()
449 .reportId("TestId_1") in TEST_F()
499 .reportId("report2") in TEST_F()
518 .reportId("report2") in TEST_F()
535 .reportId("report2") in TEST_F()
618 messages::Presence::Exist, "trigger1", {defaultParams().reportId()}}); in TEST_F()
620 messages::Presence::Exist, "trigger1", {defaultParams().reportId()}}); in TEST_F()
[all …]
H A Dtest_trigger_manager.cpp237 std::string reportId = utils::string_utils::getMaxId(); in TEST_F() local
238 triggerParams.id(reportId); in TEST_F()
244 EXPECT_THAT(path, Eq("/"s + reportId)); in TEST_F()
249 std::string reportId = utils::string_utils::getMaxPrefix() + "/MyId"; in TEST_F() local
250 triggerParams.id(reportId); in TEST_F()
256 EXPECT_THAT(path, Eq("/"s + reportId)); in TEST_F()
337 std::string reportId; in TEST_F() local
340 reportId += "prefix/"; in TEST_F()
342 reportId += "MyId"; in TEST_F()
344 triggerParams.id(reportId); in TEST_F()
/openbmc/telemetry/src/
H A Dreport_manager.cpp60 [this](boost::asio::yield_context& yield, std::string reportId, in ReportManager()
88 return addReport(yield, reportId, reportName, in ReportManager()
113 const std::string& reportId, const std::string& reportName, in verifyAddReport() argument
150 boost::asio::yield_context& yield, const std::string& reportId, in addReport() argument
159 return addReport(reportId, reportName, reportingType, reportActions, in addReport()
165 const std::string& reportId, const std::string& reportName, in addReport() argument
175 auto [id, name] = utils::makeIdName(reportId, reportName, reportNameDefault, in addReport()
H A Dreport_manager.hpp47 const std::string& reportId, const std::string& reportName,
52 boost::asio::yield_context& yield, const std::string& reportId,
58 const std::string& reportId, const std::string& reportName,
H A Dreport_factory.hpp33 const std::string& reportId, const std::string& name,
H A Dreport.hpp62 const std::string& reportId, const std::string& reportName,
H A Dreport.cpp31 const std::string& reportId, const std::string& reportName, in Report() argument
40 id(reportId), path(utils::pathAppend(utils::constants::reportDirPath, id)), in Report()
H A Dtrigger.cpp221 if (utils::contains(*reportIds, msg.reportId)) in __anon5e4599b81602()
/openbmc/bmcweb/redfish-core/src/
H A Dsubscription.cpp256 const std::string& reportId, in filterAndSendReports() argument
260 "/redfish/v1/TelemetryService/MetricReportDefinitions/{}", reportId); in filterAndSendReports()
274 if (!telemetry::fillReport(msg, reportId, var)) in filterAndSendReports()
278 reportId); in filterAndSendReports()
/openbmc/telemetry/src/messages/
H A Dcollect_trigger_id.hpp10 std::string reportId; member
/openbmc/telemetry/tests/src/params/
H A Dreport_params.hpp13 ReportParams& reportId(std::string_view val) in reportId() function in ReportParams
19 const std::string& reportId() const in reportId() function in ReportParams
/openbmc/bmcweb/redfish-core/include/
H A Dsubscription.hpp75 void filterAndSendReports(uint64_t eventId, const std::string& reportId,
H A Devent_service_manager.hpp566 const std::string& reportId, const telemetry::TimestampReadings& var) in sendTelemetryReportToSubs() argument
574 entry.filterAndSendReports(mgr.eventId, reportId, var); in sendTelemetryReportToSubs()
/openbmc/telemetry/tests/src/mocks/
H A Dreport_factory_mock.hpp80 make(params.reportId(), params.reportName(), in expectMake()
/openbmc/bmcweb/redfish-core/lib/
H A Dmetric_report_definition.hpp893 const std::string& reportId, const boost::system::error_code& ec, in afterSetReadingParams() argument
911 if (!formatMessageOnError(asyncResp->res, reportId, ec)) in afterSetReadingParams()
919 const std::string& reportId, ReadingParameters readingParams, in setReadingParams() argument
951 [asyncResp, reportId](const boost::system::error_code& ec, in setReadingParams()
953 afterSetReadingParams(asyncResp, reportId, ec, msg); in setReadingParams()
955 "xyz.openbmc_project.Telemetry", getDbusReportPath(reportId), in setReadingParams()
H A Dtrigger.hpp799 std::string reportId = path.filename(); in getMetricReportDefinitions() local
800 if (reportId.empty()) in getMetricReportDefinitions()
810 reportId); in getMetricReportDefinitions()