commit 3e3ba18bfaf82711689a45ae03efdba78e6e856e
Author: Morgan Fainberg <email address hidden>
Date: Tue Jun 12 06:42:21 2018 -0700
Convert json_home and version discovery to Flask
Move the JSON Home Document and Version Discovery Documents out of
the webob-based mapper and into Flask.
This change removes the keystone.version.controller and
keystone.version.router modules as they have been moved into
keystone.api.discovery.
The keystone.api.discovery module is somewhat specialized as there
are no "resources" and it must handle multiple types of responses
based upon the ACCEPTS header (JSON Home or JSON). In lieu of the
flask-RESTful mechanisms, keystone.api.discovery utilizes bare
flask blueprint and functions. Minor scaffolding work has been done
to ensure the discovery blueprint can be loaded via the loader loop
in keystone.server.flask.application (a stub object in
keystone.api.discovery).
Reviewed: https:/ /review. openstack. org/574736 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=3e3ba18bfaf 82711689a45ae03 efdba78e6e856e
Committed: https:/
Submitter: Zuul
Branch: master
commit 3e3ba18bfaf8271 1689a45ae03efdb a78e6e856e
Author: Morgan Fainberg <email address hidden>
Date: Tue Jun 12 06:42:21 2018 -0700
Convert json_home and version discovery to Flask
Move the JSON Home Document and Version Discovery Documents out of
the webob-based mapper and into Flask.
This change removes the keystone. version. controller and version. router modules as they have been moved into api.discovery.
keystone.
keystone.
The keystone. api.discovery module is somewhat specialized as there api.discovery utilizes bare server. flask.applicati on (a stub object in api.discovery) .
are no "resources" and it must handle multiple types of responses
based upon the ACCEPTS header (JSON Home or JSON). In lieu of the
flask-RESTful mechanisms, keystone.
flask blueprint and functions. Minor scaffolding work has been done
to ensure the discovery blueprint can be loaded via the loader loop
in keystone.
keystone.
Partial-Bug: #1776504 47661bb9853de78 72a837322e0
Change-Id: Ib25380cefdbb71