Fix service validator on OEM account service
Whomever wrote the AccountService oem properties seems to have forgotten
that all resources need an odata.id.
Tested:
Ran Redfish service validator. No longer fails with:
ERROR - OpenBMC: EntityType resource does not contain required @odata.id
property, attempting default /OpenBMC
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I291705d9e17f50f53395a1013a982d38e3a9e1f5
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index cfd47a8..8e27930 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -1287,6 +1287,7 @@
{"Oem",
{{"OpenBMC",
{{"@odata.type", "#OemAccountService.v1_0_0.AccountService"},
+ {"@odata.id", "/redfish/v1/AccountService#/Oem/OpenBMC"},
{"AuthMethods",
{
{"BasicAuth", authMethodsConfig.basic},