Files
osprofiler/doc/specs/implemented/make_paste_ini_config_optional.rst
Tovin Seven 224e9218cb Move implemeted specs to implemented directory
Just to avoid confusion for new contributors

Change-Id: I4d5525face984dae96e0069b9f2ecd38d1d0ba0e
2017-01-24 15:53:06 +07:00

2.3 KiB

Make api-paste.ini Arguments Optional

Problem description

Integration of OSprofiler with OpenStack projects is harder than it should be, it requires keeping part of arguments inside api-paste.ini files and part in projects.conf file.

We should make all configuration options from api-paste.ini file optional and add alternative way to configure osprofiler.web.WsgiMiddleware

Proposed change

Integration of OSprofiler requires 2 changes in api-paste.ini file:

We should make hmac_keys and enabled variable optional, create separated method from initialization of wsgi middleware and cut new release. After that remove

Alternatives

None.

Implementation

Assignee(s)

Primary assignee:

dbelova

Work Items

  • Modify osprofiler.web.WsgiMiddleware to make hmac_keys optional (done)
  • Add alternative way to setup osprofiler.web.WsgiMiddleware, e.g. extra argument hmac_keys to enable() method (done)
  • Cut new release 0.3.1 (tbd)
  • Fix the code in all projects: remove api-paste.ini arguments and use osprofiler.web.enable with extra argument (tbd)

Dependencies

  • Cinder, Glance, Trove - projects should be fixed