]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: make modified API endpoints backward compatible
authorAvan Thakkar <athakkar@redhat.com>
Thu, 23 Sep 2021 11:15:16 +0000 (16:45 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Fri, 24 Sep 2021 13:18:35 +0000 (18:48 +0530)
commit88a8732215240c9ab4abe23e8909fe3ac544d5fd
tree2b3628c2231ccedd7caf3302a488969410fb1c93
parent254bf8e883d73dc83cda6ac28689f4a64a60f670
mgr/dashboard: make modified API endpoints backward compatible

Fixes: https://tracker.ceph.com/issues/52480
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Introducing APIVersion class to handle versioning for API-endpints and making
them backward compatible.
14 files changed:
qa/tasks/mgr/dashboard/__init__.py
qa/tasks/mgr/dashboard/helper.py
qa/tasks/mgr/dashboard/test_api.py
qa/tasks/mgr/dashboard/test_requests.py
src/pybind/mgr/dashboard/__init__.py
src/pybind/mgr/dashboard/controllers/__init__.py
src/pybind/mgr/dashboard/controllers/docs.py
src/pybind/mgr/dashboard/frontend/cypress/support/commands.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/host.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/classes/cd-helper.class.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.ts
src/pybind/mgr/dashboard/tests/__init__.py
src/pybind/mgr/dashboard/tests/test_tools.py
src/pybind/mgr/dashboard/tests/test_versioning.py