]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: feature-toggles: Add REST hook
authorErnesto Puerta <epuertat@redhat.com>
Tue, 29 Jan 2019 12:16:54 +0000 (13:16 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Wed, 6 Feb 2019 17:08:01 +0000 (18:08 +0100)
commit0c8d8d1a3e336fd2e26f4947d19af47a162c3762
treee0f0a79575aaa5966dd61887840338e45faf4efe
parent3548cfb9fc67963d1e2aed61b951e2ca6e4559ea
mgr/dashboard: feature-toggles: Add REST hook

Provide a hook for creating REST controllers and endpoints. Provide also
a REST controller for Feature Toggles plugin.

Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/dashboard/controllers/__init__.py
src/pybind/mgr/dashboard/plugins/feature_toggles.py
src/pybind/mgr/dashboard/plugins/interfaces.py