]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: API Version changes doesnt appy to pre-defined methods(list, create...
authorAashish Sharma <aashishsharma@localhost.localdomain>
Wed, 19 May 2021 05:57:13 +0000 (11:27 +0530)
committerAashish Sharma <aashishsharma@localhost.localdomain>
Wed, 26 May 2021 05:00:33 +0000 (10:30 +0530)
commitbb52092cd37855a3dfcfae9287e231865e9af3fa
treeb9bb5a94eae26bd3cdadc5c646ec72037fc82602
parent72478a585c535cbec04dee2efb92be8f0018c23c
mgr/dashboard: API Version changes doesnt appy to pre-defined methods(list, create etc.)

Methods like list(), create(), get() etc doesn't get applied the version.Also for the endpoints that get the version changed, the docs and the request header has still the version v1.0+ in them. So with the version reduced it gives 415 error when trying to make the request. This PR fixes this issue.

Fixes: https://tracker.ceph.com/issues/50855
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
doc/dev/developer_guide/dash-devel.rst
src/pybind/mgr/dashboard/controllers/__init__.py
src/pybind/mgr/dashboard/controllers/docs.py
src/pybind/mgr/dashboard/tests/test_docs.py
src/pybind/mgr/dashboard/tests/test_versioning.py