)]}'
{"tacker/db/db_base.py":[{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"f8dfc98da54032f8d24c2b2c5696031c3242229e","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"                if result_filter:"},{"line_number":145,"context_line":"                    query \u003d result_filter(query, filters)"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        return query"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    def _apply_dict_extend_functions(self, resource_type,"}],"source_content_type":"text/x-python","patch_set":17,"id":"bacf61ea_d70978de","line":146,"updated":"2016-08-08 02:44:01.000000000","message":"nit: avoid spurious whitespace changes","commit_id":"db28f06c8b6d2902b1abc88927e9478163a06d85"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"1b42ef8fdc4801acdf231b5a0b3a07fb4c45afc2","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"                if result_filter:"},{"line_number":145,"context_line":"                    query \u003d result_filter(query, filters)"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        return query"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    def _apply_dict_extend_functions(self, resource_type,"}],"source_content_type":"text/x-python","patch_set":17,"id":"3ac371cc_3c3c0593","line":146,"in_reply_to":"bacf61ea_d70978de","updated":"2016-08-15 14:26:27.000000000","message":"done","commit_id":"db28f06c8b6d2902b1abc88927e9478163a06d85"}],"tacker/db/nfvo/nfvo_db.py":[{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"f8dfc98da54032f8d24c2b2c5696031c3242229e","unresolved":false,"context_lines":[{"line_number":100,"context_line":"            else:"},{"line_number":101,"context_line":"                raise"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def _does_already_exist(self, context, vim):"},{"line_number":104,"context_line":"        try:"},{"line_number":105,"context_line":"            query \u003d self._model_query(context, VimAuth)"},{"line_number":106,"context_line":"            for v_auth in query.filter(VimAuth.auth_url \u003d\u003d vim.get(\u0027auth_url\u0027)"}],"source_content_type":"text/x-python","patch_set":17,"id":"bacf61ea_d73b389a","line":103,"range":{"start_line":103,"start_character":8,"end_line":103,"end_character":27},"updated":"2016-08-08 02:44:01.000000000","message":"Pardon my ignorance. Where is this method used ? I couldn\u0027t find it in this and other follow on patchsets. \n\nBTW, we need a test (unit or functional) for this situation - creating a vim with same auth_url as in a previously deleted vim.","commit_id":"db28f06c8b6d2902b1abc88927e9478163a06d85"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"1b42ef8fdc4801acdf231b5a0b3a07fb4c45afc2","unresolved":false,"context_lines":[{"line_number":100,"context_line":"            else:"},{"line_number":101,"context_line":"                raise"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def _does_already_exist(self, context, vim):"},{"line_number":104,"context_line":"        try:"},{"line_number":105,"context_line":"            query \u003d self._model_query(context, VimAuth)"},{"line_number":106,"context_line":"            for v_auth in query.filter(VimAuth.auth_url \u003d\u003d vim.get(\u0027auth_url\u0027)"}],"source_content_type":"text/x-python","patch_set":17,"id":"3ac371cc_1cdca911","line":103,"range":{"start_line":103,"start_character":8,"end_line":103,"end_character":27},"in_reply_to":"9ad45d7e_093adc98","updated":"2016-08-15 14:26:27.000000000","message":"i think i missed to make use of this. i will set this in next patch","commit_id":"db28f06c8b6d2902b1abc88927e9478163a06d85"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"498c58c3d4ae084df58ca291d6a470319915f1d2","unresolved":false,"context_lines":[{"line_number":100,"context_line":"            else:"},{"line_number":101,"context_line":"                raise"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def _does_already_exist(self, context, vim):"},{"line_number":104,"context_line":"        try:"},{"line_number":105,"context_line":"            query \u003d self._model_query(context, VimAuth)"},{"line_number":106,"context_line":"            for v_auth in query.filter(VimAuth.auth_url \u003d\u003d vim.get(\u0027auth_url\u0027)"}],"source_content_type":"text/x-python","patch_set":17,"id":"9ad45d7e_093adc98","line":103,"range":{"start_line":103,"start_character":8,"end_line":103,"end_character":27},"in_reply_to":"bacf61ea_d73b389a","updated":"2016-08-12 00:39:32.000000000","message":"+1 , did not see this method being called. this is allowing duplicate auth_urls to be registered for same vim. curious to know why you are doing this change as part of auditing feature?\n\nalso, \nif you are going to handle uniqueness constraint within the current tenant context, this will allow duplicate urls to be registered across different tenants. for the case of \u0027vim\u0027 table, the \u0027shared\u0027 attribute fetches vim resource information across all tenants for a user and will end up listing duplicate vims since auth_url uniqueness is only within that tenant.","commit_id":"db28f06c8b6d2902b1abc88927e9478163a06d85"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"498c58c3d4ae084df58ca291d6a470319915f1d2","unresolved":false,"context_lines":[{"line_number":140,"context_line":"                raise nfvo.VimDuplicateUrlException()"},{"line_number":141,"context_line":"        return self._make_vim_dict(vim_db)"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    def delete_vim(self, context, vim_id, soft_delete\u003dTrue):"},{"line_number":144,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":145,"context_line":"            vim_db \u003d self._get_resource(context, Vim, vim_id)"},{"line_number":146,"context_line":"            if soft_delete:"}],"source_content_type":"text/x-python","patch_set":17,"id":"9ad45d7e_e965c844","line":143,"range":{"start_line":143,"start_character":42,"end_line":143,"end_character":59},"updated":"2016-08-12 00:39:32.000000000","message":"we dont need this attribute and will never be used even for purge_delete  since it uses direct sql queries to delete rows in tables.","commit_id":"db28f06c8b6d2902b1abc88927e9478163a06d85"}],"tacker/db/vm/vm_db.py":[{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"498c58c3d4ae084df58ca291d6a470319915f1d2","unresolved":false,"context_lines":[{"line_number":278,"context_line":"    def delete_device_template(self,"},{"line_number":279,"context_line":"                               context,"},{"line_number":280,"context_line":"                               device_template_id,"},{"line_number":281,"context_line":"                               soft_delete\u003dTrue):"},{"line_number":282,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":283,"context_line":"            # TODO(yamahata): race. prevent from newly inserting hosting device"},{"line_number":284,"context_line":"            #                 that refers to this template"}],"source_content_type":"text/x-python","patch_set":17,"id":"9ad45d7e_09cadc1a","line":281,"range":{"start_line":281,"start_character":31,"end_line":281,"end_character":47},"updated":"2016-08-12 00:39:32.000000000","message":"we dont need this attribute and will never be used even for purge_delete  since it uses direct sql queries to delete rows in tables.","commit_id":"db28f06c8b6d2902b1abc88927e9478163a06d85"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"1b42ef8fdc4801acdf231b5a0b3a07fb4c45afc2","unresolved":false,"context_lines":[{"line_number":278,"context_line":"    def delete_device_template(self,"},{"line_number":279,"context_line":"                               context,"},{"line_number":280,"context_line":"                               device_template_id,"},{"line_number":281,"context_line":"                               soft_delete\u003dTrue):"},{"line_number":282,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":283,"context_line":"            # TODO(yamahata): race. prevent from newly inserting hosting device"},{"line_number":284,"context_line":"            #                 that refers to this template"}],"source_content_type":"text/x-python","patch_set":17,"id":"3ac371cc_fc038d0d","line":281,"range":{"start_line":281,"start_character":31,"end_line":281,"end_character":47},"in_reply_to":"9ad45d7e_09cadc1a","updated":"2016-08-15 14:26:27.000000000","message":"this is used to control the logic of softdelete from plugin layer. and i would like to leave it as its as it would give more control on the behaviour of these delete methods","commit_id":"db28f06c8b6d2902b1abc88927e9478163a06d85"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"498c58c3d4ae084df58ca291d6a470319915f1d2","unresolved":false,"context_lines":[{"line_number":467,"context_line":""},{"line_number":468,"context_line":"        return self._make_device_dict(device_db)"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"    def _delete_device_post(self, context, device_id, error, soft_delete\u003dTrue):"},{"line_number":471,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":472,"context_line":"            query \u003d ("},{"line_number":473,"context_line":"                self._model_query(context, Device)."}],"source_content_type":"text/x-python","patch_set":17,"id":"9ad45d7e_49d054c9","line":470,"range":{"start_line":470,"start_character":61,"end_line":470,"end_character":77},"updated":"2016-08-12 00:39:32.000000000","message":"same as earlier comment","commit_id":"db28f06c8b6d2902b1abc88927e9478163a06d85"}]}
