{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/45903016","id":45903016,"diff_hunk":"@@ -139,7 +140,22 @@ define([\n                     url: that.installUrl + 'admin-post-install-modules/',\n                     dataType: 'JSON'\n                 }).then(function(){\n-                    location.reload();\n+                    if (reboot) {\n+                        $.ajax({\n+                            type: 'GET',\n+                            url: that.rebootUrl,\n+                            dataType: 'JSON'\n+                        }).done(function () {\n+                            window.setTimeout(function () {\n+                              window.location.href = that.get(\"redirectUrl\");\n+                            }, 30000);\n+                        }).fail(function () {\n+                            alert(\"Error trying to restart system. Please manually restart the system.\");","path":"platform/admin/ui/src/main/webapp/js/models/Installer.js","position":41,"original_position":41,"commit_id":"af47d503b5931ca904eb6851b59727cd163d5748","original_commit_id":"18a740b4ee2cc067b5f05b837aa11a508dccab60","user":{"login":"gordocanchola","id":14877145,"avatar_url":"https://avatars.githubusercontent.com/u/14877145?v=3","gravatar_id":"","url":"https://api.github.com/users/gordocanchola","html_url":"https://github.com/gordocanchola","followers_url":"https://api.github.com/users/gordocanchola/followers","following_url":"https://api.github.com/users/gordocanchola/following{/other_user}","gists_url":"https://api.github.com/users/gordocanchola/gists{/gist_id}","starred_url":"https://api.github.com/users/gordocanchola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordocanchola/subscriptions","organizations_url":"https://api.github.com/users/gordocanchola/orgs","repos_url":"https://api.github.com/users/gordocanchola/repos","events_url":"https://api.github.com/users/gordocanchola/events{/privacy}","received_events_url":"https://api.github.com/users/gordocanchola/received_events","type":"User","site_admin":false},"body":"Alerts are in another place in the installer. Created a ticket to remove the alerts.","created_at":"2015-11-25T18:34:05Z","updated_at":"2015-11-25T18:34:05Z","html_url":"https://github.com/codice/ddf/pull/356#discussion_r45903016","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/356","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/45903016"},"html":{"href":"https://github.com/codice/ddf/pull/356#discussion_r45903016"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/356"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/356","id":51795261,"html_url":"https://github.com/codice/ddf/pull/356","diff_url":"https://github.com/codice/ddf/pull/356.diff","patch_url":"https://github.com/codice/ddf/pull/356.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/356","number":356,"state":"open","locked":false,"title":"DDF-1525 ","user":{"login":"gordocanchola","id":14877145,"avatar_url":"https://avatars.githubusercontent.com/u/14877145?v=3","gravatar_id":"","url":"https://api.github.com/users/gordocanchola","html_url":"https://github.com/gordocanchola","followers_url":"https://api.github.com/users/gordocanchola/followers","following_url":"https://api.github.com/users/gordocanchola/following{/other_user}","gists_url":"https://api.github.com/users/gordocanchola/gists{/gist_id}","starred_url":"https://api.github.com/users/gordocanchola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordocanchola/subscriptions","organizations_url":"https://api.github.com/users/gordocanchola/orgs","repos_url":"https://api.github.com/users/gordocanchola/repos","events_url":"https://api.github.com/users/gordocanchola/events{/privacy}","received_events_url":"https://api.github.com/users/gordocanchola/received_events","type":"User","site_admin":false},"body":"This is the PR for #313 with the correct branch name.","created_at":"2015-11-25T13:42:00Z","updated_at":"2015-11-25T18:34:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ecdb3453682ca31ebe75a238af847334d746db3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/356/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/356/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/356/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/af47d503b5931ca904eb6851b59727cd163d5748","head":{"label":"gordocanchola:DDF-1525","ref":"DDF-1525","sha":"af47d503b5931ca904eb6851b59727cd163d5748","user":{"login":"gordocanchola","id":14877145,"avatar_url":"https://avatars.githubusercontent.com/u/14877145?v=3","gravatar_id":"","url":"https://api.github.com/users/gordocanchola","html_url":"https://github.com/gordocanchola","followers_url":"https://api.github.com/users/gordocanchola/followers","following_url":"https://api.github.com/users/gordocanchola/following{/other_user}","gists_url":"https://api.github.com/users/gordocanchola/gists{/gist_id}","starred_url":"https://api.github.com/users/gordocanchola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordocanchola/subscriptions","organizations_url":"https://api.github.com/users/gordocanchola/orgs","repos_url":"https://api.github.com/users/gordocanchola/repos","events_url":"https://api.github.com/users/gordocanchola/events{/privacy}","received_events_url":"https://api.github.com/users/gordocanchola/received_events","type":"User","site_admin":false},"repo":{"id":43379971,"name":"ddf","full_name":"gordocanchola/ddf","owner":{"login":"gordocanchola","id":14877145,"avatar_url":"https://avatars.githubusercontent.com/u/14877145?v=3","gravatar_id":"","url":"https://api.github.com/users/gordocanchola","html_url":"https://github.com/gordocanchola","followers_url":"https://api.github.com/users/gordocanchola/followers","following_url":"https://api.github.com/users/gordocanchola/following{/other_user}","gists_url":"https://api.github.com/users/gordocanchola/gists{/gist_id}","starred_url":"https://api.github.com/users/gordocanchola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordocanchola/subscriptions","organizations_url":"https://api.github.com/users/gordocanchola/orgs","repos_url":"https://api.github.com/users/gordocanchola/repos","events_url":"https://api.github.com/users/gordocanchola/events{/privacy}","received_events_url":"https://api.github.com/users/gordocanchola/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gordocanchola/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/gordocanchola/ddf","forks_url":"https://api.github.com/repos/gordocanchola/ddf/forks","keys_url":"https://api.github.com/repos/gordocanchola/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gordocanchola/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gordocanchola/ddf/teams","hooks_url":"https://api.github.com/repos/gordocanchola/ddf/hooks","issue_events_url":"https://api.github.com/repos/gordocanchola/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/gordocanchola/ddf/events","assignees_url":"https://api.github.com/repos/gordocanchola/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/gordocanchola/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/gordocanchola/ddf/tags","blobs_url":"https://api.github.com/repos/gordocanchola/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gordocanchola/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gordocanchola/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/gordocanchola/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gordocanchola/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/gordocanchola/ddf/languages","stargazers_url":"https://api.github.com/repos/gordocanchola/ddf/stargazers","contributors_url":"https://api.github.com/repos/gordocanchola/ddf/contributors","subscribers_url":"https://api.github.com/repos/gordocanchola/ddf/subscribers","subscription_url":"https://api.github.com/repos/gordocanchola/ddf/subscription","commits_url":"https://api.github.com/repos/gordocanchola/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/gordocanchola/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/gordocanchola/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/gordocanchola/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/gordocanchola/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/gordocanchola/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gordocanchola/ddf/merges","archive_url":"https://api.github.com/repos/gordocanchola/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gordocanchola/ddf/downloads","issues_url":"https://api.github.com/repos/gordocanchola/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/gordocanchola/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/gordocanchola/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/gordocanchola/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gordocanchola/ddf/labels{/name}","releases_url":"https://api.github.com/repos/gordocanchola/ddf/releases{/id}","created_at":"2015-09-29T16:34:02Z","updated_at":"2015-09-29T16:34:17Z","pushed_at":"2015-11-25T18:28:16Z","git_url":"git://github.com/gordocanchola/ddf.git","ssh_url":"git@github.com:gordocanchola/ddf.git","clone_url":"https://github.com/gordocanchola/ddf.git","svn_url":"https://github.com/gordocanchola/ddf","homepage":"","size":123581,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"codice:master","ref":"master","sha":"5c1c09f43522a674ba4ed1722ce76809f653824f","user":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"repo":{"id":15173563,"name":"ddf","full_name":"codice/ddf","owner":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codice/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":false,"url":"https://api.github.com/repos/codice/ddf","forks_url":"https://api.github.com/repos/codice/ddf/forks","keys_url":"https://api.github.com/repos/codice/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codice/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codice/ddf/teams","hooks_url":"https://api.github.com/repos/codice/ddf/hooks","issue_events_url":"https://api.github.com/repos/codice/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/codice/ddf/events","assignees_url":"https://api.github.com/repos/codice/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/codice/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/codice/ddf/tags","blobs_url":"https://api.github.com/repos/codice/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codice/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codice/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/codice/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/codice/ddf/languages","stargazers_url":"https://api.github.com/repos/codice/ddf/stargazers","contributors_url":"https://api.github.com/repos/codice/ddf/contributors","subscribers_url":"https://api.github.com/repos/codice/ddf/subscribers","subscription_url":"https://api.github.com/repos/codice/ddf/subscription","commits_url":"https://api.github.com/repos/codice/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/codice/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/codice/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/codice/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/codice/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/codice/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codice/ddf/merges","archive_url":"https://api.github.com/repos/codice/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codice/ddf/downloads","issues_url":"https://api.github.com/repos/codice/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/codice/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/codice/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/codice/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codice/ddf/labels{/name}","releases_url":"https://api.github.com/repos/codice/ddf/releases{/id}","created_at":"2013-12-13T20:38:28Z","updated_at":"2015-11-11T00:19:30Z","pushed_at":"2015-11-25T18:28:17Z","git_url":"git://github.com/codice/ddf.git","ssh_url":"git@github.com:codice/ddf.git","clone_url":"https://github.com/codice/ddf.git","svn_url":"https://github.com/codice/ddf","homepage":"","size":130120,"stargazers_count":24,"watchers_count":24,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":63,"mirror_url":null,"open_issues_count":9,"forks":63,"open_issues":9,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/356"},"html":{"href":"https://github.com/codice/ddf/pull/356"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/356"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/356/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/356/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/356/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/af47d503b5931ca904eb6851b59727cd163d5748"}}}}