Redfish-Service-Validator icon indicating copy to clipboard operation
Redfish-Service-Validator copied to clipboard

Default Oem Property Response Not Shown in Redfish-Service-Validator

Open Saravanans2001 opened this issue 2 years ago • 3 comments

Hi, I am using Redfish-Service-Validator tool (https://github.com/DMTF/Redfish-Service-Validator/issues/new) for checking the Schema compilance,

Screenshot from 2023-07-14 18-08-07 For managers/Bmc URI , I could see the above response as ,which "/redfish/v1/Managers/bmc/Truststore/Certificates" can navigate to the Tructstore/Certificate Screenshot from 2023-07-14 18-09-42 1.But I can't navigate to the "/redfish/v1/Managers/bmc#/Oem/OpenBmc", Screenshot from 2023-07-14 18-50-20 2.I coud'nt get response for Certificate like the above image "/redfish/v1/Managers/bmc/Truststore/Certificates" 3. redfish/v1/Oem/openBmc/Certificate is a default property,But it is not displayed like the above image in the Redfish-Service-Validator 4. It is under the Oem property whether it will show the response like the above image or not ?

Saravanans2001 avatar Jul 14 '23 13:07 Saravanans2001

Can you please try again with --debugging and provide the txt log file?

mraineri avatar Jul 14 '23 15:07 mraineri

Hi @mraineri

Here is my txt log file

ConformanceLog_07_17_2023_124655.txt

I have added one property under Oem.OpenBmc.ButtonPress Screenshot from 2023-07-17 14-23-30 Screenshot from 2023-07-17 15-23-27

Wheather Oem.OpenBmc.Buttonpress will show the above response like redfish/v1/cable or not ?

Saravanans2001 avatar Jul 17 '23 09:07 Saravanans2001

The txt file doesn't contain all of the debugging traces. The file shows debugging: False. Can you please try again and add --debugging to the CLI when running the tool?

Looking at your earlier questions... I think there's some confusion for what dictates a resource... The URI /redfish/v1/Managers/bmc#/Oem/OpenBmc contains a #, which gives a browser a reference into a resource. For JSON payloads, this follows the RFC6901 syntax, so when you use a URI like "/redfish/v1/Managers/bmc#/Oem/OpenBmc", this equates to "the OpenBmc property inside the Oem object inside the /redfish/v1/Managers/bmc resource". So, this will appear as an object in the test report inside the /redfish/v1/Managers/bmc section. From your most recent screenshot, I do see this in the output.

mraineri avatar Aug 03 '23 13:08 mraineri

Closing; debug files shown so far indicate the tool is behaving properly. OEM definitions in this case require refinement in the implementation.

mraineri avatar May 10 '24 19:05 mraineri