]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Moves ECP info endpoint to UI-API
authorStephan Müller <smueller@suse.com>
Mon, 2 Mar 2020 09:57:16 +0000 (10:57 +0100)
committerStephan Müller <smueller@suse.com>
Mon, 9 Mar 2020 11:35:57 +0000 (12:35 +0100)
commit3e400f6a0b6bc4747923099c2ae1cf83e35f0806
tree110f7a9b2330f1155bcbd1957d3884ca47ca68a1
parentda52dec5522b3b279b2fb28e85ed03d5618ca737
mgr/dashboard: Moves ECP info endpoint to UI-API

Moves the "_info" endpoint of erasure code profile into an equivalent
UI-API call with the name "info".

The serialization of the profile was outsourced into "ceph-service" as
it's used somewhere else (follow up commit).

Removed unused methods in angular service and REST controller.

Fixed path in angular service.

Fixes: https://tracker.ceph.com/issues/44371
Signed-off-by: Stephan Müller <smueller@suse.com>
qa/tasks/mgr/dashboard/test_erasure_code_profile.py
src/pybind/mgr/dashboard/controllers/erasure_code_profile.py
src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts
src/pybind/mgr/dashboard/services/ceph_service.py
src/pybind/mgr/dashboard/tests/test_erasure_code_profile.py