Reviewed: https://review.openstack.org/609535 Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=ee9b035cf17f0070dfb392505e44ea2961e2cf4b Submitter: Zuul Branch: master
commit ee9b035cf17f0070dfb392505e44ea2961e2cf4b Author: Morgan Fainberg <email address hidden> Date: Wed Oct 10 13:12:32 2018 -0700
Replace JSON Body middleware with flask-native func
Replace the JSON Body middleware with flask-native before-request function.
The body filtering and storing data in request.environ['openstack.params'] was not used in the code base and has been dropped.
Test Changes:
* JSON Body middleware has been removed, no testing of the removed code
* JSON Body Before Request Method has been implemented and associated testing (mirroring the JSON Body middleware code).
* Test entry points no longer looks for JSON Body middleware.
Change-Id: I84491865870b6bf2b8f094b524ee8b77510f0054 Partial-Bug: #1776504
Reviewed: https:/ /review. openstack. org/609535 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=ee9b035cf17 f0070dfb392505e 44ea2961e2cf4b
Committed: https:/
Submitter: Zuul
Branch: master
commit ee9b035cf17f007 0dfb392505e44ea 2961e2cf4b
Author: Morgan Fainberg <email address hidden>
Date: Wed Oct 10 13:12:32 2018 -0700
Replace JSON Body middleware with flask-native func
Replace the JSON Body middleware with flask-native before-request
function.
The body filtering and storing data in environ[ 'openstack. params' ] was not used in the code base and
request.
has been dropped.
Test Changes:
* JSON Body middleware has been removed, no testing of the removed code
* JSON Body Before Request Method has been implemented and associated
testing (mirroring the JSON Body middleware code).
* Test entry points no longer looks for JSON Body middleware.
Change-Id: I84491865870b6b f2b8f094b524ee8 b77510f0054
Partial-Bug: #1776504