]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: restcontroller: minor improvements and bug fixes
authorRicardo Dias <rdias@suse.com>
Tue, 12 Jun 2018 14:24:35 +0000 (15:24 +0100)
committerRicardo Dias <rdias@suse.com>
Thu, 14 Jun 2018 13:41:20 +0000 (14:41 +0100)
commite707c13fcc2eb781ec9a9bc80878d9fc95eebc32
treec68136e08c1d173d957a5cd7623364b8303727ca
parentbb5a296fe8209ad362325244f9d28e251bfef76b
mgr/dashboard: restcontroller: minor improvements and bug fixes

This commit fixes a bug in the resource id inference, and improves
the detection of the type of parameters in methods accessed by GET,
or DELETE.

It also adds the support to override the URL path suffix for
@Collection and @Resource methods.

Signed-off-by: Ricardo Dias <rdias@suse.com>
src/pybind/mgr/dashboard/controllers/__init__.py