]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: connect-rgw: rename to set-rgw-credentials; refactoring
authorAlfonso Martínez <almartin@redhat.com>
Fri, 6 Aug 2021 06:57:47 +0000 (08:57 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 2 Sep 2021 14:24:37 +0000 (16:24 +0200)
commitbd0a36c1d6cdd27d12e19af74d8a55eda3f21b45
treefbc1e06f7ee5c0a78305ddc565599821c3b5625c
parent59d890e33cb903a506c8a8993a8bbe135296335f
mgr/dashboard: connect-rgw: rename to set-rgw-credentials; refactoring

- Rename the dashboard command to better reflect its behavior.
- Rename '_radosgw_admin' method to 'send_rgwadmin_command' for consistency with
  'send_mon_command' and move it to the mgr_module.py .
- Cleanup: remove unneeded rgw settings.
- Better error handling and test coverage.

Fixes: https://tracker.ceph.com/issues/44605
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 6e20ef1dd35f3681d14cd4e08ca63eb20edc2c88)
doc/mgr/dashboard.rst
qa/tasks/mgr/dashboard/test_rgw.py
qa/tasks/mgr/dashboard/test_settings.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.e2e-spec.ts
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/services/rgw_client.py
src/pybind/mgr/dashboard/settings.py
src/pybind/mgr/dashboard/tests/__init__.py
src/pybind/mgr/dashboard/tests/test_rgw_client.py
src/pybind/mgr/mgr_module.py