]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard_v2: adaptation of dashboard RemoteViewCache as a decorator
authorRicardo Dias <rdias@suse.com>
Tue, 6 Feb 2018 12:47:40 +0000 (12:47 +0000)
committerRicardo Dias <rdias@suse.com>
Mon, 5 Mar 2018 13:07:07 +0000 (13:07 +0000)
commit349c1ff3d278cacc64e88f17c0edbbbc154ac4d0
tree65f5878c7347b1d3d3f68ed4d81c2ae45cd65a51
parent1dd62fdf4e01721471adaef17237ee89d707a130
mgr/dashboard_v2: adaptation of dashboard RemoteViewCache as a decorator

We implemented a decorator called `ViewCache` that implements a similar
functionality as the dashboard `RemoteViewCache` class.
We even copied part of the code and adapted to the current
infrastructure.

Signed-off-by: Ricardo Dias <rdias@suse.com>
src/pybind/mgr/dashboard_v2/tools.py