)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"b15c1747cfead7e3d6ac5dd4625adcba091db69f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"generated by scripts under tools directory have the correct signature."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I1520450ae4e82459b73cc411a698a6faa91a40e0"},{"line_number":13,"context_line":"Closed-Bug: #1499651"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a1a9d01_ad043515","line":13,"updated":"2015-09-25 09:44:27.000000000","message":"Closes-Bug","commit_id":"c90bfe282e627b6f5a0a7ba71636e7a72fa04c90"},{"author":{"_account_id":4491,"name":"Lianhao Lu","email":"llh_misc@outlook.com","username":"lianhao-lu"},"change_message_id":"b408d60490ff4b9b595d3c40eb08e05545474e62","unresolved":false,"context_lines":[{"line_number":10,"context_line":"generated by scripts under tools directory have the correct signature."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I1520450ae4e82459b73cc411a698a6faa91a40e0"},{"line_number":13,"context_line":"Closed-Bug: #1499651"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a1a9d01_edf9cd4e","line":13,"in_reply_to":"9a1a9d01_ad043515","updated":"2015-09-25 10:00:37.000000000","message":"Done","commit_id":"c90bfe282e627b6f5a0a7ba71636e7a72fa04c90"}],"tools/send_test_data.py":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"3175609c4dce814ac59e2e1c85789cc69c33b32a","unresolved":false,"context_lines":[{"line_number":84,"context_line":"        # need to recalculate signature because of the resource_id change"},{"line_number":85,"context_line":"        sig \u003d utils.compute_signature(sample,"},{"line_number":86,"context_line":"                                      cfg.CONF.publisher.telemetry_secret)"},{"line_number":87,"context_line":"        sample[\u0027message_signature\u0027] \u003d sig"},{"line_number":88,"context_line":"        batch.append(sample)"},{"line_number":89,"context_line":"        if len(batch) \u003d\u003d batch_size:"},{"line_number":90,"context_line":"            send_batch(topic, batch)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a1a9d01_d55f70e3","line":87,"updated":"2015-09-28 11:44:14.000000000","message":"should we even generate a signature if this is just test data?","commit_id":"b5a49e79e301e9543e1ae3adfcc961bbe21bd363"},{"author":{"_account_id":4491,"name":"Lianhao Lu","email":"llh_misc@outlook.com","username":"lianhao-lu"},"change_message_id":"2d67b42fd9593e959ffd7f9a5e9373dd8797e49c","unresolved":false,"context_lines":[{"line_number":84,"context_line":"        # need to recalculate signature because of the resource_id change"},{"line_number":85,"context_line":"        sig \u003d utils.compute_signature(sample,"},{"line_number":86,"context_line":"                                      cfg.CONF.publisher.telemetry_secret)"},{"line_number":87,"context_line":"        sample[\u0027message_signature\u0027] \u003d sig"},{"line_number":88,"context_line":"        batch.append(sample)"},{"line_number":89,"context_line":"        if len(batch) \u003d\u003d batch_size:"},{"line_number":90,"context_line":"            send_batch(topic, batch)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a1a9d01_f015c13f","line":87,"in_reply_to":"9a1a9d01_d55f70e3","updated":"2015-09-29 01:34:14.000000000","message":"I think we need to, because I believe these test scripts are mainly used to feed the CM backend data store. If we don\u0027t have correct signature, the collector won\u0027t be able to correctly store the data, at least in database cases. Also even though it\u0027s test data, I think we should keep the data consistent in format with the real world data.","commit_id":"b5a49e79e301e9543e1ae3adfcc961bbe21bd363"}]}
