summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2023-02-13 20:00:05 +0300
committerEd Tanous <ed@tanous.net>2023-02-13 20:38:21 +0300
commitf041387d5912db27e0317805e5c341c9c472887a (patch)
tree1ee75c2c430762bc6f0011f71670a235d0e0e98b
parenta8e884fc4e2fae0c79454ee865c9b9e0534f6763 (diff)
downloadbmcweb-f041387d5912db27e0317805e5c341c9c472887a.tar.xz
Fix schema validator failure regression
Fixes regression introduced at 5b5574ace856c7f787528ab8f5e5352a90f2a6cb Because of the order in which a few patches were merged, the static $metadata file never got updated. There are other patchsets still in review to completely remove the file, which is why the validator passed on previous commits. Tested: Metadata now resolves Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I402eb0bb83220f13293e9e7c86f34a257c2f981e
-rwxr-xr-xscripts/update_schemas.py2
-rw-r--r--static/redfish/v1/$metadata/index.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py
index 7d6e7680a2..1586a112ee 100755
--- a/scripts/update_schemas.py
+++ b/scripts/update_schemas.py
@@ -345,7 +345,7 @@ with open(metadata_index_path, "w") as metadata_index:
metadata_index.write(
' <edmx:Reference Uri="'
- '/redfish/v1/schema/OemAccountService_v1.xml">\n'
+ '/redfish/v1/schema/OpenbmcAccountService_v1.xml">\n'
)
metadata_index.write(
' <edmx:Include Namespace="OemAccountService"/>\n'
diff --git a/static/redfish/v1/$metadata/index.xml b/static/redfish/v1/$metadata/index.xml
index 8c4ee4a5da..6d1fcf7435 100644
--- a/static/redfish/v1/$metadata/index.xml
+++ b/static/redfish/v1/$metadata/index.xml
@@ -3005,7 +3005,7 @@
<edmx:Include Namespace="OemVirtualMedia"/>
<edmx:Include Namespace="OemVirtualMedia.v1_0_0"/>
</edmx:Reference>
- <edmx:Reference Uri="/redfish/v1/schema/OemAccountService_v1.xml">
+ <edmx:Reference Uri="/redfish/v1/schema/OpenbmcAccountService_v1.xml">
<edmx:Include Namespace="OemAccountService"/>
<edmx:Include Namespace="OemAccountService.v1_0_0"/>
</edmx:Reference>