Remove OemSession from metadata
In d678d4fc59f131cf9820c1783f86a4a6ede32995 I forgot to remove
OemSession from the metadata, and it now returns invalid. This was
missed in testsing, because this was originally stacked with patches
that remove the $metadata hardcoding entirely, so with that patch, this
error wasn't present.
Tested: CI can catch this just fine. Regression fix.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I56ad68846174d42004565dd3bc75f3008720d58a
diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py
index b0bf0d4..ef093dd 100755
--- a/scripts/update_schemas.py
+++ b/scripts/update_schemas.py
@@ -355,15 +355,6 @@
)
metadata_index.write(" </edmx:Reference>\n")
- metadata_index.write(
- ' <edmx:Reference Uri="/redfish/v1/schema/OemSession_v1.xml">\n'
- )
- metadata_index.write(' <edmx:Include Namespace="OemSession"/>\n')
- metadata_index.write(
- ' <edmx:Include Namespace="OemSession.v1_0_0"/>\n'
- )
- metadata_index.write(" </edmx:Reference>\n")
-
metadata_index.write("</edmx:Edmx>\n")
diff --git a/static/redfish/v1/$metadata/index.xml b/static/redfish/v1/$metadata/index.xml
index f8bd5bb..ce282ba 100644
--- a/static/redfish/v1/$metadata/index.xml
+++ b/static/redfish/v1/$metadata/index.xml
@@ -2841,8 +2841,4 @@
<edmx:Include Namespace="OemAccountService"/>
<edmx:Include Namespace="OemAccountService.v1_0_0"/>
</edmx:Reference>
- <edmx:Reference Uri="/redfish/v1/schema/OemSession_v1.xml">
- <edmx:Include Namespace="OemSession"/>
- <edmx:Include Namespace="OemSession.v1_0_0"/>
- </edmx:Reference>
</edmx:Edmx>