diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2020-06-23 22:15:50 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-06-23 22:46:30 +0300 |
commit | 99a467faa172022896f2b6432fbecab8cbca5498 (patch) | |
tree | c697557ae144e8a8b7cae9a0e7adeaaf87b5032d /static/redfish | |
parent | 844b41528bf17c42b07bac6a7622bc04dd26576e (diff) | |
download | bmcweb-99a467faa172022896f2b6432fbecab8cbca5498.tar.xz |
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>
Diffstat (limited to 'static/redfish')
-rw-r--r-- | static/redfish/v1/schema/OemLogEntry_v1.xml | 4 | ||||
-rw-r--r-- | static/redfish/v1/schema/OemLogService_v1.xml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/static/redfish/v1/schema/OemLogEntry_v1.xml b/static/redfish/v1/schema/OemLogEntry_v1.xml index d149e49385..2bee4f53c0 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 47b94040e1..6f59ea0a43 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"/> |