]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: feature-toggles: Add plugin
authorErnesto Puerta <epuertat@redhat.com>
Fri, 25 Jan 2019 21:43:23 +0000 (22:43 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Wed, 6 Feb 2019 17:08:01 +0000 (18:08 +0100)
commit3548cfb9fc67963d1e2aed61b951e2ca6e4559ea
treef25e5020f4d087ae467db5359dfcb09421776456
parent356a067300fafcf77add85d3151877bb5af09308
mgr/dashboard: feature-toggles: Add plugin

Add feature-toggles plugin. It allows to enable, disable and check
status of a feature. Features are disabled by making their
corresponding enpoints return HTTP 501 error (Not Implemented).

Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/plugins/feature_toggles.py [new file with mode: 0644]