summaryrefslogtreecommitdiff
path: root/redfish-core/include/redfish.hpp
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2019-10-08 21:37:48 +0300
committerJason Bills <jason.m.bills@linux.intel.com>2019-10-29 21:42:47 +0300
commite855dd28ff68c13fea57b49f34da9302e6b2f6cd (patch)
tree9887f2fae784e90e1365fe3517e0dbc1540c4da1 /redfish-core/include/redfish.hpp
parent3cf8ea3c737098239c9392d991f6ef742ba67061 (diff)
downloadbmcweb-e855dd28ff68c13fea57b49f34da9302e6b2f6cd.tar.xz
Enable autoexpand on the Crashdump LogEntryCollection
The current Crashdump LogEntry contains non-standard properties and could be very large causing problems for autoexpand. This change uses a LogEntry OEM type to specify a URI where the full log can be retrieved and enables autoexpand on the LogEntryCollection. Tested: Passed the Redfish Service Validator. Change-Id: I6a402d216e6d8228ea2825ab4c6d02b9c8023fc5 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r--redfish-core/include/redfish.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index b39ea0b126..d537e9a51f 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -105,6 +105,7 @@ class RedfishService
nodes.emplace_back(std::make_unique<CrashdumpService>(app));
nodes.emplace_back(std::make_unique<CrashdumpEntryCollection>(app));
nodes.emplace_back(std::make_unique<CrashdumpEntry>(app));
+ nodes.emplace_back(std::make_unique<CrashdumpFile>(app));
nodes.emplace_back(std::make_unique<OnDemandCrashdump>(app));
#ifdef BMCWEB_ENABLE_REDFISH_RAW_PECI
nodes.emplace_back(std::make_unique<SendRawPECI>(app));