]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Implement RGW proxy
authorPatrick Nawracay <pnawracay@suse.com>
Tue, 20 Mar 2018 08:03:30 +0000 (09:03 +0100)
committerVolker Theile <vtheile@suse.com>
Wed, 11 Apr 2018 10:26:42 +0000 (12:26 +0200)
commite4a0b12abf7c4f4faf2fe00bbb4d71d9418391e0
tree885c33431ae5db0f4bbbcb0982cf12549ed7605e
parent460882543a4e6fac48118c52e6a6640b2d02fa77
mgr/dashboard: Implement RGW proxy

This implementation is basically a Rados Gateway reverse proxy.  It
additionally takes care of the authentication to the Rados Gateway, but to use
it you will have to be authenticated against the dashboards RESTful API.

The corresponding credentials can be configured using the following commands:

    dashboard set-rgw-api-secret-key <secret-key>

    dashboard set-rgw-api-access-key <access-key>

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
12 files changed:
qa/tasks/mgr/dashboard/helper.py
qa/tasks/mgr/dashboard/test_rgw.py
src/pybind/mgr/dashboard/README.rst
src/pybind/mgr/dashboard/awsauth.py
src/pybind/mgr/dashboard/controllers/rgw.py
src/pybind/mgr/dashboard/exceptions.py [new file with mode: 0644]
src/pybind/mgr/dashboard/rest_client.py [new file with mode: 0644]
src/pybind/mgr/dashboard/services/rgw_client.py [new file with mode: 0644]
src/pybind/mgr/dashboard/settings.py
src/pybind/mgr/dashboard/tests/test_tools.py
src/pybind/mgr/dashboard/tools.py
src/pybind/mgr/dashboard/tox.ini