diff options
author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2019-03-28 00:14:53 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2019-05-08 22:08:00 +0300 |
commit | fbe8378fd5d8ee926f260ae71c877cc6a64a7594 (patch) | |
tree | 01ff21228c1df5ab4de1febebd4c621adb5f4e2c /redfish-core/include/redfish.hpp | |
parent | 351d3063e86c5a6047c995ba72552bd82df86489 (diff) | |
download | bmcweb-fbe8378fd5d8ee926f260ae71c877cc6a64a7594.tar.xz |
Remove the static OpenBMC Message Registry file
This change removes the static OpenBMC Message Registry file and
replaces it with a compile-time structure.
Tested:
Verified the OpenBMC Message registry is correctly returned from
the existing endpoints without using the static files.
Change-Id: I60ab3ce0d23c9ac7e91ebb85f445fb9ca731983d
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.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp index a741a76042..6237e47673 100644 --- a/redfish-core/include/redfish.hpp +++ b/redfish-core/include/redfish.hpp @@ -112,6 +112,8 @@ class RedfishService std::make_unique<MessageRegistryFileCollection>(app)); nodes.emplace_back(std::make_unique<BaseMessageRegistryFile>(app)); nodes.emplace_back(std::make_unique<BaseMessageRegistry>(app)); + nodes.emplace_back(std::make_unique<OpenBMCMessageRegistryFile>(app)); + nodes.emplace_back(std::make_unique<OpenBMCMessageRegistry>(app)); for (const auto& node : nodes) { |