Fix URI warning in RSV
Redfish service valitator warns:
WARNING - PublicationUri: Empty string found - Services should omit
properties if not supported
This commit adds to our registry the url to the openbmc registry file.
Tested: Redfish Service validator no longer returns a warning.
Change-Id: Ia54be175490b4e7e00e3c0c4ab8c60dce1b96863
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index e572622..6be6047 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -30,7 +30,7 @@
"OpenBMC",
};
constexpr const char* url =
- "";
+ "https://github.com/openbmc/bmcweb/blob/master/redfish-core/include/registries/openbmc.json";
constexpr std::array registry =
{
diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py
index 5562120..20aac87 100755
--- a/scripts/parse_registries.py
+++ b/scripts/parse_registries.py
@@ -54,7 +54,7 @@
def openbmc_local_getter():
- url = ""
+ url = "https://github.com/openbmc/bmcweb/blob/master/redfish-core/include/registries/openbmc.json"
with open(
os.path.join(
SCRIPT_DIR,