)]}'
{"oslo/messaging/localcontext.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"8f7ce77008b8536ce8148fb7281b5c0787358afd","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    :returns: the context for the request dispatched in the current thread"},{"line_number":44,"context_line":"    \"\"\""},{"line_number":45,"context_line":"    if ctxt is not None:"},{"line_number":46,"context_line":"        LOG.warn(\u0027deprecated: parameter ctxt is useless and will be removed \u0027"},{"line_number":47,"context_line":"                 \u0027in the future.\u0027)"},{"line_number":48,"context_line":"    return getattr(_STORE, _KEY, None)"},{"line_number":49,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_23cc35bc","line":46,"updated":"2014-12-10 12:26:11.000000000","message":"Is there a way we can use the deprecation code in the versionutils module from the incubator to create this message?","commit_id":"6d7558e8f32b9c1b2c2e60056a6add544bc84381"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"8f7ce77008b8536ce8148fb7281b5c0787358afd","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"def set_local_context(ctxt):"},{"line_number":52,"context_line":"    LOG.warn(\u0027deprecated: this is private API, should not be used\u0027"},{"line_number":53,"context_line":"             \u0027and will be removed the future.\u0027)"},{"line_number":54,"context_line":"    _set_local_context(ctxt)"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_a3bf45fa","line":52,"updated":"2014-12-10 12:26:11.000000000","message":"Same.","commit_id":"6d7558e8f32b9c1b2c2e60056a6add544bc84381"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"8f7ce77008b8536ce8148fb7281b5c0787358afd","unresolved":false,"context_lines":[{"line_number":64,"context_line":""},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"def clear_local_context():"},{"line_number":67,"context_line":"    LOG.warn(\u0027deprecated: this is private API, should not be used\u0027"},{"line_number":68,"context_line":"             \u0027and will be removed the future.\u0027)"},{"line_number":69,"context_line":"    _clear_local_context()"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_4314e1f4","line":67,"updated":"2014-12-10 12:26:11.000000000","message":"Same.","commit_id":"6d7558e8f32b9c1b2c2e60056a6add544bc84381"}],"oslo_messaging/rpc/dispatcher.py":[{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"4d0f7c15871f52828ac2a6c5f773624420b4e138","unresolved":false,"context_lines":[{"line_number":180,"context_line":"                continue"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"            if hasattr(endpoint, method):"},{"line_number":183,"context_line":"                localcontext._set_local_context(ctxt)"},{"line_number":184,"context_line":"                try:"},{"line_number":185,"context_line":"                    return self._do_dispatch(endpoint, method, ctxt, args,"},{"line_number":186,"context_line":"                                             executor_callback)"}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_a1ec9393","line":183,"updated":"2015-01-14 09:57:33.000000000","message":"Why not using oslo.context since this function is deprecated? Or do you prefer to switch to oslo.context in a different changeset?","commit_id":"552300e42549234055190e847a968262722ddaa0"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"d0cdaa5cd020ac8a26516fad2ce3adf1cd069cc8","unresolved":false,"context_lines":[{"line_number":180,"context_line":"                continue"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"            if hasattr(endpoint, method):"},{"line_number":183,"context_line":"                localcontext._set_local_context(ctxt)"},{"line_number":184,"context_line":"                try:"},{"line_number":185,"context_line":"                    return self._do_dispatch(endpoint, method, ctxt, args,"},{"line_number":186,"context_line":"                                             executor_callback)"}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_43b90ceb","line":183,"in_reply_to":"3a961159_a1ec9393","updated":"2015-01-15 07:35:46.000000000","message":"Once the deprecated period is finish, this code will be removed.\n\nOpenstack application have never used that, they are already using oslo.context (or a custom version like nova.context).\n\nThe goals is that oslo.messaging doesn\u0027t set the context anymore.\nThe application have to do it them (and already do it themselve, example: https://github.com/openstack/nova/blob/master/nova/rpc.py#L113)","commit_id":"552300e42549234055190e847a968262722ddaa0"}]}
