summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-05-14 12:25:21 -0500
committerMatt Spinler <spinler@us.ibm.com>2018-05-24 10:22:26 -0500
commitb1f6a2cd8e0764955058757d4372a2366cc0d350 (patch)
tree70a6e147e47593f8bbcc77c64598d7179e42f1f3 /MAINTAINERS
parent57068618982edec6ad3a4be9117766aec525629f (diff)
downloadphosphor-rest-server-b1f6a2cd8e0764955058757d4372a2366cc0d350.tar.gz
phosphor-rest-server-b1f6a2cd8e0764955058757d4372a2366cc0d350.zip
Don't fail on missing Delete interfaces
On the DELETE HTTP request, don't immediately fail if the specified bus does't provide the delete interface on the specified path, just skip it instead. Only return the 403 error if nothing at all ended up being deleted on the request. This allows multiple services to host the same object path while only requiring one to support the delete interface. The others will just listen for the interfaces removed signal to remove their objects. Resolves openbmc/openbmc#3181 Tested: * Issue a -X DELETE with curl on a path provided by multiple services where only 1 provides the delete interface. * Issue a -X POST .../action/delete with curl with the same test setup. * Issue a -X DELETE with curl on a path without a delete interface and get a 403 back. Change-Id: Ib76c80081361160e617ddfe8b48e3e4588abce67 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud