Lines Matching full:app

8 #include "app.hpp"
900 inline void requestRoutesSystemLogServiceCollection(App& app) in requestRoutesSystemLogServiceCollection() argument
905 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/LogServices/") in requestRoutesSystemLogServiceCollection()
909 get)([&app](const crow::Request& req, in requestRoutesSystemLogServiceCollection()
912 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in requestRoutesSystemLogServiceCollection()
1013 inline void requestRoutesEventLogService(App& app) in requestRoutesEventLogService() argument
1015 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/LogServices/EventLog/") in requestRoutesEventLogService()
1019 get)([&app](const crow::Request& req, in requestRoutesEventLogService()
1022 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in requestRoutesEventLogService()
1066 crow::App& app, const crow::Request& req, in handleBMCLogServicesCollectionGet() argument
1070 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleBMCLogServicesCollectionGet()
1153 inline void requestRoutesBMCLogServiceCollection(App& app) in requestRoutesBMCLogServiceCollection() argument
1155 BMCWEB_ROUTE(app, "/redfish/v1/Managers/<str>/LogServices/") in requestRoutesBMCLogServiceCollection()
1158 std::bind_front(handleBMCLogServicesCollectionGet, std::ref(app))); in requestRoutesBMCLogServiceCollection()
1252 crow::App& app, const std::string& dumpType, const crow::Request& req, in handleLogServicesDumpServiceGet() argument
1256 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpServiceGet()
1271 crow::App& app, const crow::Request& req, in handleLogServicesDumpServiceComputerSystemGet() argument
1275 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpServiceComputerSystemGet()
1288 crow::App& app, const std::string& dumpType, const crow::Request& req, in handleLogServicesDumpEntriesCollectionGet() argument
1292 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpEntriesCollectionGet()
1306 crow::App& app, const crow::Request& req, in handleLogServicesDumpEntriesCollectionComputerSystemGet() argument
1310 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpEntriesCollectionComputerSystemGet()
1323 crow::App& app, const std::string& dumpType, const crow::Request& req, in handleLogServicesDumpEntryGet() argument
1327 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpEntryGet()
1340 crow::App& app, const crow::Request& req, in handleLogServicesDumpEntryComputerSystemGet() argument
1344 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpEntryComputerSystemGet()
1357 crow::App& app, const std::string& dumpType, const crow::Request& req, in handleLogServicesDumpEntryDelete() argument
1361 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpEntryDelete()
1375 crow::App& app, const crow::Request& req, in handleLogServicesDumpEntryComputerSystemDelete() argument
1379 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpEntryComputerSystemDelete()
1392 crow::App& app, const std::string& dumpType, const crow::Request& req, in handleLogServicesDumpEntryDownloadGet() argument
1396 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpEntryDownloadGet()
1410 crow::App& app, const std::string& dumpType, const crow::Request& req, in handleLogServicesDumpCollectDiagnosticDataPost() argument
1414 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpCollectDiagnosticDataPost()
1428 crow::App& app, const crow::Request& req, in handleLogServicesDumpCollectDiagnosticDataComputerSystemPost() argument
1432 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpCollectDiagnosticDataComputerSystemPost()
1454 crow::App& app, const std::string& dumpType, const crow::Request& req, in handleLogServicesDumpClearLogPost() argument
1458 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpClearLogPost()
1472 crow::App& app, const crow::Request& req, in handleLogServicesDumpClearLogComputerSystemPost() argument
1476 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpClearLogComputerSystemPost()
1496 inline void requestRoutesBMCDumpService(App& app) in requestRoutesBMCDumpService() argument
1498 BMCWEB_ROUTE(app, "/redfish/v1/Managers/<str>/LogServices/Dump/") in requestRoutesBMCDumpService()
1501 handleLogServicesDumpServiceGet, std::ref(app), "BMC")); in requestRoutesBMCDumpService()
1504 inline void requestRoutesBMCDumpEntryCollection(App& app) in requestRoutesBMCDumpEntryCollection() argument
1506 BMCWEB_ROUTE(app, "/redfish/v1/Managers/<str>/LogServices/Dump/Entries/") in requestRoutesBMCDumpEntryCollection()
1509 handleLogServicesDumpEntriesCollectionGet, std::ref(app), "BMC")); in requestRoutesBMCDumpEntryCollection()
1512 inline void requestRoutesBMCDumpEntry(App& app) in requestRoutesBMCDumpEntry() argument
1514 BMCWEB_ROUTE(app, in requestRoutesBMCDumpEntry()
1518 handleLogServicesDumpEntryGet, std::ref(app), "BMC")); in requestRoutesBMCDumpEntry()
1520 BMCWEB_ROUTE(app, in requestRoutesBMCDumpEntry()
1524 handleLogServicesDumpEntryDelete, std::ref(app), "BMC")); in requestRoutesBMCDumpEntry()
1527 inline void requestRoutesBMCDumpEntryDownload(App& app) in requestRoutesBMCDumpEntryDownload() argument
1530 app, in requestRoutesBMCDumpEntryDownload()
1534 handleLogServicesDumpEntryDownloadGet, std::ref(app), "BMC")); in requestRoutesBMCDumpEntryDownload()
1537 inline void requestRoutesBMCDumpCreate(App& app) in requestRoutesBMCDumpCreate() argument
1540 app, in requestRoutesBMCDumpCreate()
1545 std::ref(app), "BMC")); in requestRoutesBMCDumpCreate()
1548 inline void requestRoutesBMCDumpClear(App& app) in requestRoutesBMCDumpClear() argument
1551 app, in requestRoutesBMCDumpClear()
1555 handleLogServicesDumpClearLogPost, std::ref(app), "BMC")); in requestRoutesBMCDumpClear()
1558 inline void requestRoutesFaultLogDumpService(App& app) in requestRoutesFaultLogDumpService() argument
1560 BMCWEB_ROUTE(app, "/redfish/v1/Managers/<str>/LogServices/FaultLog/") in requestRoutesFaultLogDumpService()
1563 handleLogServicesDumpServiceGet, std::ref(app), "FaultLog")); in requestRoutesFaultLogDumpService()
1566 inline void requestRoutesFaultLogDumpEntryCollection(App& app) in requestRoutesFaultLogDumpEntryCollection() argument
1568 BMCWEB_ROUTE(app, in requestRoutesFaultLogDumpEntryCollection()
1573 std::ref(app), "FaultLog")); in requestRoutesFaultLogDumpEntryCollection()
1576 inline void requestRoutesFaultLogDumpEntry(App& app) in requestRoutesFaultLogDumpEntry() argument
1579 app, "/redfish/v1/Managers/<str>/LogServices/FaultLog/Entries/<str>/") in requestRoutesFaultLogDumpEntry()
1582 handleLogServicesDumpEntryGet, std::ref(app), "FaultLog")); in requestRoutesFaultLogDumpEntry()
1585 app, "/redfish/v1/Managers/<str>/LogServices/FaultLog/Entries/<str>/") in requestRoutesFaultLogDumpEntry()
1588 handleLogServicesDumpEntryDelete, std::ref(app), "FaultLog")); in requestRoutesFaultLogDumpEntry()
1591 inline void requestRoutesFaultLogDumpClear(App& app) in requestRoutesFaultLogDumpClear() argument
1594 app, in requestRoutesFaultLogDumpClear()
1598 handleLogServicesDumpClearLogPost, std::ref(app), "FaultLog")); in requestRoutesFaultLogDumpClear()
1601 inline void requestRoutesSystemDumpService(App& app) in requestRoutesSystemDumpService() argument
1603 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/LogServices/Dump/") in requestRoutesSystemDumpService()
1606 handleLogServicesDumpServiceComputerSystemGet, std::ref(app))); in requestRoutesSystemDumpService()
1609 inline void requestRoutesSystemDumpEntryCollection(App& app) in requestRoutesSystemDumpEntryCollection() argument
1611 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/LogServices/Dump/Entries/") in requestRoutesSystemDumpEntryCollection()
1615 std::ref(app))); in requestRoutesSystemDumpEntryCollection()
1618 inline void requestRoutesSystemDumpEntry(App& app) in requestRoutesSystemDumpEntry() argument
1620 BMCWEB_ROUTE(app, in requestRoutesSystemDumpEntry()
1624 handleLogServicesDumpEntryComputerSystemGet, std::ref(app))); in requestRoutesSystemDumpEntry()
1626 BMCWEB_ROUTE(app, in requestRoutesSystemDumpEntry()
1630 handleLogServicesDumpEntryComputerSystemDelete, std::ref(app))); in requestRoutesSystemDumpEntry()
1633 inline void requestRoutesSystemDumpCreate(App& app) in requestRoutesSystemDumpCreate() argument
1636 app, in requestRoutesSystemDumpCreate()
1642 std::ref(app))); in requestRoutesSystemDumpCreate()
1645 inline void requestRoutesSystemDumpClear(App& app) in requestRoutesSystemDumpClear() argument
1648 app, in requestRoutesSystemDumpClear()
1653 handleLogServicesDumpClearLogComputerSystemPost, std::ref(app))); in requestRoutesSystemDumpClear()
1656 inline void requestRoutesCrashdumpService(App& app) in requestRoutesCrashdumpService() argument
1661 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/LogServices/Crashdump/") in requestRoutesCrashdumpService()
1665 get)([&app](const crow::Request& req, in requestRoutesCrashdumpService()
1668 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in requestRoutesCrashdumpService()
1723 inline void requestRoutesCrashdumpClear(App& app) in requestRoutesCrashdumpClear() argument
1726 app, in requestRoutesCrashdumpClear()
1731 [&app](const crow::Request& req, in requestRoutesCrashdumpClear()
1734 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in requestRoutesCrashdumpClear()
1839 inline void requestRoutesCrashdumpEntryCollection(App& app) in requestRoutesCrashdumpEntryCollection() argument
1844 BMCWEB_ROUTE(app, in requestRoutesCrashdumpEntryCollection()
1849 get)([&app](const crow::Request& req, in requestRoutesCrashdumpEntryCollection()
1852 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in requestRoutesCrashdumpEntryCollection()
1917 inline void requestRoutesCrashdumpEntry(App& app) in requestRoutesCrashdumpEntry() argument
1920 app, "/redfish/v1/Systems/<str>/LogServices/Crashdump/Entries/<str>/") in requestRoutesCrashdumpEntry()
1923 [&app](const crow::Request& req, in requestRoutesCrashdumpEntry()
1926 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in requestRoutesCrashdumpEntry()
1948 inline void requestRoutesCrashdumpFile(App& app) in requestRoutesCrashdumpFile() argument
1951 app, in requestRoutesCrashdumpFile()
2056 inline void requestRoutesCrashdumpCollect(App& app) in requestRoutesCrashdumpCollect() argument
2059 app, in requestRoutesCrashdumpCollect()
2064 [&app](const crow::Request& req, in requestRoutesCrashdumpCollect()
2067 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in requestRoutesCrashdumpCollect()