)]}'
{"zaqar_ui/static/dashboard/project/queues/actions/create-queue.service.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"306f5b0fb6041debd654e9b3e73bace8c125137b","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    //////////////"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    // we define initScope so that the table controller"},{"line_number":70,"context_line":"    // will know when a new queue has been created"},{"line_number":71,"context_line":"    function initAction() {"},{"line_number":72,"context_line":"    }"},{"line_number":73,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"3a71b18c_630d1737","line":70,"updated":"2016-12-09 21:51:36.000000000","message":"Remove the comment as well since it is no longer applicable.","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"283c5ca0c52070ad13f16fd9a0f2407314397a49","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    //////////////"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    // we define initScope so that the table controller"},{"line_number":70,"context_line":"    // will know when a new queue has been created"},{"line_number":71,"context_line":"    function initAction() {"},{"line_number":72,"context_line":"    }"},{"line_number":73,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"1a6eadb0_2eeea822","line":70,"in_reply_to":"3a71b18c_630d1737","updated":"2016-12-13 01:52:09.000000000","message":"Done","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"}],"zaqar_ui/static/dashboard/project/queues/actions/create-subscription.service.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"306f5b0fb6041debd654e9b3e73bace8c125137b","unresolved":false,"context_lines":[{"line_number":68,"context_line":"    //////////////"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    // we define initScope so that the table controller"},{"line_number":71,"context_line":"    // will know when a new subscription has been created"},{"line_number":72,"context_line":"    function initAction() {"},{"line_number":73,"context_line":"    }"},{"line_number":74,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"3a71b18c_b3c8f256","line":71,"updated":"2016-12-09 21:51:36.000000000","message":"ditto","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"283c5ca0c52070ad13f16fd9a0f2407314397a49","unresolved":false,"context_lines":[{"line_number":68,"context_line":"    //////////////"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    // we define initScope so that the table controller"},{"line_number":71,"context_line":"    // will know when a new subscription has been created"},{"line_number":72,"context_line":"    function initAction() {"},{"line_number":73,"context_line":"    }"},{"line_number":74,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"1a6eadb0_6ef8a0e6","line":71,"in_reply_to":"3a71b18c_b3c8f256","updated":"2016-12-13 01:52:09.000000000","message":"Done","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"}],"zaqar_ui/static/dashboard/project/queues/actions/delete-queue.service.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"306f5b0fb6041debd654e9b3e73bace8c125137b","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  function deleteQueueService("},{"line_number":52,"context_line":"    $q, policy, zaqar, events, gettext, $qExtensions, deleteModal, toast) {"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    var scope, context;"},{"line_number":55,"context_line":"    var service \u003d {"},{"line_number":56,"context_line":"      initAction: initAction,"},{"line_number":57,"context_line":"      allowed: allowed,"}],"source_content_type":"text/javascript","patch_set":1,"id":"3a71b18c_d37e4eae","line":54,"updated":"2016-12-09 21:51:36.000000000","message":"Remove scope.","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"283c5ca0c52070ad13f16fd9a0f2407314397a49","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  function deleteQueueService("},{"line_number":52,"context_line":"    $q, policy, zaqar, events, gettext, $qExtensions, deleteModal, toast) {"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    var scope, context;"},{"line_number":55,"context_line":"    var service \u003d {"},{"line_number":56,"context_line":"      initAction: initAction,"},{"line_number":57,"context_line":"      allowed: allowed,"}],"source_content_type":"text/javascript","patch_set":1,"id":"1a6eadb0_8eddfc72","line":54,"in_reply_to":"3a71b18c_d37e4eae","updated":"2016-12-13 01:52:09.000000000","message":"Done","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"306f5b0fb6041debd654e9b3e73bace8c125137b","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    }"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    function perform(items, $scope) {"},{"line_number":70,"context_line":"      scope \u003d $scope;"},{"line_number":71,"context_line":"      var queues \u003d angular.isArray(items) ? items : [items];"},{"line_number":72,"context_line":"      context.labels \u003d labelize(queues.length);"},{"line_number":73,"context_line":"      context.deleteEntity \u003d deleteQueue;"}],"source_content_type":"text/javascript","patch_set":1,"id":"3a71b18c_33378200","line":70,"range":{"start_line":70,"start_character":6,"end_line":70,"end_character":21},"updated":"2016-12-09 21:51:36.000000000","message":"no longer necessary.","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"283c5ca0c52070ad13f16fd9a0f2407314397a49","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    }"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    function perform(items, $scope) {"},{"line_number":70,"context_line":"      scope \u003d $scope;"},{"line_number":71,"context_line":"      var queues \u003d angular.isArray(items) ? items : [items];"},{"line_number":72,"context_line":"      context.labels \u003d labelize(queues.length);"},{"line_number":73,"context_line":"      context.deleteEntity \u003d deleteQueue;"}],"source_content_type":"text/javascript","patch_set":1,"id":"1a6eadb0_0ee9ec1a","line":70,"range":{"start_line":70,"start_character":6,"end_line":70,"end_character":21},"in_reply_to":"3a71b18c_33378200","updated":"2016-12-13 01:52:09.000000000","message":"Done","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"306f5b0fb6041debd654e9b3e73bace8c125137b","unresolved":false,"context_lines":[{"line_number":86,"context_line":"      return { promise: allowed(queue), context: queue };"},{"line_number":87,"context_line":"    }"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    function afterCheck(result) {"},{"line_number":90,"context_line":"      if (result.fail.length \u003e 0) {"},{"line_number":91,"context_line":"        toast.add(\u0027error\u0027, getMessage(result.fail));"},{"line_number":92,"context_line":"      }"}],"source_content_type":"text/javascript","patch_set":1,"id":"3a71b18c_be38b9d4","line":89,"range":{"start_line":89,"start_character":13,"end_line":89,"end_character":23},"updated":"2016-12-09 21:51:36.000000000","message":"Move this helper method into perform and remove scope references.","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"283c5ca0c52070ad13f16fd9a0f2407314397a49","unresolved":false,"context_lines":[{"line_number":86,"context_line":"      return { promise: allowed(queue), context: queue };"},{"line_number":87,"context_line":"    }"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    function afterCheck(result) {"},{"line_number":90,"context_line":"      if (result.fail.length \u003e 0) {"},{"line_number":91,"context_line":"        toast.add(\u0027error\u0027, getMessage(result.fail));"},{"line_number":92,"context_line":"      }"}],"source_content_type":"text/javascript","patch_set":1,"id":"1a6eadb0_8e96dc92","line":89,"range":{"start_line":89,"start_character":13,"end_line":89,"end_character":23},"in_reply_to":"3a71b18c_be38b9d4","updated":"2016-12-13 01:52:09.000000000","message":"Done","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"}],"zaqar_ui/static/dashboard/project/queues/actions/update-queue.service.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"306f5b0fb6041debd654e9b3e73bace8c125137b","unresolved":false,"context_lines":[{"line_number":50,"context_line":"      success: gettext(\u0027Queue %s was successfully updated.\u0027)"},{"line_number":51,"context_line":"    };"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    var scope;"},{"line_number":54,"context_line":"    var model \u003d {"},{"line_number":55,"context_line":"      queue_name: null,"},{"line_number":56,"context_line":"      metadata: {}"}],"source_content_type":"text/javascript","patch_set":1,"id":"3a71b18c_5ea245fd","line":53,"range":{"start_line":53,"start_character":4,"end_line":53,"end_character":14},"updated":"2016-12-09 21:51:36.000000000","message":"remove","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"283c5ca0c52070ad13f16fd9a0f2407314397a49","unresolved":false,"context_lines":[{"line_number":50,"context_line":"      success: gettext(\u0027Queue %s was successfully updated.\u0027)"},{"line_number":51,"context_line":"    };"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    var scope;"},{"line_number":54,"context_line":"    var model \u003d {"},{"line_number":55,"context_line":"      queue_name: null,"},{"line_number":56,"context_line":"      metadata: {}"}],"source_content_type":"text/javascript","patch_set":1,"id":"1a6eadb0_8e7c1c22","line":53,"range":{"start_line":53,"start_character":4,"end_line":53,"end_character":14},"in_reply_to":"3a71b18c_5ea245fd","updated":"2016-12-13 01:52:09.000000000","message":"scope is used at L113. this should be changed to use action-result.service and be removed in following patch.","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"306f5b0fb6041debd654e9b3e73bace8c125137b","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    //////////////"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    // we define initScope so that the table controller"},{"line_number":70,"context_line":"    // will know when a queue has been updated"},{"line_number":71,"context_line":"    function initAction() {"},{"line_number":72,"context_line":"    }"},{"line_number":73,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"3a71b18c_be3fd9b2","line":70,"updated":"2016-12-09 21:51:36.000000000","message":"ditto","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"283c5ca0c52070ad13f16fd9a0f2407314397a49","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    //////////////"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    // we define initScope so that the table controller"},{"line_number":70,"context_line":"    // will know when a queue has been updated"},{"line_number":71,"context_line":"    function initAction() {"},{"line_number":72,"context_line":"    }"},{"line_number":73,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"1a6eadb0_0ea1eca9","line":70,"in_reply_to":"3a71b18c_be3fd9b2","updated":"2016-12-13 01:52:09.000000000","message":"Done","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"306f5b0fb6041debd654e9b3e73bace8c125137b","unresolved":false,"context_lines":[{"line_number":82,"context_line":"    }"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    function perform(queue, $scope) {"},{"line_number":85,"context_line":"      scope \u003d $scope;"},{"line_number":86,"context_line":"      var queueWatcher \u003d $scope.$on(events.DETAILS_CHANGED, onDetailChange);"},{"line_number":87,"context_line":"      var metadataWatcher \u003d $scope.$on(events.METADATA_CHANGED, onMetadataChange);"},{"line_number":88,"context_line":"      $scope.$on(\u0027$destroy\u0027, function destroy() {"}],"source_content_type":"text/javascript","patch_set":1,"id":"3a71b18c_deb6553d","line":85,"range":{"start_line":85,"start_character":6,"end_line":85,"end_character":21},"updated":"2016-12-09 21:51:36.000000000","message":"remove","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"283c5ca0c52070ad13f16fd9a0f2407314397a49","unresolved":false,"context_lines":[{"line_number":82,"context_line":"    }"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    function perform(queue, $scope) {"},{"line_number":85,"context_line":"      scope \u003d $scope;"},{"line_number":86,"context_line":"      var queueWatcher \u003d $scope.$on(events.DETAILS_CHANGED, onDetailChange);"},{"line_number":87,"context_line":"      var metadataWatcher \u003d $scope.$on(events.METADATA_CHANGED, onMetadataChange);"},{"line_number":88,"context_line":"      $scope.$on(\u0027$destroy\u0027, function destroy() {"}],"source_content_type":"text/javascript","patch_set":1,"id":"1a6eadb0_6e87c00f","line":85,"range":{"start_line":85,"start_character":6,"end_line":85,"end_character":21},"in_reply_to":"3a71b18c_deb6553d","updated":"2016-12-13 01:52:09.000000000","message":"ditto","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"283c5ca0c52070ad13f16fd9a0f2407314397a49","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    function success(response) {"},{"line_number":112,"context_line":"      toast.add(\u0027success\u0027, interpolate(message.success, [response.data.name]));"},{"line_number":113,"context_line":"      scope.$emit(events.UPDATE_SUCCESS, response.data);"},{"line_number":114,"context_line":"    }"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"  } // end of updateQueueService"}],"source_content_type":"text/javascript","patch_set":1,"id":"1a6eadb0_eec5905b","line":113,"range":{"start_line":113,"start_character":6,"end_line":113,"end_character":11},"updated":"2016-12-13 01:52:09.000000000","message":"scope is used here","commit_id":"126924e5e917d1dcbba557e5679dc0cd04e038af"}]}
