Searched hist:"4 dc23f3fb6c9a7cef84658f8ab3b703d29ec7d57" (Results 1 – 3 of 3) sorted by relevance
/openbmc/webui-vue/src/store/modules/Operations/ |
H A D | FirmwareStore.js | diff 6b424f998068f2336d0f2c0d8b806124554855e8 Fri Mar 10 01:47:41 CST 2023 greenfil <mikl@greenfil.ru> Added the use of HttpPushUri
According to the Redfish specification, the address to update the firmware is set in redfish/v1/UpdateService with the HttpPushUri variable. ``` https://github.com/openbmc/bmcweb/commit/4dc23f3fb6c9a7cef84658f8ab3b703d29ec7d57 ```
Change-Id: I29566a8ab2d06b658ab62f61c34be00fbbba0571 Signed-off-by: greenfil <mikl@greenfil.ru>
|
/openbmc/bmcweb/ |
H A D | meson.build | diff 4dc23f3fb6c9a7cef84658f8ab3b703d29ec7d57 Wed May 11 13:32:19 CDT 2022 Ed Tanous <edtanous@google.com> Change UpdateService POST URI
As d01e32c3786f2fbbb70c9724a87cf979b4a06232 found, the Redfish specification doesn't allow a direct POST handler on UpdateService. Ideally clients would be following the specification, and relying on the HttpPushUri as the spec requires, so we could simply make this change. Unfortunately, a quick polling of the community shows that a significant number of instances, including the Redfish cheat sheet, and the robot tests, have hardcoded the non-spec behavior. This commit is present to give a trap door to allow easier porting of this behavior to the specification.
The old uri is left, and now returns a WARNING http field, indicating that the uri is deprecated, in case clients have ignored the Redfish specification.
Tested: Ran firmware update instructions from https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/53664
Test gave the same result as previously.
/redfish/v1/UpdateService returns an HttpPushUri that matches the above.
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I7427f461d151c9460160b0b9b366dca5aefc49d5
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | update_service.hpp | diff 4dc23f3fb6c9a7cef84658f8ab3b703d29ec7d57 Wed May 11 13:32:19 CDT 2022 Ed Tanous <edtanous@google.com> Change UpdateService POST URI
As d01e32c3786f2fbbb70c9724a87cf979b4a06232 found, the Redfish specification doesn't allow a direct POST handler on UpdateService. Ideally clients would be following the specification, and relying on the HttpPushUri as the spec requires, so we could simply make this change. Unfortunately, a quick polling of the community shows that a significant number of instances, including the Redfish cheat sheet, and the robot tests, have hardcoded the non-spec behavior. This commit is present to give a trap door to allow easier porting of this behavior to the specification.
The old uri is left, and now returns a WARNING http field, indicating that the uri is deprecated, in case clients have ignored the Redfish specification.
Tested: Ran firmware update instructions from https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/53664
Test gave the same result as previously.
/redfish/v1/UpdateService returns an HttpPushUri that matches the above.
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I7427f461d151c9460160b0b9b366dca5aefc49d5
|