)]}'
{"ceilometer/compute/discovery.py":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"ad1b68189a6ca13058e229fc685d07134d2ae137","unresolved":false,"context_lines":[{"line_number":33,"context_line":"                    \"intervals defined in pipeline. New instances will be \""},{"line_number":34,"context_line":"                    \"picked up according to this options interval. \""},{"line_number":35,"context_line":"                    \"By default agent makes nova request \""},{"line_number":36,"context_line":"                    \"for the every polling interval.\")"},{"line_number":37,"context_line":"]"},{"line_number":38,"context_line":"cfg.CONF.register_opts(OPTS, group\u003d\u0027compute\u0027)"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"bae84128_e77211b0","line":36,"updated":"2016-02-24 19:38:41.000000000","message":"New instances will be discovered periodically based on this option (in seconds). By default, the agent discovers instances according to pipeline polling interval. If option is greater than 0, the instance list to poll will be updated based on this option\u0027s interval. Measurements relating to the instances will match intervals defined in pipeline.","commit_id":"43ec683720cb14eae54c436e9bcfc8e4d83ae5d0"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"ad1b68189a6ca13058e229fc685d07134d2ae137","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        return self.instances.values()"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    def _get_nova_instances(self):"},{"line_number":71,"context_line":"        instances \u003d []"},{"line_number":72,"context_line":"        utc_time \u003d timeutils.utcnow(True)"},{"line_number":73,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":3,"id":"bae84128_075bb52f","line":70,"updated":"2016-02-24 19:38:41.000000000","message":"i would leave this as it was as part of discover method but your call","commit_id":"43ec683720cb14eae54c436e9bcfc8e4d83ae5d0"}],"ceilometer/tests/unit/compute/test_discovery.py":[{"author":{"_account_id":7729,"name":"Ilya Tyaptin","email":"ityaptin@mirantis.com","username":"ityaptin"},"change_message_id":"eaa815f832a0bcf049c405ca156050abdb054a5b","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        resources \u003d dsc.discover(mock.MagicMock())"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        self.assertEqual(1, len(resources))"},{"line_number":69,"context_line":"        self.assertEqual(1, list(resources)[0].id)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        self.client.instance_get_all_by_host.assert_called_once_with("},{"line_number":72,"context_line":"            \u0027test\u0027, None)"}],"source_content_type":"text/x-python","patch_set":5,"id":"9aed3d3a_c1407059","line":69,"updated":"2016-02-26 11:47:57.000000000","message":"This cast to list needs for the python3.4 tests, because type dict_values doesn\u0027t support getting item by index.\ndict_values is returned from the ceilometer/compute/discovery.py #L80","commit_id":"45ef4699c7d8baed9f1975551df11c60cb0e4bbc"}]}
