DMTF / Redfish-Protocol-Validator

The Redfish Protocol Validator tests the HTTP protocol behavior of a Redfish service to validate that it conforms to the Redfish specification.
Other
14 stars 12 forks source link

Returned 202 status code after disabling SSDP #55

Closed FelixD999 closed 11 months ago

FelixD999 commented 1 year ago

Hi,

Due to our design is return 202 after disabling SSDP, not sure if the root cause of the test case fail is about latency issues such that the Validator would still catch the response after disabling SSDP. report

Thasnks, Felix

mraineri commented 1 year ago

I think every implementation I've seen so far does not return a task when PATCHing that property (and other single properties like that in other resources). I've typically only seen tasks produced when invoking complex operations like a firmware update.

However, the spec does allow for a task to be returned on any operation; we'll need to update the tool to allow for that.

FelixD999 commented 1 year ago

Thanks for your help, we look forward to updating from you.

FelixD999 commented 1 year ago

Hi, Due to our designed, we have other same issue about 202 return task, the following example is because the first task is still being processed, so the status returned by the subsequent PATCH will be 400: NTP_400

DEBUG: NTP

Would it be possible for this part also adds the processing for task to be returned on operation?

Thanks, Felix

mraineri commented 1 year ago

Can certainly look into adding task handling for other PATCH cases.