{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/83169496","pull_request_review_id":4027677,"id":83169496,"diff_hunk":"@@ -0,0 +1,57 @@\n+ManageIQ.angular.app.controller('networkRouterFormController', ['$http', '$scope', 'networkRouterFormId', 'miqService', function($http, $scope, networkRouterFormId, miqService) {\n+  $scope.networkRouterModel = { name: '' };\n+  $scope.formId = networkRouterFormId;\n+  $scope.afterGet = false;\n+  $scope.modelCopy = angular.copy( $scope.networkRouterModel );\n+  $scope.model = \"networkRouterModel\";\n+\n+  ManageIQ.angular.scope = $scope;\n+\n+  if (networkRouterFormId == 'new') {\n+    $scope.networkRouterModel.name = \"\";\n+    $scope.newRecord = true;\n+  } else {\n+    miqService.sparkleOn();\n+\n+    $http.get('/network_router/network_router_form_fields/' + networkRouterFormId).success(function(data) {\n+      $scope.afterGet = true;\n+      $scope.networkRouterModel.name = data.name;\n+\n+      $scope.modelCopy = angular.copy( $scope.networkRouterModel );\n+      miqService.sparkleOff();\n+    });\n+  }\n+\n+  $scope.addClicked = function() {\n+    var url = 'create/new' + '?button=add';\n+    miqService.miqAjaxButton(url, $scope.networkRouterModel);\n+  };\n+\n+  $scope.cancelClicked = function() {\n+    if (networkRouterFormId == 'new') {\n+      var url = '/network_router/create/new' + '?button=cancel';\n+    } else {\n+      var url = '/network_router/update/' + networkRouterFormId + '?button=cancel';\n+    }\n+    miqService.miqAjaxButton(url, true);","path":"app/assets/javascripts/controllers/network_router/network_router_form_controller.js","position":36,"original_position":36,"commit_id":"ce17c33e0efb2272d51898e7ab9e8637bc55965a","original_commit_id":"ce17c33e0efb2272d51898e7ab9e8637bc55965a","user":{"login":"himdel","id":289743,"avatar_url":"https://avatars.githubusercontent.com/u/289743?v=3","gravatar_id":"","url":"https://api.github.com/users/himdel","html_url":"https://github.com/himdel","followers_url":"https://api.github.com/users/himdel/followers","following_url":"https://api.github.com/users/himdel/following{/other_user}","gists_url":"https://api.github.com/users/himdel/gists{/gist_id}","starred_url":"https://api.github.com/users/himdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himdel/subscriptions","organizations_url":"https://api.github.com/users/himdel/orgs","repos_url":"https://api.github.com/users/himdel/repos","events_url":"https://api.github.com/users/himdel/events{/privacy}","received_events_url":"https://api.github.com/users/himdel/received_events","type":"User","site_admin":false},"body":"Still seeing `true` here.. (but given this is `cancel`, you probably just want `miqService.miqAjaxButton(url);` (no data), right?","created_at":"2016-10-13T08:50:42Z","updated_at":"2016-10-13T08:50:42Z","html_url":"https://github.com/ManageIQ/manageiq/pull/11477#discussion_r83169496","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11477","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/83169496"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/11477#discussion_r83169496"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11477"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11477","id":86464553,"html_url":"https://github.com/ManageIQ/manageiq/pull/11477","diff_url":"https://github.com/ManageIQ/manageiq/pull/11477.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/11477.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11477","number":11477,"state":"open","locked":false,"title":"UI: Router Provisioning with Network Provider","user":{"login":"gildub","id":1901741,"avatar_url":"https://avatars.githubusercontent.com/u/1901741?v=3","gravatar_id":"","url":"https://api.github.com/users/gildub","html_url":"https://github.com/gildub","followers_url":"https://api.github.com/users/gildub/followers","following_url":"https://api.github.com/users/gildub/following{/other_user}","gists_url":"https://api.github.com/users/gildub/gists{/gist_id}","starred_url":"https://api.github.com/users/gildub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gildub/subscriptions","organizations_url":"https://api.github.com/users/gildub/orgs","repos_url":"https://api.github.com/users/gildub/repos","events_url":"https://api.github.com/users/gildub/events{/privacy}","received_events_url":"https://api.github.com/users/gildub/received_events","type":"User","site_admin":false},"body":"Views: Adds edit and new\r\nButton: Adds configuration -> Add/Edit/Cancel\r\nControllers/Models: EMS Network Provider updates using raw updates\r\nIncludes Rspec","created_at":"2016-09-23T07:18:24Z","updated_at":"2016-10-13T08:50:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7b804a7a85d8a18d3b122e78ca4cfc3fd072053","assignee":{"login":"tzumainn","id":1280178,"avatar_url":"https://avatars.githubusercontent.com/u/1280178?v=3","gravatar_id":"","url":"https://api.github.com/users/tzumainn","html_url":"https://github.com/tzumainn","followers_url":"https://api.github.com/users/tzumainn/followers","following_url":"https://api.github.com/users/tzumainn/following{/other_user}","gists_url":"https://api.github.com/users/tzumainn/gists{/gist_id}","starred_url":"https://api.github.com/users/tzumainn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzumainn/subscriptions","organizations_url":"https://api.github.com/users/tzumainn/orgs","repos_url":"https://api.github.com/users/tzumainn/repos","events_url":"https://api.github.com/users/tzumainn/events{/privacy}","received_events_url":"https://api.github.com/users/tzumainn/received_events","type":"User","site_admin":false},"assignees":[{"login":"tzumainn","id":1280178,"avatar_url":"https://avatars.githubusercontent.com/u/1280178?v=3","gravatar_id":"","url":"https://api.github.com/users/tzumainn","html_url":"https://github.com/tzumainn","followers_url":"https://api.github.com/users/tzumainn/followers","following_url":"https://api.github.com/users/tzumainn/following{/other_user}","gists_url":"https://api.github.com/users/tzumainn/gists{/gist_id}","starred_url":"https://api.github.com/users/tzumainn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzumainn/subscriptions","organizations_url":"https://api.github.com/users/tzumainn/orgs","repos_url":"https://api.github.com/users/tzumainn/repos","events_url":"https://api.github.com/users/tzumainn/events{/privacy}","received_events_url":"https://api.github.com/users/tzumainn/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11477/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11477/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11477/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/ce17c33e0efb2272d51898e7ab9e8637bc55965a","head":{"label":"gildub:network-provisioning-router","ref":"network-provisioning-router","sha":"ce17c33e0efb2272d51898e7ab9e8637bc55965a","user":{"login":"gildub","id":1901741,"avatar_url":"https://avatars.githubusercontent.com/u/1901741?v=3","gravatar_id":"","url":"https://api.github.com/users/gildub","html_url":"https://github.com/gildub","followers_url":"https://api.github.com/users/gildub/followers","following_url":"https://api.github.com/users/gildub/following{/other_user}","gists_url":"https://api.github.com/users/gildub/gists{/gist_id}","starred_url":"https://api.github.com/users/gildub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gildub/subscriptions","organizations_url":"https://api.github.com/users/gildub/orgs","repos_url":"https://api.github.com/users/gildub/repos","events_url":"https://api.github.com/users/gildub/events{/privacy}","received_events_url":"https://api.github.com/users/gildub/received_events","type":"User","site_admin":false},"repo":{"id":52506869,"name":"manageiq","full_name":"gildub/manageiq","owner":{"login":"gildub","id":1901741,"avatar_url":"https://avatars.githubusercontent.com/u/1901741?v=3","gravatar_id":"","url":"https://api.github.com/users/gildub","html_url":"https://github.com/gildub","followers_url":"https://api.github.com/users/gildub/followers","following_url":"https://api.github.com/users/gildub/following{/other_user}","gists_url":"https://api.github.com/users/gildub/gists{/gist_id}","starred_url":"https://api.github.com/users/gildub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gildub/subscriptions","organizations_url":"https://api.github.com/users/gildub/orgs","repos_url":"https://api.github.com/users/gildub/repos","events_url":"https://api.github.com/users/gildub/events{/privacy}","received_events_url":"https://api.github.com/users/gildub/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gildub/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/gildub/manageiq","forks_url":"https://api.github.com/repos/gildub/manageiq/forks","keys_url":"https://api.github.com/repos/gildub/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gildub/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gildub/manageiq/teams","hooks_url":"https://api.github.com/repos/gildub/manageiq/hooks","issue_events_url":"https://api.github.com/repos/gildub/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/gildub/manageiq/events","assignees_url":"https://api.github.com/repos/gildub/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/gildub/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/gildub/manageiq/tags","blobs_url":"https://api.github.com/repos/gildub/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gildub/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gildub/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/gildub/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gildub/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/gildub/manageiq/languages","stargazers_url":"https://api.github.com/repos/gildub/manageiq/stargazers","contributors_url":"https://api.github.com/repos/gildub/manageiq/contributors","subscribers_url":"https://api.github.com/repos/gildub/manageiq/subscribers","subscription_url":"https://api.github.com/repos/gildub/manageiq/subscription","commits_url":"https://api.github.com/repos/gildub/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/gildub/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/gildub/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/gildub/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/gildub/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/gildub/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gildub/manageiq/merges","archive_url":"https://api.github.com/repos/gildub/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gildub/manageiq/downloads","issues_url":"https://api.github.com/repos/gildub/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/gildub/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/gildub/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/gildub/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gildub/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/gildub/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/gildub/manageiq/deployments","created_at":"2016-02-25T07:52:11Z","updated_at":"2016-02-25T07:52:30Z","pushed_at":"2016-10-13T07:40:41Z","git_url":"git://github.com/gildub/manageiq.git","ssh_url":"git@github.com:gildub/manageiq.git","clone_url":"https://github.com/gildub/manageiq.git","svn_url":"https://github.com/gildub/manageiq","homepage":"manageiq.org","size":161057,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"daae7ae3f709c2f04c1e34343b6ba6cbf6512159","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Open-Source Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2016-10-07T20:22:27Z","pushed_at":"2016-10-13T08:48:56Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":211324,"stargazers_count":335,"watchers_count":335,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":368,"mirror_url":null,"open_issues_count":869,"forks":368,"open_issues":869,"watchers":335,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11477"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/11477"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/11477"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/11477/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11477/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11477/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/ce17c33e0efb2272d51898e7ab9e8637bc55965a"}}}}
{"actor":{"display_login":"himdel"}}