Files
cyborg/cyborg/api
Yumeng Bao 5e92c6635c fix api context load failure for cyborg-api runs by uwsgi
when deployable POST request[0] is made with admin user, it always returns
a 403 forbidden code. This patch fixes the bug.
The root cause is that "return app.app_factory(CONF)" in init_application()
will only load app:api_v1(see in [1]) and miss others filters:authtoken etc.

[0]: curl -g -i -X POST http://192.168.23.76/accelerator/v1/deployables
[1]: /etc/cyborg/api-paste.ini

Change-Id: I1498705271fe6de6fc42db9b73221d9794c36b2b
2019-04-01 02:34:33 -07:00
..
2017-07-21 10:00:04 +08:00
2018-06-07 21:42:52 +08:00
2017-08-21 09:25:48 +08:00
2017-07-21 10:00:04 +08:00
2018-06-07 21:42:52 +08:00