[ckan-changes] [ckan/ckan] c89326: Start of migration to Flask.

GitHub noreply at github.com
Fri Sep 4 14:36:07 UTC 2015


  Branch: refs/heads/flask-poc
  Home:   https://github.com/ckan/ckan
  Commit: c89326e3738725ec531599a63aae872d7888b566
      https://github.com/ckan/ckan/commit/c89326e3738725ec531599a63aae872d7888b566
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-09-04 (Fri, 04 Sep 2015)

  Changed paths:
    A ckan/ckan_app.py
    M ckan/config/middleware.py
    M ckan/controllers/api.py
    A ckan/controllers/flapi.py
    M requirements.txt

  Log Message:
  -----------
  Start of migration to Flask.

Currently routes /api/4/* to a Flask controller which will then:

1. Only process GET requests
2. Not handle auth at all.

Will require the DispatcherMiddleware be replaced to hand
requests to Flask based on the paths that the Flask app says
it can handle.  Flask though will then be given a partial path
and so the request path will need reconstituting.




More information about the ckan-changes mailing list