DMTF / Redfish-Mockup-Server

A simple Python 3.4 program that can be copied into a folder at the top of any Redfish mockup and can serve Redfish requests on the specified IP/port.
Other
72 stars 37 forks source link

Query Subscriptions should not return HttpHeaders. #81

Closed vinialves closed 3 years ago

vinialves commented 3 years ago

Hello guys! Very nice Redfish mockup server!

This PR changes GET Subscription operation to be more conformant with Redfish schema for EventDestination: https://redfish.dmtf.org/schemas/v1/EventDestination.v1_10_0.json

"HttpHeaders": { "description": "An array of settings for HTTP headers, such as authorization information. This array is null or an empty array in responses. An empty array is the preferred return value on read operations.",

Thanks!

mraineri commented 3 years ago

Approved 2/12

Generally though, we'd like more "functional" things to be left for the Redfish Interface Emulator, but this is fairly trivial to add to the mockup server.