Break out post codes
Similar to other patches, break out the post codes log services into
their own file. log_services.hpp is far too large.
Change-Id: I3cb644d52a9d3b5f9a15a2f90c1b69c87491e5c8
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/redfish-core/src/redfish.cpp b/redfish-core/src/redfish.cpp
index e81691f..95f50ca 100644
--- a/redfish-core/src/redfish.cpp
+++ b/redfish-core/src/redfish.cpp
@@ -39,6 +39,7 @@
#include "service_root.hpp"
#include "storage.hpp"
#include "systems.hpp"
+#include "systems_logservices_postcodes.hpp"
#include "task.hpp"
#include "telemetry_service.hpp"
#include "thermal.hpp"
@@ -108,12 +109,8 @@
requestRoutesSystemLogServiceCollection(app);
requestRoutesEventLogService(app);
- requestRoutesPostCodesEntryAdditionalData(app);
- requestRoutesPostCodesLogService(app);
- requestRoutesPostCodesClear(app);
- requestRoutesPostCodesEntry(app);
- requestRoutesPostCodesEntryCollection(app);
+ requestRoutesSystemsLogServicesPostCode(app);
if constexpr (BMCWEB_REDFISH_DUMP_LOG)
{