diff options
author | Myung Bae <myungbae@us.ibm.com> | 2023-10-04 17:19:38 +0300 |
---|---|---|
committer | Myung Bae <myungbae@us.ibm.com> | 2023-10-11 00:17:47 +0300 |
commit | 480662d437e238048a56efea591dbfbae9d5d065 (patch) | |
tree | ea01027b80f48670ef1406f9f3f011ced0dd9d59 /redfish-core | |
parent | 6fd295531d34a3f1df887200ad904321b6020ddd (diff) | |
download | bmcweb-480662d437e238048a56efea591dbfbae9d5d065.tar.xz |
Fix update_schemas.py to add Oem JsonSchemas
GET on redfish/v1/JsonSchema does not show OEM schemas but shows only
DMTF redfish schemas.
It is because Oem schemas are not included into `schemas.hpp`.
In addition, the explicit OEM JsonSchema gives the content of the file
rather than the valid Json output.
Tested:
- Query JsonSchemas
```
curl -k -H "X-Auth-Token: $token" -X GET "https://$bmc/redfish/v1/JsonSchemas"
curl -k -H "X-Auth-Token: $token" -X GET "https://$bmc/redfish/v1/JsonSchemas/<OemSchema>"
e.g.
curl -k -H "X-Auth-Token: $token" -X GET "https://$bmc/redfish/v1/JsonSchemas/OemManager"
```
- Redfish Service Validator passed
Change-Id: I0fc9c3d4a48fb9c6ddec9591af12fd2c849331e3
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/include/schemas.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/redfish-core/include/schemas.hpp b/redfish-core/include/schemas.hpp index fa3143d5c9..0d47c6fca5 100644 --- a/redfish-core/include/schemas.hpp +++ b/redfish-core/include/schemas.hpp @@ -126,5 +126,9 @@ namespace redfish "UpdateService", "VirtualMedia", "VirtualMediaCollection", + "OemManager", + "OemComputerSystem", + "OemVirtualMedia", + "OpenBMCAccountService", }; } |