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.cpp37 std::make_unique<NiceMock<ReportMock>>(reportParams.reportId());
79 params.reportId(), params.reportName(), in addReport()
179 reportParams.reportId("ReportName"); in TEST_F()
184 auto [ec, path] = addReport(reportParams.reportId("")); in TEST_F()
192 reportParams.reportId("Prefix/ReportName"); in TEST_F()
197 auto [ec, path] = addReport(reportParams.reportId("Prefix/")); in TEST_F()
205 std::string reportId = utils::string_utils::getMaxId(); in TEST_F() local
206 reportParams.reportId(reportId); in TEST_F()
212 EXPECT_THAT(path, Eq("/"s + reportId)); in TEST_F()
217 std::string reportId = utils::string_utils::getMaxPrefix() + "/MyId"; in TEST_F() local
[all …]
H A Dtest_report.cpp73 ON_CALL(storageMock, store(to_file_path(ReportParams().reportId()), _)) in TestReport()
139 params.reportId(), params.reportName(), params.reportingType(), in makeReport()
224 EXPECT_THAT(sut->getId(), Eq(defaultParams().reportId())); in TEST_F()
391 sut = makeReport(ReportParams().reportId("TestId_1").reportActions({})); in TEST_F()
408 .reportId("TestId_1") in TEST_F()
451 .reportId("report2") in TEST_F()
468 .reportId("report2") in TEST_F()
483 .reportId("report2") in TEST_F()
560 messages::Presence::Exist, "trigger1", {defaultParams().reportId()}}); in TEST_F()
562 messages::Presence::Exist, "trigger1", {defaultParams().reportId()}}); in TEST_F()
[all …]
H A Dtest_trigger_manager.cpp231 std::string reportId = utils::string_utils::getMaxId(); in TEST_F() local
232 triggerParams.id(reportId); in TEST_F()
238 EXPECT_THAT(path, Eq("/"s + reportId)); in TEST_F()
243 std::string reportId = utils::string_utils::getMaxPrefix() + "/MyId"; in TEST_F() local
244 triggerParams.id(reportId); in TEST_F()
250 EXPECT_THAT(path, Eq("/"s + reportId)); in TEST_F()
331 std::string reportId; in TEST_F() local
334 reportId += "prefix/"; in TEST_F()
336 reportId += "MyId"; in TEST_F()
338 triggerParams.id(reportId); in TEST_F()
/openbmc/telemetry/src/
H A Dreport_manager.cpp48 [this](boost::asio::yield_context& yield, std::string reportId, in ReportManager()
76 return addReport(yield, reportId, reportName, in ReportManager()
101 const std::string& reportId, const std::string& reportName, in verifyAddReport() argument
138 boost::asio::yield_context& yield, const std::string& reportId, in addReport() argument
147 return addReport(reportId, reportName, reportingType, reportActions, in addReport()
153 const std::string& reportId, const std::string& reportName, in addReport() argument
163 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.hpp58 const std::string& reportId, const std::string& reportName,
H A Dreport.cpp24 const std::string& reportId, const std::string& reportName, in Report() argument
33 id(reportId), path(utils::pathAppend(utils::constants::reportDirPath, id)), in Report()
H A Dtrigger.cpp222 if (utils::contains(*reportIds, msg.reportId)) in __anon5e4599b81802()
/openbmc/bmcweb/redfish-core/src/
H A Dsubscription.cpp270 const std::string& reportId, in filterAndSendReports() argument
274 "/redfish/v1/TelemetryService/MetricReportDefinitions/{}", reportId); in filterAndSendReports()
288 if (!telemetry::fillReport(msg, reportId, var)) in filterAndSendReports()
292 reportId); in filterAndSendReports()
/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/telemetry/src/messages/
H A Dcollect_trigger_id.hpp10 std::string reportId; member
/openbmc/bmcweb/redfish-core/lib/
H A Dmetric_report_definition.hpp899 const std::string& reportId, const boost::system::error_code& ec, in afterSetReadingParams() argument
922 if (!verifyCommonErrors(asyncResp->res, reportId, ec)) in afterSetReadingParams()
931 const std::string& reportId, ReadingParameters readingParams, in setReadingParams() argument
962 [asyncResp, reportId](const boost::system::error_code& ec, in setReadingParams()
964 afterSetReadingParams(asyncResp, reportId, ec, msg); in setReadingParams()
966 "xyz.openbmc_project.Telemetry", getDbusReportPath(reportId), in setReadingParams()
1432 reportId = std::string(id)](const boost::system::error_code& ec) { in handleReportDelete()
1433 if (!verifyCommonErrors(asyncResp->res, reportId, ec)) in handleReportDelete()
H A Dtrigger.hpp808 std::string reportId = path.filename(); in getMetricReportDefinitions() local
809 if (reportId.empty()) in getMetricReportDefinitions()
821 reportId); in getMetricReportDefinitions()
/openbmc/bmcweb/redfish-core/include/
H A Dsubscription.hpp85 void filterAndSendReports(uint64_t eventId, const std::string& reportId,
H A Devent_service_manager.hpp675 const std::string& reportId, const telemetry::TimestampReadings& var) in sendTelemetryReportToSubs() argument
683 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()