)]}'
{"horizon/static/framework/conf/resource-type-registry.service.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d10466807debcd1641bf12cf41153da07b5bd3a4","unresolved":false,"context_lines":[{"line_number":69,"context_line":"      this.type \u003d type;"},{"line_number":70,"context_line":"      this.setLoadFunction \u003d setLoadFunction;"},{"line_number":71,"context_line":"      this.load \u003d load;"},{"line_number":72,"context_line":"      this.itemNameFunction \u003d defaultItemNameFunction;"},{"line_number":73,"context_line":"      this.itemName \u003d itemName;"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"      function defaultItemNameFunction(item) {"}],"source_content_type":"text/javascript","patch_set":6,"id":"1af94dfe_baee0b89","line":72,"range":{"start_line":72,"start_character":6,"end_line":72,"end_character":54},"updated":"2016-03-16 16:57:12.000000000","message":"Need a setter method for this in keeping with the others.","commit_id":"e602187ffb161a727bd103338f8284c0e0532682"},{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"f01082aea74293a3c8293c64e4c5daa6f0558469","unresolved":false,"context_lines":[{"line_number":66,"context_line":"      this.getName \u003d getName;"},{"line_number":67,"context_line":"      this.label \u003d label;"},{"line_number":68,"context_line":"      this.format \u003d format;"},{"line_number":69,"context_line":"      this.type \u003d type;"},{"line_number":70,"context_line":"      this.setLoadFunction \u003d setLoadFunction;"},{"line_number":71,"context_line":"      this.load \u003d load;"},{"line_number":72,"context_line":""}],"source_content_type":"text/javascript","patch_set":9,"id":"1af94dfe_2433b463","line":69,"range":{"start_line":69,"start_character":11,"end_line":69,"end_character":15},"updated":"2016-03-17 23:18:49.000000000","message":"I\u0027d prefer type to be the heat string (like OS::Glance::Image). I think in this case you mean to use it more like a Django slug. Consider renaming to \"slug\", \"slug_name\" or \"type_name\".","commit_id":"4ede116273b4e199bc49bb0db91de079fe2f8fb3"},{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"f01082aea74293a3c8293c64e4c5daa6f0558469","unresolved":false,"context_lines":[{"line_number":104,"context_line":"      this.parsePath \u003d parsePath;"},{"line_number":105,"context_line":"      this.setPathGenerator \u003d setPathGenerator;"},{"line_number":106,"context_line":"      this.detailsPath \u003d detailsPath;"},{"line_number":107,"context_line":"      this.pathGenerator \u003d defaultPathGenerator;"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"      function defaultPathParser(path) {"},{"line_number":110,"context_line":"        return path;"}],"source_content_type":"text/javascript","patch_set":9,"id":"1af94dfe_839a826c","line":107,"updated":"2016-03-17 23:18:49.000000000","message":"This is really interesting, but I\u0027m nervous about conflating \"path\" which is a routing concept with and object identifier.\n\nConsider instead having a simple id( ) function that returns a normalized identifier suitable for use in a URL. The \"parse\" part of the functionality, if needed, can be implemented by the load() function itself.","commit_id":"4ede116273b4e199bc49bb0db91de079fe2f8fb3"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"17cfc64f0b90f76e4da9634a5d4e88c773605dfc","unresolved":false,"context_lines":[{"line_number":104,"context_line":"      this.parsePath \u003d parsePath;"},{"line_number":105,"context_line":"      this.setPathGenerator \u003d setPathGenerator;"},{"line_number":106,"context_line":"      this.detailsPath \u003d detailsPath;"},{"line_number":107,"context_line":"      this.pathGenerator \u003d defaultPathGenerator;"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"      function defaultPathParser(path) {"},{"line_number":110,"context_line":"        return path;"}],"source_content_type":"text/javascript","patch_set":9,"id":"1af94dfe_c95c8d4d","line":107,"in_reply_to":"1af94dfe_839a826c","updated":"2016-03-18 12:59:07.000000000","message":"This is specifically for supplying ids when routing.  Nothing else can provide this feature.","commit_id":"4ede116273b4e199bc49bb0db91de079fe2f8fb3"},{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"f01082aea74293a3c8293c64e4c5daa6f0558469","unresolved":false,"context_lines":[{"line_number":271,"context_line":"       var descriptor \u003d resourceType.parsePath(path);"},{"line_number":272,"context_line":"       ```"},{"line_number":273,"context_line":"       */"},{"line_number":274,"context_line":"      function load(descriptor) {"},{"line_number":275,"context_line":"        return this.loadFunction(descriptor);"},{"line_number":276,"context_line":"      }"},{"line_number":277,"context_line":""}],"source_content_type":"text/javascript","patch_set":9,"id":"1af94dfe_7eb9c914","line":274,"range":{"start_line":274,"start_character":15,"end_line":274,"end_character":19},"updated":"2016-03-17 23:18:49.000000000","message":"this is really handy on the registry. It allows the UI to \"load\" synthetic types that are composites of multiple base resources\n\nhowever...I\u0027m pondering if this is really an attribute of the resource itself...or rather, a pluggable behavior of a resource loader.\n\nFor example:\nA architectural blueprint has difficulty knowing how to build the building it describes. But when I hand that blueprint to different tradesmen, I can ask for it to be build, demolished, repainted, etc.","commit_id":"4ede116273b4e199bc49bb0db91de079fe2f8fb3"},{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"f01082aea74293a3c8293c64e4c5daa6f0558469","unresolved":false,"context_lines":[{"line_number":311,"context_line":"       ```"},{"line_number":312,"context_line":"       */"},{"line_number":313,"context_line":"      function detailsPath(descriptor) {"},{"line_number":314,"context_line":"        return \u0027/details/\u0027 + this.type + \u0027/\u0027 + this.pathGenerator(descriptor);"},{"line_number":315,"context_line":"      }"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"      /**"}],"source_content_type":"text/javascript","patch_set":9,"id":"1af94dfe_043e78d9","line":314,"range":{"start_line":314,"start_character":15,"end_line":314,"end_character":78},"updated":"2016-03-17 23:18:49.000000000","message":"I think the registry goes too far when it knows routing details. There are few issues we should talk through.\n\n1) I\u0027d prefer a structure of /type/id. Having \"details\" as part of the path seems unnecessary, as a GET of /type/id can be defined as returning the details view\n\n2) pathGenerator( ) seems like it could just be getId( )","commit_id":"4ede116273b4e199bc49bb0db91de079fe2f8fb3"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"17cfc64f0b90f76e4da9634a5d4e88c773605dfc","unresolved":false,"context_lines":[{"line_number":311,"context_line":"       ```"},{"line_number":312,"context_line":"       */"},{"line_number":313,"context_line":"      function detailsPath(descriptor) {"},{"line_number":314,"context_line":"        return \u0027/details/\u0027 + this.type + \u0027/\u0027 + this.pathGenerator(descriptor);"},{"line_number":315,"context_line":"      }"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"      /**"}],"source_content_type":"text/javascript","patch_set":9,"id":"1af94dfe_ac6dcfcd","line":314,"range":{"start_line":314,"start_character":15,"end_line":314,"end_character":78},"in_reply_to":"1af94dfe_043e78d9","updated":"2016-03-18 12:59:07.000000000","message":"When we have composite keys, we need more than just \"id\".  This is why we need this structure.","commit_id":"4ede116273b4e199bc49bb0db91de079fe2f8fb3"}],"horizon/static/framework/widgets/details/detail-modal.controller.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"584231b30a1fbab9426cc767152a762ea5039391","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    ctrl.resourceType \u003d registry.getResourceType(context.descriptor.resourceType);"},{"line_number":39,"context_line":"    ctrl.descriptor \u003d context.descriptor;"},{"line_number":40,"context_line":"    ctrl.resourceType.load(context.descriptor.identifier).success(function load(data) {"},{"line_number":41,"context_line":"      ctrl.item \u003d data;"},{"line_number":42,"context_line":"    });"},{"line_number":43,"context_line":"    ctrl.resultHandler \u003d resultHandler;"}],"source_content_type":"text/javascript","patch_set":5,"id":"1af94dfe_88baf121","line":40,"range":{"start_line":40,"start_character":57,"end_line":40,"end_character":65},"updated":"2016-03-16 15:48:54.000000000","message":"I\u0027d rather that these return promises.","commit_id":"3ca27fd10f13c077c2fdfc9987a30dc2a8197164"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d10466807debcd1641bf12cf41153da07b5bd3a4","unresolved":false,"context_lines":[{"line_number":47,"context_line":"      $modalInstance.close();"},{"line_number":48,"context_line":"    };"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    function resultHandler(result) {"},{"line_number":51,"context_line":"      return result.then(successHandler);"},{"line_number":52,"context_line":"    }"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    function successHandler() {"},{"line_number":55,"context_line":"      console.log(\"success\");"},{"line_number":56,"context_line":"    }"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"  }"},{"line_number":59,"context_line":""}],"source_content_type":"text/javascript","patch_set":6,"id":"1af94dfe_1a69ff25","line":56,"range":{"start_line":50,"start_character":4,"end_line":56,"end_character":5},"updated":"2016-03-16 16:57:12.000000000","message":"Do something more useful here.","commit_id":"e602187ffb161a727bd103338f8284c0e0532682"}],"horizon/static/framework/widgets/details/detail-modal.html":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003cdiv class\u003d\"modal-header row\"\u003e"},{"line_number":2,"context_line":"  \u003cdiv class\u003d\"col-md-8\"\u003e"},{"line_number":3,"context_line":"  \u003ch3 class\u003d\"modal-title\"\u003e"},{"line_number":4,"context_line":"    \u003cspan ng-bind\u003d\"::modalCtrl.resourceType.getName(1)\"\u003e\u003c/span\u003e"},{"line_number":5,"context_line":"  \u003c/h3\u003e"},{"line_number":6,"context_line":"  \u003c/div\u003e"},{"line_number":7,"context_line":"  \u003cdiv class\u003d\"col-md-4\"\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"1af94dfe_8517aa50","line":4,"updated":"2016-03-15 20:38:30.000000000","message":"Obviously, would be nice to have some useful header info here.  Could do that as part of the details registration, or part of the descriptor.","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":5,"context_line":"  \u003c/h3\u003e"},{"line_number":6,"context_line":"  \u003c/div\u003e"},{"line_number":7,"context_line":"  \u003cdiv class\u003d\"col-md-4\"\u003e"},{"line_number":8,"context_line":"    \u003cactions allowed\u003d\"modalCtrl.resourceType.itemActions\" result-handler\u003d\"modalCtrl.resultHandler\" type\u003d\"row\" item\u003d\"modalCtrl.descriptor.item\"\u003e\u003c/actions\u003e"},{"line_number":9,"context_line":"  \u003c/div\u003e"},{"line_number":10,"context_line":"\u003c/div\u003e"},{"line_number":11,"context_line":"\u003cdiv class\u003d\"modal-body clearfix\"\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"1af94dfe_8825ffac","line":8,"range":{"start_line":8,"start_character":116,"end_line":8,"end_character":141},"updated":"2016-03-15 20:38:30.000000000","message":"This might need to change to a more dynamically-based source, so it\u0027s relying only on the descriptor to fetch the item.","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"}],"horizon/static/framework/widgets/details/detail-modal.service.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":33,"context_line":"          context: function() {"},{"line_number":34,"context_line":"            return {"},{"line_number":35,"context_line":"              descriptor: {"},{"line_number":36,"context_line":"                resourceType: type,"},{"line_number":37,"context_line":"                item: item"},{"line_number":38,"context_line":"              }"},{"line_number":39,"context_line":"            };"}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_2835cbd9","line":36,"updated":"2016-03-15 20:38:30.000000000","message":"resourceTypeCode?","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"}],"horizon/static/framework/widgets/details/generic-details.controller.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    var ctrl \u003d this;"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    ctrl.resourceType \u003d registry.getResourceType($routeParams.type);"},{"line_number":34,"context_line":"    ctrl.path \u003d $routeParams.path;"},{"line_number":35,"context_line":"    ctrl.descriptor \u003d ctrl.resourceType.parsePath(ctrl.path)"},{"line_number":36,"context_line":"    ctrl.resourceType.load(ctrl.descriptor).success(function(data) {"},{"line_number":37,"context_line":"      ctrl.itemData \u003d data;"}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_e8af63e1","line":34,"range":{"start_line":34,"start_character":4,"end_line":34,"end_character":13},"updated":"2016-03-15 20:38:30.000000000","message":"Don\u0027t need on controller.","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"8a6e9532ff071fd5e1e6046d39fc590b85f0cd30","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    var ctrl \u003d this;"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    ctrl.resourceType \u003d registry.getResourceType($routeParams.type);"},{"line_number":34,"context_line":"    ctrl.path \u003d $routeParams.path;"},{"line_number":35,"context_line":"    ctrl.descriptor \u003d ctrl.resourceType.parsePath(ctrl.path)"},{"line_number":36,"context_line":"    ctrl.resourceType.load(ctrl.descriptor).success(function(data) {"},{"line_number":37,"context_line":"      ctrl.itemData \u003d data;"}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_b5162bef","line":34,"range":{"start_line":34,"start_character":4,"end_line":34,"end_character":13},"in_reply_to":"1af94dfe_e8af63e1","updated":"2016-03-16 14:20:29.000000000","message":"Done","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    ctrl.resourceType \u003d registry.getResourceType($routeParams.type);"},{"line_number":34,"context_line":"    ctrl.path \u003d $routeParams.path;"},{"line_number":35,"context_line":"    ctrl.descriptor \u003d ctrl.resourceType.parsePath(ctrl.path)"},{"line_number":36,"context_line":"    ctrl.resourceType.load(ctrl.descriptor).success(function(data) {"},{"line_number":37,"context_line":"      ctrl.itemData \u003d data;"},{"line_number":38,"context_line":"    });"},{"line_number":39,"context_line":"  }"}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_c83ee7b7","line":36,"updated":"2016-03-15 20:38:30.000000000","message":"name function","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"8a6e9532ff071fd5e1e6046d39fc590b85f0cd30","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    ctrl.resourceType \u003d registry.getResourceType($routeParams.type);"},{"line_number":34,"context_line":"    ctrl.path \u003d $routeParams.path;"},{"line_number":35,"context_line":"    ctrl.descriptor \u003d ctrl.resourceType.parsePath(ctrl.path)"},{"line_number":36,"context_line":"    ctrl.resourceType.load(ctrl.descriptor).success(function(data) {"},{"line_number":37,"context_line":"      ctrl.itemData \u003d data;"},{"line_number":38,"context_line":"    });"},{"line_number":39,"context_line":"  }"}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_f5d6f325","line":36,"in_reply_to":"1af94dfe_c83ee7b7","updated":"2016-03-16 14:20:29.000000000","message":"Done","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d10466807debcd1641bf12cf41153da07b5bd3a4","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"  function GenericDetailsController ("},{"line_number":28,"context_line":"    registry,"},{"line_number":29,"context_line":"    $routeParams"},{"line_number":30,"context_line":"  ) {"},{"line_number":31,"context_line":"    var ctrl \u003d this;"},{"line_number":32,"context_line":""}],"source_content_type":"text/javascript","patch_set":6,"id":"1af94dfe_ba2babea","line":29,"range":{"start_line":29,"start_character":4,"end_line":29,"end_character":16},"updated":"2016-03-16 16:57:12.000000000","message":"remove","commit_id":"e602187ffb161a727bd103338f8284c0e0532682"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"3c7abf26643f184c9303831db0b8c555fb0f1ede","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"  function GenericDetailsController ("},{"line_number":28,"context_line":"    registry,"},{"line_number":29,"context_line":"    $routeParams"},{"line_number":30,"context_line":"  ) {"},{"line_number":31,"context_line":"    var ctrl \u003d this;"},{"line_number":32,"context_line":""}],"source_content_type":"text/javascript","patch_set":6,"id":"1af94dfe_5aa6e753","line":29,"range":{"start_line":29,"start_character":4,"end_line":29,"end_character":16},"in_reply_to":"1af94dfe_ba2babea","updated":"2016-03-16 16:58:01.000000000","message":"nope, needed.","commit_id":"e602187ffb161a727bd103338f8284c0e0532682"}],"horizon/static/framework/widgets/details/generic-details.html":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003cdiv ng-controller\u003d\"GenericDetailsController as ctrl\"\u003e"},{"line_number":2,"context_line":"  \u003cdiv ng-if\u003d\"ctrl.itemData\"\u003e"},{"line_number":3,"context_line":"    \u003cactions allowed\u003d\"ctrl.resourceType.itemActions\" type\u003d\"row\" item\u003d\"ctrl.itemData\"\u003e\u003c/actions\u003e"},{"line_number":4,"context_line":"  \u003c/div\u003e"},{"line_number":5,"context_line":"  \u003chz-details details\u003d\"ctrl.resourceType.detailViews\" descriptor\u003d\"ctrl.descriptor\"\u003e\u003c/hz-details\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"1af94dfe_a8f39b09","line":2,"updated":"2016-03-15 20:38:30.000000000","message":"Right now, this doesn\u0027t display header because of the way the view is constructed for the Images detail page.  The header is django-based and outside of the ng-view.  We\u0027ll really, really need to change that.","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"}],"openstack_dashboard/static/app/core/core.module.js":[{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"f01082aea74293a3c8293c64e4c5daa6f0558469","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    $routeProvider"},{"line_number":52,"context_line":"      .when(\u0027/details/:type/:path\u0027, {"},{"line_number":53,"context_line":"        templateUrl: $windowProvider.$get().STATIC_URL +"},{"line_number":54,"context_line":"          \u0027framework/widgets/details/generic-details.html\u0027"},{"line_number":55,"context_line":"      });"},{"line_number":56,"context_line":"  }"},{"line_number":57,"context_line":""}],"source_content_type":"text/javascript","patch_set":9,"id":"1af94dfe_7ef70959","line":54,"range":{"start_line":54,"start_character":11,"end_line":54,"end_character":36},"updated":"2016-03-17 23:18:49.000000000","message":"a details view is an application specific thing. Consider moving this to app.core instead.","commit_id":"4ede116273b4e199bc49bb0db91de079fe2f8fb3"}],"openstack_dashboard/static/app/core/images/detail/image-detail.controller.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    ctrl.hasCustomProperties \u003d false;"},{"line_number":46,"context_line":"    ctrl.tableRoute \u003d tableRoute;"},{"line_number":47,"context_line":"    ctrl.resourceType \u003d registry.getResourceType(imageResourceTypeCode);"},{"line_number":48,"context_line":"console.log( $scope.descriptor );"},{"line_number":49,"context_line":"    var imageId \u003d $routeParams.imageId || $scope.descriptor.item.id;"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    init();"}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_28e82b10","line":48,"range":{"start_line":48,"start_character":0,"end_line":48,"end_character":33},"updated":"2016-03-15 20:38:30.000000000","message":"remove","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"8a6e9532ff071fd5e1e6046d39fc590b85f0cd30","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    ctrl.hasCustomProperties \u003d false;"},{"line_number":46,"context_line":"    ctrl.tableRoute \u003d tableRoute;"},{"line_number":47,"context_line":"    ctrl.resourceType \u003d registry.getResourceType(imageResourceTypeCode);"},{"line_number":48,"context_line":"console.log( $scope.descriptor );"},{"line_number":49,"context_line":"    var imageId \u003d $routeParams.imageId || $scope.descriptor.item.id;"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    init();"}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_5527e763","line":48,"range":{"start_line":48,"start_character":0,"end_line":48,"end_character":33},"in_reply_to":"1af94dfe_28e82b10","updated":"2016-03-16 14:20:29.000000000","message":"Done","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    ctrl.tableRoute \u003d tableRoute;"},{"line_number":47,"context_line":"    ctrl.resourceType \u003d registry.getResourceType(imageResourceTypeCode);"},{"line_number":48,"context_line":"console.log( $scope.descriptor );"},{"line_number":49,"context_line":"    var imageId \u003d $routeParams.imageId || $scope.descriptor.item.id;"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    init();"},{"line_number":52,"context_line":""}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_28bf8bfc","line":49,"range":{"start_line":49,"start_character":18,"end_line":49,"end_character":68},"updated":"2016-03-15 20:38:30.000000000","message":"This logic is hokey; we might want to instead just always rely on a descriptor.","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d10466807debcd1641bf12cf41153da07b5bd3a4","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    \u0027$scope\u0027"},{"line_number":30,"context_line":"  ];"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"  function ImageDetailController("},{"line_number":33,"context_line":"    tableRoute,"},{"line_number":34,"context_line":"    imageResourceTypeCode,"},{"line_number":35,"context_line":"    glanceAPI,"}],"source_content_type":"text/javascript","patch_set":6,"id":"1af94dfe_7a77633a","line":32,"range":{"start_line":32,"start_character":11,"end_line":32,"end_character":32},"updated":"2016-03-16 16:57:12.000000000","message":"This file could go away if the customized details view is not needed any more.","commit_id":"e602187ffb161a727bd103338f8284c0e0532682"}],"openstack_dashboard/static/app/core/images/detail/image-detail.module.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":51,"context_line":"      .setLoadFunction(loadFunction);"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    function descriptorFromPath(path) {"},{"line_number":54,"context_line":"      return {id: path};"},{"line_number":55,"context_line":"    }"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    function loadFunction(descriptor) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_682cf34a","line":54,"range":{"start_line":54,"start_character":13,"end_line":54,"end_character":23},"updated":"2016-03-15 20:38:30.000000000","message":"wondering if I should just construct the full descriptor here, or just the \u0027item\u0027 portion of the descriptor.","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":55,"context_line":"    }"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    function loadFunction(descriptor) {"},{"line_number":58,"context_line":"      return glanceApi.getImage(descriptor.item.id);"},{"line_number":59,"context_line":"    }"},{"line_number":60,"context_line":"  }"},{"line_number":61,"context_line":""}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_0801efae","line":58,"range":{"start_line":58,"start_character":13,"end_line":58,"end_character":52},"updated":"2016-03-15 20:38:30.000000000","message":"May seem weird to place loads in the module, but I don\u0027t think there\u0027s a problem with that, and we do need a common way, accessible to the resourceType registration, to get information about an item.","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"561a17f873daaa1438851e27d2d4e6d0f84622e6","unresolved":false,"context_lines":[{"line_number":55,"context_line":"    }"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    function loadFunction(descriptor) {"},{"line_number":58,"context_line":"      return glanceApi.getImage(descriptor.item.id);"},{"line_number":59,"context_line":"    }"},{"line_number":60,"context_line":"  }"},{"line_number":61,"context_line":""}],"source_content_type":"text/javascript","patch_set":4,"id":"1af94dfe_33ab7c1f","line":58,"range":{"start_line":58,"start_character":13,"end_line":58,"end_character":52},"in_reply_to":"1af94dfe_0801efae","updated":"2016-03-15 21:14:37.000000000","message":"One thing I don\u0027t like is that this doesn\u0027t return a standard promise...perhaps we should modify it so that it does.","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"584231b30a1fbab9426cc767152a762ea5039391","unresolved":false,"context_lines":[{"line_number":51,"context_line":"      .setPathGenerator(pathGenerator)"},{"line_number":52,"context_line":"      .setLoadFunction(loadFunction);"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    function pathGenerator(id) {"},{"line_number":55,"context_line":"      return id;"},{"line_number":56,"context_line":"    }"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    function parsePath(path) {"},{"line_number":59,"context_line":"      return path;"},{"line_number":60,"context_line":"    }"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    function loadFunction(identifier) {"},{"line_number":63,"context_line":"      return glanceApi.getImage(identifier);"}],"source_content_type":"text/javascript","patch_set":5,"id":"1af94dfe_0858a131","line":60,"range":{"start_line":54,"start_character":4,"end_line":60,"end_character":5},"updated":"2016-03-16 15:48:54.000000000","message":"Note, these are actually defaults so they don\u0027t need to be here.","commit_id":"3ca27fd10f13c077c2fdfc9987a30dc2a8197164"}],"openstack_dashboard/static/app/core/images/detail/overview.controller.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d10466807debcd1641bf12cf41153da07b5bd3a4","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    \u0027$scope\u0027"},{"line_number":28,"context_line":"  ];"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"  function ImageOverviewController("},{"line_number":31,"context_line":"    imageResourceTypeCode,"},{"line_number":32,"context_line":"    glanceAPI,"},{"line_number":33,"context_line":"    keystoneAPI,"}],"source_content_type":"text/javascript","patch_set":6,"id":"1af94dfe_faab7387","line":30,"range":{"start_line":30,"start_character":12,"end_line":30,"end_character":34},"updated":"2016-03-16 16:57:12.000000000","message":"The main question is whether we can/should split this into more of a service than a controller.  The advantages would be consistent passing of valuable information, like the descriptor, as a parameter; also, it would allow better for default handling of behaviors (like result handlers) and also could use a top-level item object (rather than reloading or passing on scope).","commit_id":"e602187ffb161a727bd103338f8284c0e0532682"}],"openstack_dashboard/static/app/core/images/table/images-table.html":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"1884d0a4a4026517bcfb279210029475b52dab5e","unresolved":false,"context_lines":[{"line_number":65,"context_line":"           duration\u003d\"200\"\u003e"},{"line_number":66,"context_line":"        \u003c/span\u003e"},{"line_number":67,"context_line":"      \u003c/td\u003e"},{"line_number":68,"context_line":"      \u003ctd class\u003d\"rsp-p1\"\u003e\u003ca ng-href\u003d\"{$ table.detailsRoute + image.id $}\"\u003e{$ image.name $}\u003c/a\u003e \u003cspan ng-click\u003d\"table.detailModal(image)\"\u003eModal\u003c/span\u003e \u003ca ng-href\u003d\"/details/OS::Glance::Image/{$ image.id $}\"\u003eGeneric\u003c/a\u003e\u003c/td\u003e"},{"line_number":69,"context_line":"      \u003ctd class\u003d\"rsp-p1\"\u003e{$ image | imageType $}\u003c/td\u003e"},{"line_number":70,"context_line":"      \u003ctd class\u003d\"rsp-p1\"\u003e{$ image.status | imageStatus $}\u003c/td\u003e"},{"line_number":71,"context_line":"      \u003ctd class\u003d\"rsp-p2\"\u003e{$ image.filtered_visibility $}\u003c/td\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"1af94dfe_48d81754","line":68,"updated":"2016-03-15 20:38:30.000000000","message":"These obviously are not for production; they make it easy to test the different ways of looking at the data.","commit_id":"f43d865630152fc4a6d076bd838755720fcfff55"}],"openstack_dashboard/static/app/core/openstack-service-api/glance.service.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"0716d7c10e6588dd2433f1b509436fa431f3a100","unresolved":false,"context_lines":[{"line_number":74,"context_line":"     *"},{"line_number":75,"context_line":"     */"},{"line_number":76,"context_line":"    function getImage(id) {"},{"line_number":77,"context_line":"      return apiService.get(\u0027/api/glance/images/\u0027 + id + \u0027/\u0027)"},{"line_number":78,"context_line":"        .error(function () {"},{"line_number":79,"context_line":"          toastService.add(\u0027error\u0027, gettext(\u0027Unable to retrieve the image.\u0027));"},{"line_number":80,"context_line":"        });"}],"source_content_type":"text/javascript","patch_set":11,"id":"1af94dfe_be75decb","line":77,"range":{"start_line":77,"start_character":54,"end_line":77,"end_character":60},"updated":"2016-03-18 19:02:10.000000000","message":"This is for performance, otherwise we get at 301 redirect to the same address with a slash.","commit_id":"e8031c6dbcefa45cbfbe5a57296a4557c8f9bcc3"}]}
