DMTF / Redfish-Service-Validator

The Redfish Service Validator is a Python3 tool for checking conformance of any "device" with a Redfish service interface against Redfish CSDL schema
Other
38 stars 33 forks source link

About checking Settings resource URI #542

Closed JojoWu19 closed 1 year ago

JojoWu19 commented 1 year ago

We get below errors at last version:

...
1 failRedfishUriStrict errors in /redfish/v1/Systems/1/Bios/Pending
1 failRedfishUriStrict errors in /redfish/v1/Systems/1/Pending
...

Should tool skip these Settings resources? or standard schema files will be added the Settings resource URI into URIs?

mraineri commented 1 year ago

Yes, the tool is expected to skip testing URIs for resources found in @Redfish.Settings, @Redfish.ActionInfo, and @Redfish.CollectionCapabilities. In the spec, we list the exemption in the "Redfish-defined URIs and relative reference rules" clause:

All other Redfish service-supported URIs shall match the resource URI patterns definitions, except the supplemental resources that the @Redfish.Settings, @Redfish.ActionInfo, and @Redfish.CollectionCapabilities payload annotations reference.

JojoWu19 commented 1 year ago

@mraineri , get it and thank for your response.