)]}'
{"ceilometer/collector/service.py":[{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"5916c698cd24e4af006e69e7673187091f22292c","unresolved":false,"context_lines":[{"line_number":56,"context_line":"    cfg.MultiStrOpt(\u0027dispatcher\u0027,"},{"line_number":57,"context_line":"                    default\u003d[\u0027database\u0027],"},{"line_number":58,"context_line":"                    help\u003d\u0027dispatcher to process metering data\u0027),"},{"line_number":59,"context_line":"    cfg.MultiStrOpt(\u0027notification_topics\u0027,"},{"line_number":60,"context_line":"                    default\u003d[\u0027notifications.*\u0027],"},{"line_number":61,"context_line":"                    help\u003d\u0027AMQP topic used for openstack notifications\u0027),"},{"line_number":62,"context_line":"    cfg.MultiStrOpt(\u0027amqp_exchanges\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2FPD8%3D","line":59,"updated":"2013-10-01 19:56:41.000000000","message":"This flag is already used by the rpc_notifier ... we\u0027ll need something different.","commit_id":"566acec0c2c4484e39c9b5a38d11ae3167dff576"},{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"5916c698cd24e4af006e69e7673187091f22292c","unresolved":false,"context_lines":[{"line_number":58,"context_line":"                    help\u003d\u0027dispatcher to process metering data\u0027),"},{"line_number":59,"context_line":"    cfg.MultiStrOpt(\u0027notification_topics\u0027,"},{"line_number":60,"context_line":"                    default\u003d[\u0027notifications.*\u0027],"},{"line_number":61,"context_line":"                    help\u003d\u0027AMQP topic used for openstack notifications\u0027),"},{"line_number":62,"context_line":"    cfg.MultiStrOpt(\u0027amqp_exchanges\u0027,"},{"line_number":63,"context_line":"                    default\u003d[\u0027nova\u0027, \u0027glance\u0027, \u0027cinder\u0027, \u0027neutron\u0027],"},{"line_number":64,"context_line":"                    help\u003d\"Exchanges to consume notifications from\"),"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2FPDw%3D","line":61,"updated":"2013-10-01 19:56:41.000000000","message":"Not AMQP specific. Just say \"queue\"","commit_id":"566acec0c2c4484e39c9b5a38d11ae3167dff576"},{"author":{"_account_id":236,"name":"Monsyne Dragon","email":"mdragon@rackspace.com","username":"mdragon"},"change_message_id":"6d58d2f022c59045f95873e91f16e1425577f00c","unresolved":false,"context_lines":[{"line_number":58,"context_line":"                    help\u003d\u0027dispatcher to process metering data\u0027),"},{"line_number":59,"context_line":"    cfg.MultiStrOpt(\u0027notification_topics\u0027,"},{"line_number":60,"context_line":"                    default\u003d[\u0027notifications.*\u0027],"},{"line_number":61,"context_line":"                    help\u003d\u0027AMQP topic used for openstack notifications\u0027),"},{"line_number":62,"context_line":"    cfg.MultiStrOpt(\u0027amqp_exchanges\u0027,"},{"line_number":63,"context_line":"                    default\u003d[\u0027nova\u0027, \u0027glance\u0027, \u0027cinder\u0027, \u0027neutron\u0027],"},{"line_number":64,"context_line":"                    help\u003d\"Exchanges to consume notifications from\"),"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2FO%2BI%3D","line":61,"in_reply_to":"AAAAS3%2F%2FPDw%3D","updated":"2013-10-01 20:30:21.000000000","message":"I\u0027d say \u0027exchange\u0027 or \u0027notification_exchanges\u0027.","commit_id":"566acec0c2c4484e39c9b5a38d11ae3167dff576"},{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"5916c698cd24e4af006e69e7673187091f22292c","unresolved":false,"context_lines":[{"line_number":152,"context_line":"        \u0027\u0027\u0027Consumers must be declared before consume_thread start.\u0027\u0027\u0027"},{"line_number":153,"context_line":"        LOG.debug(\u0027initialize_service_hooks\u0027)"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"        # Before any of this is of use, we need working AMQP consumers."},{"line_number":156,"context_line":"        self._setup_subscription()"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"        self.pipeline_manager \u003d pipeline.setup_pipeline("}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2FPDs%3D","line":155,"updated":"2013-10-01 19:56:41.000000000","message":"\"... working consumers.\"","commit_id":"566acec0c2c4484e39c9b5a38d11ae3167dff576"},{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"5916c698cd24e4af006e69e7673187091f22292c","unresolved":false,"context_lines":[{"line_number":194,"context_line":"        \"\"\""},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"        ack_on_error \u003d cfg.CONF.collector.ack_on_event_error"},{"line_number":197,"context_line":"        for exchange in cfg.CONF.collector.amqp_exchanges:"},{"line_number":198,"context_line":"            for topic in cfg.CONF.collector.notification_topics:"},{"line_number":199,"context_line":"                try:"},{"line_number":200,"context_line":"                    self.conn.join_consumer_pool("}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2FPBQ%3D","line":197,"updated":"2013-10-01 19:56:41.000000000","message":"see comment elsewhere about exchange/topic definitions.","commit_id":"566acec0c2c4484e39c9b5a38d11ae3167dff576"},{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"5916c698cd24e4af006e69e7673187091f22292c","unresolved":false,"context_lines":[{"line_number":210,"context_line":"                except Exception:"},{"line_number":211,"context_line":"                    LOG.exception(\u0027Could not join consumer pool %s/%s\u0027 %"},{"line_number":212,"context_line":"                                  (topic, exchange))"},{"line_number":213,"context_line":"        LOG.audit(\u0027call_args: %s\u0027 % str(self.conn.call_args_list))"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"    def record_metering_data(self, context, data):"},{"line_number":216,"context_line":"        \"\"\"RPC endpoint for messages we send to ourself"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2FPBM%3D","line":213,"updated":"2013-10-01 19:56:41.000000000","message":"leftover?","commit_id":"566acec0c2c4484e39c9b5a38d11ae3167dff576"},{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"5916c698cd24e4af006e69e7673187091f22292c","unresolved":false,"context_lines":[{"line_number":230,"context_line":""},{"line_number":231,"context_line":"        \"\"\""},{"line_number":232,"context_line":"        LOG.debug(\u0027notification %r\u0027, notification.get(\u0027event_type\u0027))"},{"line_number":233,"context_line":"        if cfg.CONF.collector.enable_sample_pipeline:"},{"line_number":234,"context_line":"            self.notification_manager.map(self._process_notification_for_ext,"},{"line_number":235,"context_line":"                                          notification\u003dnotification)"},{"line_number":236,"context_line":"        if cfg.CONF.collector.store_events:"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2FPA8%3D","line":233,"updated":"2013-10-01 19:56:41.000000000","message":"wouldn\u0027t simply having no sample plugins defined be enough to determine that there are no sample pipelines? Do we need another flag?","commit_id":"566acec0c2c4484e39c9b5a38d11ae3167dff576"},{"author":{"_account_id":236,"name":"Monsyne Dragon","email":"mdragon@rackspace.com","username":"mdragon"},"change_message_id":"6d58d2f022c59045f95873e91f16e1425577f00c","unresolved":false,"context_lines":[{"line_number":230,"context_line":""},{"line_number":231,"context_line":"        \"\"\""},{"line_number":232,"context_line":"        LOG.debug(\u0027notification %r\u0027, notification.get(\u0027event_type\u0027))"},{"line_number":233,"context_line":"        if cfg.CONF.collector.enable_sample_pipeline:"},{"line_number":234,"context_line":"            self.notification_manager.map(self._process_notification_for_ext,"},{"line_number":235,"context_line":"                                          notification\u003dnotification)"},{"line_number":236,"context_line":"        if cfg.CONF.collector.store_events:"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2FO9o%3D","line":233,"in_reply_to":"AAAAS3%2F%2FPA8%3D","updated":"2013-10-01 20:30:21.000000000","message":"There will be plugins defined (they are part of the ceilometer package.) The question is whether to use them or not.","commit_id":"566acec0c2c4484e39c9b5a38d11ae3167dff576"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"fd8f40d8a52a4533223764e4f7d46e422ac84958","unresolved":false,"context_lines":[{"line_number":56,"context_line":"    cfg.MultiStrOpt(\u0027dispatcher\u0027,"},{"line_number":57,"context_line":"                    default\u003d[\u0027database\u0027],"},{"line_number":58,"context_line":"                    help\u003d\u0027dispatcher to process metering data\u0027),"},{"line_number":59,"context_line":"    cfg.MultiStrOpt(\u0027event_topics\u0027,"},{"line_number":60,"context_line":"                    default\u003d[\u0027notifications.error\u0027,"},{"line_number":61,"context_line":"                             \u0027notifications.info\u0027,"},{"line_number":62,"context_line":"                             \u0027notifications.warn\u0027],"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAATH%2F%2FqqU%3D","line":59,"updated":"2013-10-11 14:54:01.000000000","message":"This is never called events, everything is about notifications/notifier, so it\u0027d be better to keep this term.\n\nAnd I think this is for listening, it should be good to state that this is the case, since ceilometer-api is soon to be able to send notifications too.","commit_id":"e5e30ef5a09d9a7f2f18415220e48de35a3befcc"},{"author":{"_account_id":7368,"name":"Thomas Maddox","email":"me@thomasem.net","username":"thomasm"},"change_message_id":"c7437bb717d58ee91d0538cf0861cd5be4ce61ad","unresolved":false,"context_lines":[{"line_number":56,"context_line":"    cfg.MultiStrOpt(\u0027dispatcher\u0027,"},{"line_number":57,"context_line":"                    default\u003d[\u0027database\u0027],"},{"line_number":58,"context_line":"                    help\u003d\u0027dispatcher to process metering data\u0027),"},{"line_number":59,"context_line":"    cfg.MultiStrOpt(\u0027event_topics\u0027,"},{"line_number":60,"context_line":"                    default\u003d[\u0027notifications.error\u0027,"},{"line_number":61,"context_line":"                             \u0027notifications.info\u0027,"},{"line_number":62,"context_line":"                             \u0027notifications.warn\u0027],"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAATH%2F%2Fp1U%3D","line":59,"in_reply_to":"AAAATH%2F%2FqqU%3D","updated":"2013-10-11 18:12:32.000000000","message":"Good point. I guess I was looking at it as the topics intended to be appended for event storage that may differ from the ones white-listed by the samples. I will change this.","commit_id":"e5e30ef5a09d9a7f2f18415220e48de35a3befcc"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"fd8f40d8a52a4533223764e4f7d46e422ac84958","unresolved":false,"context_lines":[{"line_number":61,"context_line":"                             \u0027notifications.info\u0027,"},{"line_number":62,"context_line":"                             \u0027notifications.warn\u0027],"},{"line_number":63,"context_line":"                    help\u003d\u0027openstack notifications queue topics for events\u0027),"},{"line_number":64,"context_line":"    cfg.MultiStrOpt(\u0027disabled_extensions\u0027,"},{"line_number":65,"context_line":"                    default\u003d[],"},{"line_number":66,"context_line":"                    help\u003d\u0027disabled collector extensions\u0027)"},{"line_number":67,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAATH%2F%2Fqp4%3D","line":64,"updated":"2013-10-11 14:54:01.000000000","message":"We did remove this options a while ago, it was on our roadmap. So I don\u0027t think adding it back is a good idea :)","commit_id":"e5e30ef5a09d9a7f2f18415220e48de35a3befcc"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"fd8f40d8a52a4533223764e4f7d46e422ac84958","unresolved":false,"context_lines":[{"line_number":162,"context_line":"        consumer configuration."},{"line_number":163,"context_line":"        \"\"\""},{"line_number":164,"context_line":"        for exchange_topic in ext.obj.get_exchange_topics(cfg.CONF):"},{"line_number":165,"context_line":"            self.topics \u003d self.topics.union(exchange_topic.topics)"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"    def initialize_service_hook(self, service):"},{"line_number":168,"context_line":"        \u0027\u0027\u0027Consumers must be declared before consume_thread start.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAATH%2F%2Fqg4%3D","line":165,"updated":"2013-10-11 14:54:01.000000000","message":"I wonder if that still makes sense to have topic in pollster at this stage.","commit_id":"e5e30ef5a09d9a7f2f18415220e48de35a3befcc"},{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"53fcf5952fc60c00c45671947ae29cee7d531e87","unresolved":false,"context_lines":[{"line_number":177,"context_line":"        LOG.debug(\u0027loading notification handlers from %s\u0027,"},{"line_number":178,"context_line":"                  self.COLLECTOR_NAMESPACE)"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"        disabled_ext_check \u003d lambda ext: \\"},{"line_number":181,"context_line":"            ext.name not in cfg.CONF.collector.disabled_extensions"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"        self.notification_manager \u003d \\"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAATH%2F%2Fs0Y%3D","line":180,"updated":"2013-10-11 00:49:22.000000000","message":"Inner functions are generally preferred for readability.","commit_id":"e5e30ef5a09d9a7f2f18415220e48de35a3befcc"},{"author":{"_account_id":7368,"name":"Thomas Maddox","email":"me@thomasem.net","username":"thomasm"},"change_message_id":"c7437bb717d58ee91d0538cf0861cd5be4ce61ad","unresolved":false,"context_lines":[{"line_number":177,"context_line":"        LOG.debug(\u0027loading notification handlers from %s\u0027,"},{"line_number":178,"context_line":"                  self.COLLECTOR_NAMESPACE)"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"        disabled_ext_check \u003d lambda ext: \\"},{"line_number":181,"context_line":"            ext.name not in cfg.CONF.collector.disabled_extensions"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"        self.notification_manager \u003d \\"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAATH%2F%2FpyM%3D","line":180,"in_reply_to":"AAAATH%2F%2Fs0Y%3D","updated":"2013-10-11 18:12:32.000000000","message":"Yeah, I can move that so it helps. I was hoping the name would be good enough. :)","commit_id":"e5e30ef5a09d9a7f2f18415220e48de35a3befcc"},{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"53fcf5952fc60c00c45671947ae29cee7d531e87","unresolved":false,"context_lines":[{"line_number":224,"context_line":"            self.conn.join_consumer_pool("},{"line_number":225,"context_line":"                callback\u003dself.process_notification,"},{"line_number":226,"context_line":"                pool_name\u003dtopic_mask,"},{"line_number":227,"context_line":"                topic\u003dtopic_mask,"},{"line_number":228,"context_line":"                exchange_name\u003dcfg.CONF.control_exchange,"},{"line_number":229,"context_line":"                ack_on_error\u003dack_on_error"},{"line_number":230,"context_line":"            )"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAATH%2F%2Fs0s%3D","line":227,"updated":"2013-10-11 00:49:22.000000000","message":"Don\u0027t we have to keep the topic for-loop? One for each of .info, .error, .warn, whatever?","commit_id":"e5e30ef5a09d9a7f2f18415220e48de35a3befcc"},{"author":{"_account_id":7368,"name":"Thomas Maddox","email":"me@thomasem.net","username":"thomasm"},"change_message_id":"c7437bb717d58ee91d0538cf0861cd5be4ce61ad","unresolved":false,"context_lines":[{"line_number":224,"context_line":"            self.conn.join_consumer_pool("},{"line_number":225,"context_line":"                callback\u003dself.process_notification,"},{"line_number":226,"context_line":"                pool_name\u003dtopic_mask,"},{"line_number":227,"context_line":"                topic\u003dtopic_mask,"},{"line_number":228,"context_line":"                exchange_name\u003dcfg.CONF.control_exchange,"},{"line_number":229,"context_line":"                ack_on_error\u003dack_on_error"},{"line_number":230,"context_line":"            )"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAATH%2F%2Fpyc%3D","line":227,"in_reply_to":"AAAATH%2F%2Fs0s%3D","updated":"2013-10-11 18:12:32.000000000","message":"Mapped in line 201","commit_id":"e5e30ef5a09d9a7f2f18415220e48de35a3befcc"}],"ceilometer/image/samples.py":[{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"5916c698cd24e4af006e69e7673187091f22292c","unresolved":false,"context_lines":[{"line_number":17,"context_line":"# under the License."},{"line_number":18,"context_line":"\"\"\"Handler for producing image metering messages from glance notification"},{"line_number":19,"context_line":"   events."},{"line_number":20,"context_line":"\"\"\""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"from ceilometer import sample"},{"line_number":23,"context_line":"from ceilometer import plugin"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2FPBw%3D","line":20,"updated":"2013-10-01 19:56:41.000000000","message":"Hmm, not sure we need to remove the exchange and topic definitions from the handlers completely?\n\nCan\u0027t we just impose the exchanges and topics that the event handler needs on top of the set of exchanges / topics by the defined sample plugins? \n\nIf there are no sample plugins defined, the list will be empty. \n\nOtherwise, the operator has to know which exchanges/topics are required for the set of sample plugins used. Which would be difficult.","commit_id":"566acec0c2c4484e39c9b5a38d11ae3167dff576"}],"ceilometer/plugin.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"fd8f40d8a52a4533223764e4f7d46e422ac84958","unresolved":false,"context_lines":[{"line_number":28,"context_line":"cfg.CONF.import_opt(\u0027notification_topics\u0027,"},{"line_number":29,"context_line":"                    \u0027ceilometer.openstack.common.notifier.rpc_notifier\u0027)"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"OPTS \u003d ["},{"line_number":32,"context_line":"    cfg.StrOpt(\u0027nova_control_exchange\u0027,"},{"line_number":33,"context_line":"               default\u003d\u0027nova\u0027,"},{"line_number":34,"context_line":"               help\u003d\"Exchange name for Nova notifications\"),"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAATH%2F%2FqgE%3D","line":31,"updated":"2013-10-11 14:54:01.000000000","message":"I don\u0027t get why you move this here?","commit_id":"e5e30ef5a09d9a7f2f18415220e48de35a3befcc"},{"author":{"_account_id":7368,"name":"Thomas Maddox","email":"me@thomasem.net","username":"thomasm"},"change_message_id":"c7437bb717d58ee91d0538cf0861cd5be4ce61ad","unresolved":false,"context_lines":[{"line_number":28,"context_line":"cfg.CONF.import_opt(\u0027notification_topics\u0027,"},{"line_number":29,"context_line":"                    \u0027ceilometer.openstack.common.notifier.rpc_notifier\u0027)"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"OPTS \u003d ["},{"line_number":32,"context_line":"    cfg.StrOpt(\u0027nova_control_exchange\u0027,"},{"line_number":33,"context_line":"               default\u003d\u0027nova\u0027,"},{"line_number":34,"context_line":"               help\u003d\"Exchange name for Nova notifications\"),"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAATH%2F%2Fpw4%3D","line":31,"in_reply_to":"AAAATH%2F%2FqgE%3D","updated":"2013-10-11 18:12:32.000000000","message":"It was originally to put these in a central location for adding additional pipelines later on that may need visibility to these exchanges; in an attempt to improve visibility for any module that wants to use these. It didn\u0027t feel appropriate to import horizontally. I can move these back to their original places, though. I was more just doing it because it felt correct to me with another direction this branch was previously taking, not important considering we only support one pipeline right now. \u003d]","commit_id":"e5e30ef5a09d9a7f2f18415220e48de35a3befcc"}]}
