)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"713fa1bd56b648101043f1e99f2b6c1cbd3cb24a","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"We need to show admin password if enabled for the hypervisor type."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Note: To test, you need to add the following to local_settings.py"},{"line_number":12,"context_line":"REST_API_REQUIRED_SETTINGS \u003d [\u0027OPENSTACK_HYPERVISOR_FEATURES\u0027]"},{"line_number":13,"context_line":"OPENSTACK_HYPERVISOR_FEATURES \u003d {"},{"line_number":14,"context_line":"    \u0027can_set_password\u0027: True"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":27,"id":"3a50d1a3_5a5c924a","line":11,"updated":"2015-07-29 04:56:50.000000000","message":"thanks for adding the steps for testing. But I don\u0027t think this need to be in the commit msg. This is something that can be added in the patch comment instead.","commit_id":"3effd84ab02dee6acd08a53b64945bd9bc0ad853"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"cfeb207372fc9ba322055be32163b041dcd1e94c","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"We need to show admin password if enabled for the hypervisor type."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Note: To test, you need to add the following to local_settings.py"},{"line_number":12,"context_line":"REST_API_REQUIRED_SETTINGS \u003d [\u0027OPENSTACK_HYPERVISOR_FEATURES\u0027]"},{"line_number":13,"context_line":"OPENSTACK_HYPERVISOR_FEATURES \u003d {"},{"line_number":14,"context_line":"    \u0027can_set_password\u0027: True"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":27,"id":"3a50d1a3_ff48e92e","line":11,"in_reply_to":"3a50d1a3_5a5c924a","updated":"2015-07-29 07:22:58.000000000","message":":P i like test instructions in patch as well.","commit_id":"3effd84ab02dee6acd08a53b64945bd9bc0ad853"}],"horizon/static/angular/password-form/password-form.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"44a12c04ae187037c4076c72e6ff585f935a3152","unresolved":false,"context_lines":[{"line_number":14,"context_line":" * limitations under the License."},{"line_number":15,"context_line":" */"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"(function () {"},{"line_number":18,"context_line":"  \u0027use strict\u0027;"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  var DEFAULT_LABEL \u003d {"}],"source_content_type":"text/javascript","patch_set":16,"id":"7aaa499b_254dcd72","line":17,"updated":"2015-04-10 20:13:05.000000000","message":"Sean, checkout hzPasswordMatch in /horizon/static/angular/form.js Does that meet your needs? If not, can we work to improve it instead of writing another password confirmation directive?","commit_id":"7a52780a58246d245bad16682cdaf24237d38c92"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"a57a84d9263df37b46a179bb38b111ec6c5ac68d","unresolved":false,"context_lines":[{"line_number":14,"context_line":" * limitations under the License."},{"line_number":15,"context_line":" */"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"(function () {"},{"line_number":18,"context_line":"  \u0027use strict\u0027;"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  var DEFAULT_LABEL \u003d {"}],"source_content_type":"text/javascript","patch_set":16,"id":"7aaa499b_485230df","line":17,"in_reply_to":"7aaa499b_254dcd72","updated":"2015-04-10 21:22:27.000000000","message":"This is using hzPasswordMatch, please check out the password-form.","commit_id":"7a52780a58246d245bad16682cdaf24237d38c92"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"f4ae33a36cd3c178a3ff1d8071861c24be6596f3","unresolved":false,"context_lines":[{"line_number":54,"context_line":"   ```"},{"line_number":55,"context_line":"   */"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"  .directive(\u0027passwordForm\u0027, [\u0027basePath\u0027, \u0027$timeout\u0027,"},{"line_number":58,"context_line":"    function (path, $timeout) {"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"      var scope \u003d {"}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_9bf8847e","line":57,"updated":"2015-04-10 22:20:01.000000000","message":"I\u0027m not entirely convinced we need to create another directive to abstract password validation. Couldn\u0027t users just include the HTML and use hzPasswordMatch? What is this directive really providing?","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"a3bd7319fd2206858203096e9eab6ed3b547e657","unresolved":false,"context_lines":[{"line_number":54,"context_line":"   ```"},{"line_number":55,"context_line":"   */"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"  .directive(\u0027passwordForm\u0027, [\u0027basePath\u0027, \u0027$timeout\u0027,"},{"line_number":58,"context_line":"    function (path, $timeout) {"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"      var scope \u003d {"}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_943cd130","line":57,"in_reply_to":"7aaa499b_3931780c","updated":"2015-04-11 05:00:07.000000000","message":"We are talking two things here:\n\n1. how to fix or work around the design in hzPasswordMatch where uses ID to find the password element. I choose working-around since I do not want to cause any issue where uses  hzPasswordMatch already. And I don\u0027t think this patch should fix so many issue.\n\n2. You think having this directive is overkill, can you suggest what directive you want and where to put it? the logic was in the controller, and you suggested to make it in a directive, I really don\u0027t know what you want. I think I have spent too much time on such a simple thing.","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"1b05eb37a1018fe49c57305e4ef91dd9bb33b86a","unresolved":false,"context_lines":[{"line_number":54,"context_line":"   ```"},{"line_number":55,"context_line":"   */"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"  .directive(\u0027passwordForm\u0027, [\u0027basePath\u0027, \u0027$timeout\u0027,"},{"line_number":58,"context_line":"    function (path, $timeout) {"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"      var scope \u003d {"}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_3931780c","line":57,"in_reply_to":"7aaa499b_799f0060","updated":"2015-04-11 02:12:09.000000000","message":"Its possible that I\u0027m missing something important here. Basically, I understand that this directive creates a form, which uses hzPasswordMatch underneath. But the problem is that the directive takes in an ID and you want it to be more reusable. Is that correct? What about modifying hzPasswordMatch to take in the \"for\" attribute similar to labels? I think having a password form as a directive is overkill.","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"6e1cbc82e79c8f95e7f4d4d88de5e4ed05c09eb2","unresolved":false,"context_lines":[{"line_number":54,"context_line":"   ```"},{"line_number":55,"context_line":"   */"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"  .directive(\u0027passwordForm\u0027, [\u0027basePath\u0027, \u0027$timeout\u0027,"},{"line_number":58,"context_line":"    function (path, $timeout) {"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"      var scope \u003d {"}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_9e6d1235","line":57,"in_reply_to":"7aaa499b_9bf8847e","updated":"2015-04-11 00:05:22.000000000","message":"I am confused. this is using hzPasswordMatch for validation. but in hzPasswordMatch, it is relies on element ID for the confirm password input element to find the password input. Since this is a reusable directive, I cannot use ID, so I need to trigger the validation in hzPasswordMatch. Creating this directive is based on your comment directly.\n\nDid you see my response to your comments about this?","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"adf5ce41112d8228980ee1d6df6bbc415cd7af6d","unresolved":false,"context_lines":[{"line_number":54,"context_line":"   ```"},{"line_number":55,"context_line":"   */"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"  .directive(\u0027passwordForm\u0027, [\u0027basePath\u0027, \u0027$timeout\u0027,"},{"line_number":58,"context_line":"    function (path, $timeout) {"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"      var scope \u003d {"}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_799f0060","line":57,"in_reply_to":"7aaa499b_9e6d1235","updated":"2015-04-11 00:59:03.000000000","message":"Or if you think we shouldn\u0027t have this in horizon and should move it to openstack_dashboard to make it as an application level directive, I can certainly do that.","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"f4ae33a36cd3c178a3ff1d8071861c24be6596f3","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        });"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        $timeout(function () {"},{"line_number":79,"context_line":"          passwordField.focus();"},{"line_number":80,"context_line":"        }, 50);"},{"line_number":81,"context_line":"      }"},{"line_number":82,"context_line":""}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_1bdd9414","line":79,"updated":"2015-04-10 22:20:01.000000000","message":"pass in false for 3rd to prevent digest.","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"6e1cbc82e79c8f95e7f4d4d88de5e4ed05c09eb2","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        });"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        $timeout(function () {"},{"line_number":79,"context_line":"          passwordField.focus();"},{"line_number":80,"context_line":"        }, 50);"},{"line_number":81,"context_line":"      }"},{"line_number":82,"context_line":""}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_de827ac8","line":79,"in_reply_to":"7aaa499b_1bdd9414","updated":"2015-04-11 00:05:22.000000000","message":"Good catch! Done.","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"}],"horizon/static/angular/password-form/password-form.spec.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"f4ae33a36cd3c178a3ff1d8071861c24be6596f3","unresolved":false,"context_lines":[{"line_number":44,"context_line":"      var element \u003d $compile(html)($scope);"},{"line_number":45,"context_line":"      expect(element.text().trim()).toBe(\u0027\u0027);"},{"line_number":46,"context_line":"    });"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  });"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"})();"}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_dbe60ce8","line":47,"updated":"2015-04-10 22:20:01.000000000","message":"need tests for keyup and change.","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"}],"openstack_dashboard/static/dashboard/launch-instance/keypair/keypair.html":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"713fa1bd56b648101043f1e99f2b6c1cbd3cb24a","unresolved":false,"context_lines":[{"line_number":123,"context_line":"          \u003c/tbody\u003e"},{"line_number":124,"context_line":"        \u003c/table\u003e"},{"line_number":125,"context_line":"      \u003c/available\u003e"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"    \u003c/transfer-table\u003e \u003c!-- End Key Pairs Table --\u003e"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"  \u003c/div\u003e \u003c!-- End Content --\u003e"}],"source_content_type":"text/html","patch_set":27,"id":"3a50d1a3_fa91def1","side":"PARENT","line":126,"updated":"2015-07-29 04:56:50.000000000","message":"why is the extra line removed here?","commit_id":"55d88786fdd50e180ebe5a8d3d6f77bf4027ef63"}],"openstack_dashboard/static/dashboard/launch-instance/keypair/keypair.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"ad1fd9aad7d19a4dee3e3b925cbe241133813ea7","unresolved":false,"context_lines":[{"line_number":16,"context_line":"    \u0027$element\u0027,"},{"line_number":17,"context_line":"    \u0027$timeout\u0027,"},{"line_number":18,"context_line":"    \u0027launchInstanceModel\u0027,"},{"line_number":19,"context_line":"    function ($scope, $element, $timeout, launchInstanceModel) {"},{"line_number":20,"context_line":"      var ctrl \u003d this;"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"      ctrl.label \u003d {"}],"source_content_type":"text/javascript","patch_set":4,"id":"9aa53dc9_a21605ef","line":19,"updated":"2015-04-08 22:38:46.000000000","message":"$scope not used","commit_id":"e69d2680682deac431353fe165bd68a46ceac10b"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"7c49e85466d5506f0b0ac3b27c99cb49098cce8f","unresolved":false,"context_lines":[{"line_number":16,"context_line":"    \u0027$element\u0027,"},{"line_number":17,"context_line":"    \u0027$timeout\u0027,"},{"line_number":18,"context_line":"    \u0027launchInstanceModel\u0027,"},{"line_number":19,"context_line":"    function ($scope, $element, $timeout, launchInstanceModel) {"},{"line_number":20,"context_line":"      var ctrl \u003d this;"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"      ctrl.label \u003d {"}],"source_content_type":"text/javascript","patch_set":4,"id":"9aa53dc9_33100501","line":19,"in_reply_to":"9aa53dc9_a21605ef","updated":"2015-04-08 23:55:53.000000000","message":"Done","commit_id":"e69d2680682deac431353fe165bd68a46ceac10b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"ed630c2d66825c5ed9914b85aed276e30d49bd11","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    \u0027$element\u0027,"},{"line_number":16,"context_line":"    \u0027$timeout\u0027,"},{"line_number":17,"context_line":"    \u0027launchInstanceModel\u0027,"},{"line_number":18,"context_line":"    function ($element, $timeout, launchInstanceModel) {"},{"line_number":19,"context_line":"      var ctrl \u003d this;"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"      ctrl.label \u003d {"}],"source_content_type":"text/javascript","patch_set":12,"id":"9aa53dc9_0a159ae3","line":18,"updated":"2015-04-09 22:20:34.000000000","message":"normally we shouldn\u0027t be referencing an element in a controller.","commit_id":"0956a841344d9dc1124dc3c28004e0a98e5ee041"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"8b8d77766d4525a7355c23e63ea238a6c5de8552","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    \u0027$element\u0027,"},{"line_number":16,"context_line":"    \u0027$timeout\u0027,"},{"line_number":17,"context_line":"    \u0027launchInstanceModel\u0027,"},{"line_number":18,"context_line":"    function ($element, $timeout, launchInstanceModel) {"},{"line_number":19,"context_line":"      var ctrl \u003d this;"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"      ctrl.label \u003d {"}],"source_content_type":"text/javascript","patch_set":12,"id":"9aa53dc9_0abfdaaa","line":18,"in_reply_to":"9aa53dc9_0a159ae3","updated":"2015-04-09 22:36:24.000000000","message":"See below.","commit_id":"0956a841344d9dc1124dc3c28004e0a98e5ee041"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"ed630c2d66825c5ed9914b85aed276e30d49bd11","unresolved":false,"context_lines":[{"line_number":56,"context_line":"      ctrl.settingAdminPassword \u003d SETTING_ADMIN_PASSWORD_DEFAULT;"},{"line_number":57,"context_line":"      ctrl.confirmedAdminPassword \u003d \u0027\u0027;"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"      ctrl.settingAdminPasswordChange \u003d function () {"},{"line_number":60,"context_line":"        $timeout(function () {"},{"line_number":61,"context_line":"          $element.find(\u0027input[type\u003d\"password\"]\u0027).val(\u0027\u0027);"},{"line_number":62,"context_line":"          if (ctrl.settingAdminPassword) {"}],"source_content_type":"text/javascript","patch_set":12,"id":"9aa53dc9_6a22e653","line":59,"updated":"2015-04-09 22:20:34.000000000","message":"this piece of code looks like it should belong in a directive.","commit_id":"0956a841344d9dc1124dc3c28004e0a98e5ee041"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"8b8d77766d4525a7355c23e63ea238a6c5de8552","unresolved":false,"context_lines":[{"line_number":56,"context_line":"      ctrl.settingAdminPassword \u003d SETTING_ADMIN_PASSWORD_DEFAULT;"},{"line_number":57,"context_line":"      ctrl.confirmedAdminPassword \u003d \u0027\u0027;"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"      ctrl.settingAdminPasswordChange \u003d function () {"},{"line_number":60,"context_line":"        $timeout(function () {"},{"line_number":61,"context_line":"          $element.find(\u0027input[type\u003d\"password\"]\u0027).val(\u0027\u0027);"},{"line_number":62,"context_line":"          if (ctrl.settingAdminPassword) {"}],"source_content_type":"text/javascript","patch_set":12,"id":"9aa53dc9_ca0a128a","line":59,"in_reply_to":"9aa53dc9_6a22e653","updated":"2015-04-09 22:36:24.000000000","message":"Make perfect sense to me. I think this is related the above comments. Do you think we should do it now or we could do it to make a directive in another refactoring patch?","commit_id":"0956a841344d9dc1124dc3c28004e0a98e5ee041"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"44a12c04ae187037c4076c72e6ff585f935a3152","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var SETTING_ADMIN_PASSWORD_DEFAULT \u003d false;"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  var module \u003d angular.module(\u0027hz.dashboard.launch-instance\u0027);"},{"line_number":7,"context_line":""}],"source_content_type":"text/javascript","patch_set":16,"id":"7aaa499b_735ba255","line":4,"updated":"2015-04-10 20:13:05.000000000","message":"Since this setting is the default value for admin password checkbox, the name should reflect that. ADMIN_PASSWORD_DEFAULT_VALUE or something along that line would be good.","commit_id":"7a52780a58246d245bad16682cdaf24237d38c92"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"a57a84d9263df37b46a179bb38b111ec6c5ac68d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var SETTING_ADMIN_PASSWORD_DEFAULT \u003d false;"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  var module \u003d angular.module(\u0027hz.dashboard.launch-instance\u0027);"},{"line_number":7,"context_line":""}],"source_content_type":"text/javascript","patch_set":16,"id":"7aaa499b_c82ac02c","line":4,"in_reply_to":"7aaa499b_735ba255","updated":"2015-04-10 21:22:27.000000000","message":"This is not the default value for admin password, rather the default value of if setting admin password is what user wanted. I think the naming I am used here is more descriptive.","commit_id":"7a52780a58246d245bad16682cdaf24237d38c92"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"f4ae33a36cd3c178a3ff1d8071861c24be6596f3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var SETTING_ADMIN_PASSWORD_DEFAULT \u003d false;"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  var module \u003d angular.module(\u0027hz.dashboard.launch-instance\u0027);"},{"line_number":7,"context_line":""}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_5bc43c3f","line":4,"updated":"2015-04-10 22:20:01.000000000","message":"What about ADMIN_PASSWORD_CHECKED?","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"6e1cbc82e79c8f95e7f4d4d88de5e4ed05c09eb2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var SETTING_ADMIN_PASSWORD_DEFAULT \u003d false;"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  var module \u003d angular.module(\u0027hz.dashboard.launch-instance\u0027);"},{"line_number":7,"context_line":""}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_9e263215","line":4,"in_reply_to":"7aaa499b_5bc43c3f","updated":"2015-04-11 00:05:22.000000000","message":"Done","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"}],"openstack_dashboard/static/dashboard/launch-instance/keypair/keypair.spec.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"ad1fd9aad7d19a4dee3e3b925cbe241133813ea7","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                      keypairs: [\u0027key1\u0027, \u0027key2\u0027] };"},{"line_number":28,"context_line":"        ctrl \u003d $controller(\u0027LaunchInstanceKeypairCtrl\u0027,"},{"line_number":29,"context_line":"                           {"},{"line_number":30,"context_line":"                             $scope: {},"},{"line_number":31,"context_line":"                             $timeout: function() {},"},{"line_number":32,"context_line":"                             $element: {find: function(){}},"},{"line_number":33,"context_line":"                             launchInstanceModel: model"}],"source_content_type":"text/javascript","patch_set":4,"id":"9aa53dc9_0297f148","line":30,"updated":"2015-04-08 22:38:46.000000000","message":"remove too","commit_id":"e69d2680682deac431353fe165bd68a46ceac10b"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"7c49e85466d5506f0b0ac3b27c99cb49098cce8f","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                      keypairs: [\u0027key1\u0027, \u0027key2\u0027] };"},{"line_number":28,"context_line":"        ctrl \u003d $controller(\u0027LaunchInstanceKeypairCtrl\u0027,"},{"line_number":29,"context_line":"                           {"},{"line_number":30,"context_line":"                             $scope: {},"},{"line_number":31,"context_line":"                             $timeout: function() {},"},{"line_number":32,"context_line":"                             $element: {find: function(){}},"},{"line_number":33,"context_line":"                             launchInstanceModel: model"}],"source_content_type":"text/javascript","patch_set":4,"id":"9aa53dc9_b30415c0","line":30,"in_reply_to":"9aa53dc9_0297f148","updated":"2015-04-08 23:55:53.000000000","message":"Done","commit_id":"e69d2680682deac431353fe165bd68a46ceac10b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"ed630c2d66825c5ed9914b85aed276e30d49bd11","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                      keypairs: [\u0027key1\u0027, \u0027key2\u0027] };"},{"line_number":28,"context_line":"        ctrl \u003d $controller(\u0027LaunchInstanceKeypairCtrl\u0027,"},{"line_number":29,"context_line":"                           {"},{"line_number":30,"context_line":"                             $timeout: function() {},"},{"line_number":31,"context_line":"                             $element: {find: function(){}},"},{"line_number":32,"context_line":"                             launchInstanceModel: model"},{"line_number":33,"context_line":"                           });"}],"source_content_type":"text/javascript","patch_set":12,"id":"9aa53dc9_eaa276ad","line":30,"updated":"2015-04-09 22:20:34.000000000","message":"Not sure what the point of mocking $timeout is. Wouldn\u0027t this obscure the code that you plan on executing inside?","commit_id":"0956a841344d9dc1124dc3c28004e0a98e5ee041"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"8b8d77766d4525a7355c23e63ea238a6c5de8552","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                      keypairs: [\u0027key1\u0027, \u0027key2\u0027] };"},{"line_number":28,"context_line":"        ctrl \u003d $controller(\u0027LaunchInstanceKeypairCtrl\u0027,"},{"line_number":29,"context_line":"                           {"},{"line_number":30,"context_line":"                             $timeout: function() {},"},{"line_number":31,"context_line":"                             $element: {find: function(){}},"},{"line_number":32,"context_line":"                             launchInstanceModel: model"},{"line_number":33,"context_line":"                           });"}],"source_content_type":"text/javascript","patch_set":12,"id":"9aa53dc9_4a016237","line":30,"in_reply_to":"9aa53dc9_eaa276ad","updated":"2015-04-09 22:36:24.000000000","message":"yes, agreed. I think it is just a easy way of make the dependency available for the test, not really being used in the tests. I agree in general we shouldn\u0027t over-mock for testing.","commit_id":"0956a841344d9dc1124dc3c28004e0a98e5ee041"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"44a12c04ae187037c4076c72e6ff585f935a3152","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        };"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"        ctrl \u003d $controller(\u0027LaunchInstanceKeypairCtrl\u0027,"},{"line_number":39,"context_line":"\u003c\u003c\u003c\u003c\u003c\u003c\u003c HEAD"},{"line_number":40,"context_line":"                          { launchInstanceModel: model });"},{"line_number":41,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":42,"context_line":"                           {"}],"source_content_type":"text/javascript","patch_set":16,"id":"7aaa499b_f31c5279","line":39,"updated":"2015-04-10 20:13:05.000000000","message":"ops!","commit_id":"7a52780a58246d245bad16682cdaf24237d38c92"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"a57a84d9263df37b46a179bb38b111ec6c5ac68d","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        };"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"        ctrl \u003d $controller(\u0027LaunchInstanceKeypairCtrl\u0027,"},{"line_number":39,"context_line":"\u003c\u003c\u003c\u003c\u003c\u003c\u003c HEAD"},{"line_number":40,"context_line":"                          { launchInstanceModel: model });"},{"line_number":41,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":42,"context_line":"                           {"}],"source_content_type":"text/javascript","patch_set":16,"id":"7aaa499b_4817d0ed","line":39,"in_reply_to":"7aaa499b_f31c5279","updated":"2015-04-10 21:22:27.000000000","message":"Done","commit_id":"7a52780a58246d245bad16682cdaf24237d38c92"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"f4ae33a36cd3c178a3ff1d8071861c24be6596f3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":" *    (c) Copyright 2015 Hewlett-Packard Development Company, L.P."},{"line_number":3,"context_line":" *"},{"line_number":4,"context_line":" * Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":" * you may not use this file except in compliance with the License."}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_3bc1702f","line":2,"updated":"2015-04-10 22:20:01.000000000","message":"Failing jshint","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"6e1cbc82e79c8f95e7f4d4d88de5e4ed05c09eb2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":" *    (c) Copyright 2015 Hewlett-Packard Development Company, L.P."},{"line_number":3,"context_line":" *"},{"line_number":4,"context_line":" * Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":" * you may not use this file except in compliance with the License."}],"source_content_type":"text/javascript","patch_set":17,"id":"7aaa499b_1e1222b5","line":2,"in_reply_to":"7aaa499b_3bc1702f","updated":"2015-04-11 00:05:22.000000000","message":"Done","commit_id":"740d87547a232b7338421587afcb86f30d6d789e"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"713fa1bd56b648101043f1e99f2b6c1cbd3cb24a","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        expect(Object.keys(ctrl.tableLimits).length).toBe(1);"},{"line_number":86,"context_line":"        expect(ctrl.tableLimits.maxAllocation).toBe(1);"},{"line_number":87,"context_line":"      });"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"      describe(\u0027Admin Password\u0027, function () {"},{"line_number":90,"context_line":"        it(\u0027should define labels\u0027, function () {"},{"line_number":91,"context_line":"          expect(ctrl.label.adminPasswordSubTitle).toBeDefined();"}],"source_content_type":"text/javascript","patch_set":27,"id":"3a50d1a3_f549ef60","line":88,"updated":"2015-07-29 04:56:50.000000000","message":"not sure if I\u0027m just missing something here (could be angular ng question), but where is the test that shows the behavior that show/display the password field depending on the settings (OPENSTACK_HYPERVISOR_FEATURES.can_set_password)  value being true/false?","commit_id":"3effd84ab02dee6acd08a53b64945bd9bc0ad853"}],"openstack_dashboard/static/dashboard/launch-instance/launch-instance-model.js":[{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"0da4b1c7ac730d06085a4746a3ce042376140f0c","unresolved":false,"context_lines":[{"line_number":298,"context_line":""},{"line_number":299,"context_line":"        delete finalSpec.key_pair;"},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"        if(finalSpec.admin_pass \u003d\u003d\u003d null){"},{"line_number":302,"context_line":"          delete finalSpec.admin_pass;"},{"line_number":303,"context_line":"        }"},{"line_number":304,"context_line":"      }"}],"source_content_type":"text/javascript","patch_set":24,"id":"ba3cc151_6c097230","line":301,"updated":"2015-07-09 22:33:41.000000000","message":"I think linting might complain about having spaces between if and paren. Also, between paren and curly brace.","commit_id":"8a027abed1153c53798fb6bfea62c798b732e2dd"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"b3c31bee61c7cfd66f7fede5ba07eede7eea09a7","unresolved":false,"context_lines":[{"line_number":298,"context_line":""},{"line_number":299,"context_line":"        delete finalSpec.key_pair;"},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"        if(finalSpec.admin_pass \u003d\u003d\u003d null){"},{"line_number":302,"context_line":"          delete finalSpec.admin_pass;"},{"line_number":303,"context_line":"        }"},{"line_number":304,"context_line":"      }"}],"source_content_type":"text/javascript","patch_set":24,"id":"ba3cc151_7cbfb260","line":301,"in_reply_to":"ba3cc151_6c097230","updated":"2015-07-10 18:14:43.000000000","message":"Done","commit_id":"8a027abed1153c53798fb6bfea62c798b732e2dd"}]}
