]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Refactor RGW backend 21784/head
authorVolker Theile <vtheile@suse.com>
Wed, 2 May 2018 15:33:24 +0000 (17:33 +0200)
committerVolker Theile <vtheile@suse.com>
Mon, 7 May 2018 09:58:25 +0000 (11:58 +0200)
commitad997b54c2728b9a72745b69fbe80c94db6eefc8
tree4c1a977e48c842fc4f3ac6558bd128e79639594d
parentae2b702c9e0264f31f98d9fd25c78da6f044fba3
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>
doc/mgr/dashboard.rst
src/pybind/mgr/dashboard/exceptions.py
src/pybind/mgr/dashboard/services/rgw_client.py