]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Address API inconsistencies 35802/head
authorFabrizio D'Angelo <fdangelo@redhat.com>
Fri, 26 Jun 2020 13:50:15 +0000 (09:50 -0400)
committerAvan Thakkar <athakkar@redhat.com>
Mon, 31 Aug 2020 18:15:49 +0000 (23:45 +0530)
commit871df3671c0df4943e047800ff56ec076b931687
treee13a280aecc7f0c1a51a2a3dd2d9d35eac9354ee
parent103fd4af216820fefa12a2ec9576f9eb305fc05f
mgr/dashboard: Address API inconsistencies

Cephfs endpoints are inconsistencies with other endpoints.

* Change rm endpoints from GET to DELETE requests
* Change set_quotas from POST to PUT
* Renames endpoints accordingly
* Changes related angular files
* update a few lines related to mypy
* remove future import as the python2 compatibility is not needed

Fixes: https://tracker.ceph.com/issues/46160
Signed-off-by: Fabrizio D'Angelo <fdangelo@redhat.com>
(cherry picked from commit 222286b08bde3600d50a6deb25e7425c17e9e482)
qa/tasks/mgr/dashboard/test_cephfs.py
src/pybind/mgr/dashboard/controllers/cephfs.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/cephfs.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/cephfs.service.ts