commit | 99a467faa172022896f2b6432fbecab8cbca5498 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Tue Jun 23 14:15:50 2020 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Tue Jun 23 14:46:30 2020 -0500 |
tree | c697557ae144e8a8b7cae9a0e7adeaaf87b5032d | |
parent | 844b41528bf17c42b07bac6a7622bc04dd26576e [diff] |
Add non-versioned Namespace Redfish schemas have a non-versioned Namespace of the schema: https://github.com/openbmc/bmcweb/blob/master/static/redfish/v1/schema/OemSession_v1.xml#L19 https://github.com/openbmc/bmcweb/blob/master/static/redfish/v1/schema/Zone_v1.xml#L42 Add that to OemLogEntry and OemLogService. This fixes the "badNamespaceInclude" Redfish validator errors. These schemas used to have this but was removed in https://github.com/openbmc/bmcweb/commit/239c4b88e53fc39f1e3ac9597acfcd8378bdfc4e# Alternative to https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/33918/4/static/redfish/v1/%2524metadata/index.xml Tested: Validator passes. Change-Id: Ibcc831db3d5c243bd0fff2e527e04392aebeda5f Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/static/redfish/v1/schema/OemLogEntry_v1.xml b/static/redfish/v1/schema/OemLogEntry_v1.xml index d149e49..2bee4f5 100644 --- a/static/redfish/v1/schema/OemLogEntry_v1.xml +++ b/static/redfish/v1/schema/OemLogEntry_v1.xml
@@ -17,6 +17,10 @@ <edmx:DataServices> + <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemLogEntry"> + <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/> + </Schema> + <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemLogEntry.v1_0_0"> <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/> <Annotation Term="Redfish.Release" String="1.0"/>
diff --git a/static/redfish/v1/schema/OemLogService_v1.xml b/static/redfish/v1/schema/OemLogService_v1.xml index 47b9404..6f59ea0 100644 --- a/static/redfish/v1/schema/OemLogService_v1.xml +++ b/static/redfish/v1/schema/OemLogService_v1.xml
@@ -11,6 +11,10 @@ <edmx:DataServices> + <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemLogService"> + <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/> + </Schema> + <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemLogService.v1_0_0"> <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/> <Annotation Term="Redfish.Release" String="1.0"/>