)]}'
{"watcher/api/controllers/v1/data_model.py":[{"author":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"change_message_id":"b45026ae37cd3b873ee3f2676494ef47079c2697","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        :param data_model_type: The type of data model user wants to list."},{"line_number":46,"context_line":"                                Supported values: compute, storage, baremetal."},{"line_number":47,"context_line":"                                The default value is compute."},{"line_number":48,"context_line":"        :param audit: The UUID of the audit to filter by the scope in audit."},{"line_number":49,"context_line":"        \"\"\""},{"line_number":50,"context_line":"        if self.from_data_model:"},{"line_number":51,"context_line":"            raise exception.OperationNotPermitted"}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_de37a2e2","line":48,"range":{"start_line":48,"start_character":15,"end_line":48,"end_character":20},"updated":"2019-08-20 03:06:08.000000000","message":"audit_uuid","commit_id":"1a14b3ebd68c358870f6a5dabb0251265aef85c4"},{"author":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"change_message_id":"b45026ae37cd3b873ee3f2676494ef47079c2697","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        :param data_model_type: The type of data model user wants to list."},{"line_number":46,"context_line":"                                Supported values: compute, storage, baremetal."},{"line_number":47,"context_line":"                                The default value is compute."},{"line_number":48,"context_line":"        :param audit: The UUID of the audit to filter by the scope in audit."},{"line_number":49,"context_line":"        \"\"\""},{"line_number":50,"context_line":"        if self.from_data_model:"},{"line_number":51,"context_line":"            raise exception.OperationNotPermitted"}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_3e4ef66e","line":48,"range":{"start_line":48,"start_character":22,"end_line":48,"end_character":75},"updated":"2019-08-20 03:06:08.000000000","message":"maybe: The UUID of the audit, used to filter data model by the scope in audit","commit_id":"1a14b3ebd68c358870f6a5dabb0251265aef85c4"},{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"8034c6d8886e406e2c1470f40180fc766b980774","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        :param data_model_type: The type of data model user wants to list."},{"line_number":46,"context_line":"                                Supported values: compute, storage, baremetal."},{"line_number":47,"context_line":"                                The default value is compute."},{"line_number":48,"context_line":"        :param audit: The UUID of the audit to filter by the scope in audit."},{"line_number":49,"context_line":"        \"\"\""},{"line_number":50,"context_line":"        if self.from_data_model:"},{"line_number":51,"context_line":"            raise exception.OperationNotPermitted"}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_74cb2d1d","line":48,"range":{"start_line":48,"start_character":22,"end_line":48,"end_character":75},"in_reply_to":"7faddb67_3e4ef66e","updated":"2019-08-20 06:31:52.000000000","message":"Done","commit_id":"1a14b3ebd68c358870f6a5dabb0251265aef85c4"},{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"8034c6d8886e406e2c1470f40180fc766b980774","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        :param data_model_type: The type of data model user wants to list."},{"line_number":46,"context_line":"                                Supported values: compute, storage, baremetal."},{"line_number":47,"context_line":"                                The default value is compute."},{"line_number":48,"context_line":"        :param audit: The UUID of the audit to filter by the scope in audit."},{"line_number":49,"context_line":"        \"\"\""},{"line_number":50,"context_line":"        if self.from_data_model:"},{"line_number":51,"context_line":"            raise exception.OperationNotPermitted"}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_14ce792c","line":48,"range":{"start_line":48,"start_character":15,"end_line":48,"end_character":20},"in_reply_to":"7faddb67_de37a2e2","updated":"2019-08-20 06:31:52.000000000","message":"Done","commit_id":"1a14b3ebd68c358870f6a5dabb0251265aef85c4"},{"author":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"change_message_id":"b45026ae37cd3b873ee3f2676494ef47079c2697","unresolved":false,"context_lines":[{"line_number":55,"context_line":"            context,"},{"line_number":56,"context_line":"            data_model_type,"},{"line_number":57,"context_line":"            audit_uuid)"},{"line_number":58,"context_line":"        policy.enforce(context, \u0027data_model:get_all\u0027,"},{"line_number":59,"context_line":"                       action\u003d\u0027data_model:get_all\u0027)"},{"line_number":60,"context_line":"        return rpc_all_data_model"}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_fe6cded0","line":58,"range":{"start_line":58,"start_character":8,"end_line":58,"end_character":52},"updated":"2019-08-20 03:06:08.000000000","message":"should check policy before getting data model","commit_id":"1a14b3ebd68c358870f6a5dabb0251265aef85c4"},{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"8034c6d8886e406e2c1470f40180fc766b980774","unresolved":false,"context_lines":[{"line_number":55,"context_line":"            context,"},{"line_number":56,"context_line":"            data_model_type,"},{"line_number":57,"context_line":"            audit_uuid)"},{"line_number":58,"context_line":"        policy.enforce(context, \u0027data_model:get_all\u0027,"},{"line_number":59,"context_line":"                       action\u003d\u0027data_model:get_all\u0027)"},{"line_number":60,"context_line":"        return rpc_all_data_model"}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_34d135cd","line":58,"range":{"start_line":58,"start_character":8,"end_line":58,"end_character":52},"in_reply_to":"7faddb67_fe6cded0","updated":"2019-08-20 06:31:52.000000000","message":"Done","commit_id":"1a14b3ebd68c358870f6a5dabb0251265aef85c4"},{"author":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"change_message_id":"96157d03bd71d4a6aa116a0071af96b5a84cdcae","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    from the top-level resource DataModel.\"\"\""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    @wsme_pecan.wsexpose(wtypes.text, wtypes.text, types.uuid)"},{"line_number":42,"context_line":"    def get_all(self, data_model_type\u003d\u0027compute\u0027, audit_uuid\u003dNone):"},{"line_number":43,"context_line":"        \"\"\"Retrieve information about the given data model."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"        :param data_model_type: The type of data model user wants to list."}],"source_content_type":"text/x-python","patch_set":3,"id":"7faddb67_67d796f0","line":42,"range":{"start_line":42,"start_character":22,"end_line":42,"end_character":37},"updated":"2019-08-26 11:03:40.000000000","message":"should check the value?\nsuch as: https://github.com/openstack/watcher/blob/master/watcher/api/controllers/v1/audit.py#L113","commit_id":"95f98c3b441409639ed666070d22e4ca6081092e"},{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"0ec3efa2d4a43c16793707e3e5e2e6f8336b1078","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    from the top-level resource DataModel.\"\"\""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    @wsme_pecan.wsexpose(wtypes.text, wtypes.text, types.uuid)"},{"line_number":42,"context_line":"    def get_all(self, data_model_type\u003d\u0027compute\u0027, audit_uuid\u003dNone):"},{"line_number":43,"context_line":"        \"\"\"Retrieve information about the given data model."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"        :param data_model_type: The type of data model user wants to list."}],"source_content_type":"text/x-python","patch_set":3,"id":"7faddb67_12adc29a","line":42,"range":{"start_line":42,"start_character":22,"end_line":42,"end_character":37},"in_reply_to":"7faddb67_67d796f0","updated":"2019-08-26 12:18:53.000000000","message":"Done","commit_id":"95f98c3b441409639ed666070d22e4ca6081092e"}]}
