]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard_v2: Move `dashboard/toplevel` to a new controller
authorSebastian Wagner <sebastian.wagner@suse.com>
Thu, 22 Feb 2018 13:52:08 +0000 (14:52 +0100)
committerRicardo Dias <rdias@suse.com>
Mon, 5 Mar 2018 13:07:15 +0000 (13:07 +0000)
commit92ef46eb8f29e95654c02e61a9050d852ac7c02a
tree74029e2f45fcf9f7d0ab130f5d9548df18b7d63a
parentd7735fa8247f04d3b05245d4f1f6a27290f18f10
mgr/dashboard_v2: Move `dashboard/toplevel` to a new controller

Details:

* Moved `/dashboard/toplevel` API endpoint to `/summary`.
* Moved testcase to `tests/test_summary.py`.
* Also renamed service in the frontend.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/dashboard_v2/controllers/dashboard.py
src/pybind/mgr/dashboard_v2/controllers/summary.py [new file with mode: 0644]
src/pybind/mgr/dashboard_v2/frontend/src/app/core/navigation/navigation/navigation.component.html
src/pybind/mgr/dashboard_v2/frontend/src/app/core/navigation/navigation/navigation.component.ts
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/services/services.module.ts
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/services/summary.service.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/services/summary.service.ts [new file with mode: 0644]
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/services/top-level.service.spec.ts [deleted file]
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/services/top-level.service.ts [deleted file]
src/pybind/mgr/dashboard_v2/tests/test_dashboard.py
src/pybind/mgr/dashboard_v2/tests/test_summary.py [new file with mode: 0644]