summaryrefslogtreecommitdiffstats
path: root/servers/gevent
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2018-03-12 13:05:50 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2018-04-10 10:37:59 -0500
commit53693891092b5aa333caf636c91dd0c643153780 (patch)
tree06cf6d037c2014d484171c68780fb184a7495049 /servers/gevent
parentfe3a099b901cf376f3b965246aa337c6035d75f0 (diff)
downloadphosphor-rest-server-53693891092b5aa333caf636c91dd0c643153780.tar.gz
phosphor-rest-server-53693891092b5aa333caf636c91dd0c643153780.zip
rest_dbus: upload: Return version id
In the put/post upload handler, subscribe to the signal for InterfacesAdded to the software path and return the version id which is the last item of the path, wait up to 10 seconds for the new software D-Bus object to be created. Tested: https://${bmc}/upload/image method returns the version id: Before: { "data": null, "message": "200 OK", "status": "ok" } After: { "data": "84fb16be", "message": "200 OK", "status": "ok" } Change-Id: I307079f9a3b8f05bc42bc77c89e7976920c668a5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'servers/gevent')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud