]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Task wrapper service
authorStephan Müller <smueller@suse.com>
Tue, 15 May 2018 14:45:25 +0000 (16:45 +0200)
committerStephan Müller <smueller@suse.com>
Thu, 14 Jun 2018 14:46:35 +0000 (16:46 +0200)
commit3201ba6f7d58aaf61ad04e1dd1bfd57123e12887
treec55c0a82f265a9c323969e23436b52cee7c4195b
parentd785010a35c4b49dca27ca64cbc082e00aeb3fe4
mgr/dashboard: Task wrapper service

Has a method to wrap an API call into a task.

Fixes: https://tracker.ceph.com/issues/24134
Signed-off-by: Stephan Müller <smueller@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/models/task.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/task-wrapper.service.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/services/task-wrapper.service.ts [new file with mode: 0644]