]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
restful: Prepare for api file split
authorBoris Ranto <branto@redhat.com>
Tue, 9 May 2017 07:53:46 +0000 (09:53 +0200)
committerBoris Ranto <branto@redhat.com>
Mon, 22 May 2017 17:19:02 +0000 (19:19 +0200)
commite58ba75bc0b850d7cee8055bf51ca5653af79bb7
treeb90e4349346c743d07baeeda62496ec4891d5b4b
parentcdd2079dbb9b4d26e895367e97fe8f2b3d1a1228
restful: Prepare for api file split

The patch moves decorators into a separate file so they could be shared
amongst various files.

It also fixes key generation in werkzeug 0.10+ and fixes get input
method on various endpoints.

Signed-off-by: Boris Ranto <branto@redhat.com>
src/pybind/mgr/restful/api.py
src/pybind/mgr/restful/decorators.py [new file with mode: 0644]
src/pybind/mgr/restful/module.py