Fix of new code update path
Changes:
- Added support for new code update path
/redfish/v1/UpdateService/update
Tested:
- Ran successfully
oem/nuvoton/test_redfish_mcu_fw_update.robot
redfish/update_service/test_redfish_host_code_update.robot
redfish/update_service/test_redfish_signed_image_update.robot
Change-Id: I01282c2c25ee43990fa9ba905243bbebed5da774
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/oem/nuvoton/test_redfish_mcu_fw_update.robot b/oem/nuvoton/test_redfish_mcu_fw_update.robot
index d1dcd3e..47e5429 100644
--- a/oem/nuvoton/test_redfish_mcu_fw_update.robot
+++ b/oem/nuvoton/test_redfish_mcu_fw_update.robot
@@ -93,7 +93,11 @@
Set ApplyTime policy=${apply_time}
- Redfish Upload Image /redfish/v1/UpdateService ${image_file_path}
+ # URI : /redfish/v1/UpdateService
+ # "HttpPushUri": "/redfish/v1/UpdateService/update",
+
+ ${redfish_update_uri}= Get Redfish Update Service URI
+ Redfish Upload Image ${redfish_update_uri} ${image_file_path}
Sleep 30s
${image_version}= Get Version Tar ${image_file_path}