]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Refactor RGW backend 21855/head
authorVolker Theile <vtheile@suse.com>
Wed, 9 May 2018 08:29:11 +0000 (10:29 +0200)
committerVolker Theile <vtheile@suse.com>
Wed, 9 May 2018 08:29:11 +0000 (10:29 +0200)
commit0127606f83e92583652f9dd77723ecb1df655e89
tree3979d7c78d227c9355baaeb47ca48db840bccb12
parent8f7e98919e5f9082b0c621ed6e7a4a2d585e6ae3
mgr/dashboard: Refactor RGW backend

- Do some polishing in the docs.
- Refactor RgwClient::is_service_online() method. The system is considered as online if the response structure is valid. The response content itself is not validated in this case.
- Relocate NoCredentialsException and derive it from RequestException.

Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit ad997b54c2728b9a72745b69fbe80c94db6eefc8)
doc/mgr/dashboard.rst
src/pybind/mgr/dashboard/exceptions.py
src/pybind/mgr/dashboard/services/rgw_client.py