)]}'
{"aodh/service.py":[{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"043f7fcce66d9c9ec240ac7325fc393b69b8b6d2","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    # configuration into the middleware. Normally it would be global"},{"line_number":141,"context_line":"    # but we don\u0027t do that here."},{"line_number":142,"context_line":"    # See: https://bugs.launchpad.net/aodh/+bug/1481070"},{"line_number":143,"context_line":"    import keystonemiddleware.auth_token as at"},{"line_number":144,"context_line":"    at.CONF \u003d conf"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"    return conf"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_87bb5c0e","line":143,"updated":"2015-08-03 21:08:48.000000000","message":"In gnocchi, I have used that to avoid global thing:\n\n    keystoneclient.auth.register_conf_options(conf, \u0027keystone_authtoken\u0027)\n    keystoneclient.auth.load_from_conf_options(conf, \u0027keystone_authtoken\u0027)","commit_id":"8d18fdd8c7999a7057985ae75f738a7d570b5fa8"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"66d29f6b35b4662bbdd07d90d5971b252afac1fe","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    # configuration into the middleware. Normally it would be global"},{"line_number":141,"context_line":"    # but we don\u0027t do that here."},{"line_number":142,"context_line":"    # See: https://bugs.launchpad.net/aodh/+bug/1481070"},{"line_number":143,"context_line":"    import keystonemiddleware.auth_token as at"},{"line_number":144,"context_line":"    at.CONF \u003d conf"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"    return conf"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_5682e353","line":143,"in_reply_to":"1a4dcd0f_676c109d","updated":"2015-08-03 22:04:13.000000000","message":"Yeah, it\u0027s not enough because gnocchi has it\u0027s own middleware loader that gets gnocchi\u0027s conf into the keystonemiddleware: https://github.com/openstack/gnocchi/blob/master/gnocchi/rest/app.py#L140-L144\n\nwhereas aodh still uses paste.deploy. Something has to get aodh\u0027s conf into the middleware.","commit_id":"8d18fdd8c7999a7057985ae75f738a7d570b5fa8"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"52cf4370bc3a50f4e2c62b0c48e715211c1796a6","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    # configuration into the middleware. Normally it would be global"},{"line_number":141,"context_line":"    # but we don\u0027t do that here."},{"line_number":142,"context_line":"    # See: https://bugs.launchpad.net/aodh/+bug/1481070"},{"line_number":143,"context_line":"    import keystonemiddleware.auth_token as at"},{"line_number":144,"context_line":"    at.CONF \u003d conf"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"    return conf"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_676c109d","line":143,"in_reply_to":"1a4dcd0f_87bb5c0e","updated":"2015-08-03 21:10:12.000000000","message":"See https://github.com/openstack/gnocchi/blob/master/gnocchi/service.py#L64-L73 for more detail","commit_id":"8d18fdd8c7999a7057985ae75f738a7d570b5fa8"}]}
