Lines Matching refs:entryID
129 inline bool getUniqueEntryID(const std::string& logEntry, std::string& entryID, in getUniqueEntryID() argument
160 entryID = std::to_string(curTs); in getUniqueEntryID()
163 entryID += "_" + std::to_string(index); in getUniqueEntryID()
407 std::string entryID = object.first.filename(); in getDumpEntryCollection() local
408 if (entryID.empty()) in getDumpEntryCollection()
426 thisEntry["@odata.id"] = entriesPath + entryID; in getDumpEntryCollection()
427 thisEntry["Id"] = entryID; in getDumpEntryCollection()
443 entriesPath + entryID + "/attachment"; in getDumpEntryCollection()
451 entriesPath + entryID + "/attachment"; in getDumpEntryCollection()
464 const std::string& entryID, const std::string& dumpType) in getDumpEntryById() argument
476 [asyncResp, entryID, dumpType, in getDumpEntryById()
491 if (objectPath.first.str != dumpEntryPath + entryID) in getDumpEntryById()
515 dumpType + " dump", entryID); in getDumpEntryById()
521 asyncResp->res.jsonValue["@odata.id"] = entriesPath + entryID; in getDumpEntryById()
522 asyncResp->res.jsonValue["Id"] = entryID; in getDumpEntryById()
538 entriesPath + entryID + "/attachment"; in getDumpEntryById()
547 entriesPath + entryID + "/attachment"; in getDumpEntryById()
553 BMCWEB_LOG_WARNING("Can't find Dump Entry {}", entryID); in getDumpEntryById()
555 entryID); in getDumpEntryById()
562 const std::string& entryID, in deleteDumpEntry() argument
566 entryID](const boost::system::error_code& ec) { in deleteDumpEntry()
572 messages::resourceNotFound(asyncResp->res, "LogEntry", entryID); in deleteDumpEntry()
577 entryID); in deleteDumpEntry()
585 std::format("{}/entry/{}", getDumpPath(dumpType), entryID), in deleteDumpEntry()
619 const std::string& entryID, const std::string& downloadEntryType, in downloadEntryCallback() argument
625 messages::resourceNotFound(asyncResp->res, "EntryAttachment", entryID); in downloadEntryCallback()
680 const std::string& entryID, const std::string& dumpType) in downloadDumpEntry() argument
684 BMCWEB_LOG_WARNING("Can't find Dump Entry {}", entryID); in downloadDumpEntry()
685 messages::resourceNotFound(asyncResp->res, dumpType + " dump", entryID); in downloadDumpEntry()
690 std::format("{}/entry/{}", getDumpPath(dumpType), entryID); in downloadDumpEntry()
693 [asyncResp, entryID, in downloadDumpEntry()
696 downloadEntryCallback(asyncResp, entryID, dumpType, ec, unixfd); in downloadDumpEntry()
706 const std::string& systemName, const std::string& entryID, in downloadEventLogEntry() argument
725 entryID; in downloadEventLogEntry()
728 [asyncResp, entryID, in downloadEventLogEntry()
731 downloadEntryCallback(asyncResp, entryID, dumpType, ec, unixfd); in downloadEventLogEntry()
1763 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, std::string entryID) in dBusEventLogEntryGet() argument
1765 dbus::utility::escapePathForDbus(entryID); in dBusEventLogEntryGet()
1771 "/xyz/openbmc_project/logging/entry/" + entryID, "", in dBusEventLogEntryGet()
1772 [asyncResp, entryID](const boost::system::error_code& ec, in dBusEventLogEntryGet()
1777 entryID); in dBusEventLogEntryGet()
1813 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, std::string entryID) in dBusEventLogEntryDelete() argument
1817 dbus::utility::escapePathForDbus(entryID); in dBusEventLogEntryDelete()
1821 entryID](const boost::system::error_code& ec) { in dBusEventLogEntryDelete()
1827 messages::resourceNotFound(asyncResp->res, "LogEntry", entryID); in dBusEventLogEntryDelete()
1844 "/xyz/openbmc_project/logging/entry/" + entryID, in dBusEventLogEntryDelete()
2340 const std::string& systemName, const std::string& entryID) in handleDBusEventLogEntryDownloadGet() argument
2353 downloadEventLogEntry(asyncResp, systemName, entryID, dumpType); in handleDBusEventLogEntryDownloadGet()