]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: connect-rgw: adaptation and test coverage
authorAlfonso Martínez <almartin@redhat.com>
Wed, 28 Jul 2021 07:48:18 +0000 (09:48 +0200)
committerAlfonso Martínez <almartin@redhat.com>
Tue, 10 Aug 2021 12:06:03 +0000 (14:06 +0200)
commit0fcf0a7827cf4e8748a382613f9c8d1715c4a1e8
tree9de48cd223232a2a5b493bd217d0f8827ce311c0
parent91e185d956495885575f052848204169937efde7
mgr/dashboard: connect-rgw: adaptation and test coverage

- Align Dashboard with cephadm: configure credentials using the same logic.
- Fix: create a 'dashboard' user per realm (before: only on 1st realm).
- Lint fixes, test coverage, method renaming to better reflect behavior and method visibility.

Fixes: https://tracker.ceph.com/issues/44605
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/services/rgw_client.py
src/pybind/mgr/dashboard/tests/__init__.py
src/pybind/mgr/dashboard/tests/test_rgw_client.py