This class provides methods to get the list of services registered in
the cluster, and also to get the list of pools by application type.
Signed-off-by: Ricardo Dias <rdias@suse.com>
The key value table can transform the input data into key value objects
now, you don't have to care about that anymore.
Also the first column of the data used in cd-table will be sorted if
not set manual through the "sorts" array.
Signed-off-by: Stephan Müller <smueller@suse.com>
This commit adds the ability to retrieve and filter the cluster
configuration of Ceph through the RESTful API.
Parameters `level` and `service` can be added to filter the list.
Example:
http://<host>:<port>/api/cluster_conf?level=basic&service=mds
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Add a 404 page that will be triggered every time the user tries to
access a route that does not exists or the servers responds with 404.
Signed-off-by: Tiago Melo <tmelo@suse.com>
By moving the datatable module outside of the components module we
can avoid a circular dependency between the datatable and sparkline
component.
Signed-off-by: Tiago Melo <tmelo@suse.com>
This commit will add a StandbyModule class to enable redirects from any
inactive MGR instance to the active MGR instance.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Moved developer-related documentation from `README.rst` to a
new file `HACKING.rst`.
Converted `frontend/README.md` to ReST and merged it into `HACKING.rst`.
Added updates to the README provided by @rjfd in PR#83
(updated the whole unit tests content to match the latest changes
on unit test execution, updated the development notes about
controller development)
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
This modifies how pool detail show the cache information to the user
and implements a continuous update of the images information.
Signed-off-by: Tiago Melo <tmelo@suse.com>
This component should be used in components that access endpoints
that implement ViewCache.
It will inform the user if the data is stale or if there were some
problems fetching it.
Signed-off-by: Tiago Melo <tmelo@suse.com>
The table column definition is extended by "cellTransformation"
property, which is filled through the use of "CellTemplate" enum.
If you have set that, a specific template reference will be used for
the ngx column property "cellTemplate". All references are stored
at the bottom of the data table template.
Signed-off-by: Stephan Müller <smueller@suse.com>
The `ApiController` decorator is used to define a API endpoints. This
change will enable to use `/` in paths, so that nested controllers can
be used.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>