{"action":"created","comment":{"url":"https://api.github.com/repos/aodn/go-go-duck/pulls/comments/29026674","id":29026674,"diff_hunk":"@@ -17,6 +17,7 @@ class JobController {\n         }\n         else {\n             jobExecutorService.register(job)\n+            job.statusLink = JobPresenter.getAggrUrl(job, { createLink(it) })","path":"grails-app/controllers/au/org/emii/gogoduck/job/JobController.groovy","position":4,"original_position":4,"commit_id":"b4f81913a7bc614269d82b28a6b1ed6ff4482984","original_commit_id":"b4f81913a7bc614269d82b28a6b1ed6ff4482984","user":{"login":"jkburges","id":1849176,"avatar_url":"https://avatars.githubusercontent.com/u/1849176?v=3","gravatar_id":"","url":"https://api.github.com/users/jkburges","html_url":"https://github.com/jkburges","followers_url":"https://api.github.com/users/jkburges/followers","following_url":"https://api.github.com/users/jkburges/following{/other_user}","gists_url":"https://api.github.com/users/jkburges/gists{/gist_id}","starred_url":"https://api.github.com/users/jkburges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkburges/subscriptions","organizations_url":"https://api.github.com/users/jkburges/orgs","repos_url":"https://api.github.com/users/jkburges/repos","events_url":"https://api.github.com/users/jkburges/events{/privacy}","received_events_url":"https://api.github.com/users/jkburges/received_events","type":"User","site_admin":false},"body":"I think `JobPresenter` is taking care of this \"dynamic\" stuff already - e.g. so it'd make more sense to put it in there IMO.","created_at":"2015-04-24T06:40:23Z","updated_at":"2015-04-24T06:40:23Z","html_url":"https://github.com/aodn/go-go-duck/pull/100#discussion_r29026674","pull_request_url":"https://api.github.com/repos/aodn/go-go-duck/pulls/100","_links":{"self":{"href":"https://api.github.com/repos/aodn/go-go-duck/pulls/comments/29026674"},"html":{"href":"https://github.com/aodn/go-go-duck/pull/100#discussion_r29026674"},"pull_request":{"href":"https://api.github.com/repos/aodn/go-go-duck/pulls/100"}}},"pull_request":{"url":"https://api.github.com/repos/aodn/go-go-duck/pulls/100","id":34018556,"html_url":"https://github.com/aodn/go-go-duck/pull/100","diff_url":"https://github.com/aodn/go-go-duck/pull/100.diff","patch_url":"https://github.com/aodn/go-go-duck/pull/100.patch","issue_url":"https://api.github.com/repos/aodn/go-go-duck/issues/100","number":100,"state":"open","locked":false,"title":"return status link","user":{"login":"danfruehauf","id":830676,"avatar_url":"https://avatars.githubusercontent.com/u/830676?v=3","gravatar_id":"","url":"https://api.github.com/users/danfruehauf","html_url":"https://github.com/danfruehauf","followers_url":"https://api.github.com/users/danfruehauf/followers","following_url":"https://api.github.com/users/danfruehauf/following{/other_user}","gists_url":"https://api.github.com/users/danfruehauf/gists{/gist_id}","starred_url":"https://api.github.com/users/danfruehauf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfruehauf/subscriptions","organizations_url":"https://api.github.com/users/danfruehauf/orgs","repos_url":"https://api.github.com/users/danfruehauf/repos","events_url":"https://api.github.com/users/danfruehauf/events{/privacy}","received_events_url":"https://api.github.com/users/danfruehauf/received_events","type":"User","site_admin":false},"body":"GGD returns a status link after registering a job. Next step is to use this link in portal and display it to the user after he submits a job - so she can click on it without waiting for any emails.","created_at":"2015-04-24T04:47:25Z","updated_at":"2015-04-24T06:40:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e62841a98bb5c8d64cf24f58ab0b94f0ef7ed7ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aodn/go-go-duck/pulls/100/commits","review_comments_url":"https://api.github.com/repos/aodn/go-go-duck/pulls/100/comments","review_comment_url":"https://api.github.com/repos/aodn/go-go-duck/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aodn/go-go-duck/issues/100/comments","statuses_url":"https://api.github.com/repos/aodn/go-go-duck/statuses/b4f81913a7bc614269d82b28a6b1ed6ff4482984","head":{"label":"aodn:return_status_link","ref":"return_status_link","sha":"b4f81913a7bc614269d82b28a6b1ed6ff4482984","user":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"repo":{"id":16933326,"name":"go-go-duck","full_name":"aodn/go-go-duck","owner":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aodn/go-go-duck","description":"NetCDF aggregation service","fork":false,"url":"https://api.github.com/repos/aodn/go-go-duck","forks_url":"https://api.github.com/repos/aodn/go-go-duck/forks","keys_url":"https://api.github.com/repos/aodn/go-go-duck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aodn/go-go-duck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aodn/go-go-duck/teams","hooks_url":"https://api.github.com/repos/aodn/go-go-duck/hooks","issue_events_url":"https://api.github.com/repos/aodn/go-go-duck/issues/events{/number}","events_url":"https://api.github.com/repos/aodn/go-go-duck/events","assignees_url":"https://api.github.com/repos/aodn/go-go-duck/assignees{/user}","branches_url":"https://api.github.com/repos/aodn/go-go-duck/branches{/branch}","tags_url":"https://api.github.com/repos/aodn/go-go-duck/tags","blobs_url":"https://api.github.com/repos/aodn/go-go-duck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aodn/go-go-duck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aodn/go-go-duck/git/refs{/sha}","trees_url":"https://api.github.com/repos/aodn/go-go-duck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aodn/go-go-duck/statuses/{sha}","languages_url":"https://api.github.com/repos/aodn/go-go-duck/languages","stargazers_url":"https://api.github.com/repos/aodn/go-go-duck/stargazers","contributors_url":"https://api.github.com/repos/aodn/go-go-duck/contributors","subscribers_url":"https://api.github.com/repos/aodn/go-go-duck/subscribers","subscription_url":"https://api.github.com/repos/aodn/go-go-duck/subscription","commits_url":"https://api.github.com/repos/aodn/go-go-duck/commits{/sha}","git_commits_url":"https://api.github.com/repos/aodn/go-go-duck/git/commits{/sha}","comments_url":"https://api.github.com/repos/aodn/go-go-duck/comments{/number}","issue_comment_url":"https://api.github.com/repos/aodn/go-go-duck/issues/comments{/number}","contents_url":"https://api.github.com/repos/aodn/go-go-duck/contents/{+path}","compare_url":"https://api.github.com/repos/aodn/go-go-duck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aodn/go-go-duck/merges","archive_url":"https://api.github.com/repos/aodn/go-go-duck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aodn/go-go-duck/downloads","issues_url":"https://api.github.com/repos/aodn/go-go-duck/issues{/number}","pulls_url":"https://api.github.com/repos/aodn/go-go-duck/pulls{/number}","milestones_url":"https://api.github.com/repos/aodn/go-go-duck/milestones{/number}","notifications_url":"https://api.github.com/repos/aodn/go-go-duck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aodn/go-go-duck/labels{/name}","releases_url":"https://api.github.com/repos/aodn/go-go-duck/releases{/id}","created_at":"2014-02-18T01:52:24Z","updated_at":"2015-04-24T06:36:09Z","pushed_at":"2015-04-24T06:37:13Z","git_url":"git://github.com/aodn/go-go-duck.git","ssh_url":"git@github.com:aodn/go-go-duck.git","clone_url":"https://github.com/aodn/go-go-duck.git","svn_url":"https://github.com/aodn/go-go-duck","homepage":"","size":1856,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"aodn:master","ref":"master","sha":"f7f18a054af8c21abea8bde45d40b93965c1cd4d","user":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"repo":{"id":16933326,"name":"go-go-duck","full_name":"aodn/go-go-duck","owner":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aodn/go-go-duck","description":"NetCDF aggregation service","fork":false,"url":"https://api.github.com/repos/aodn/go-go-duck","forks_url":"https://api.github.com/repos/aodn/go-go-duck/forks","keys_url":"https://api.github.com/repos/aodn/go-go-duck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aodn/go-go-duck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aodn/go-go-duck/teams","hooks_url":"https://api.github.com/repos/aodn/go-go-duck/hooks","issue_events_url":"https://api.github.com/repos/aodn/go-go-duck/issues/events{/number}","events_url":"https://api.github.com/repos/aodn/go-go-duck/events","assignees_url":"https://api.github.com/repos/aodn/go-go-duck/assignees{/user}","branches_url":"https://api.github.com/repos/aodn/go-go-duck/branches{/branch}","tags_url":"https://api.github.com/repos/aodn/go-go-duck/tags","blobs_url":"https://api.github.com/repos/aodn/go-go-duck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aodn/go-go-duck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aodn/go-go-duck/git/refs{/sha}","trees_url":"https://api.github.com/repos/aodn/go-go-duck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aodn/go-go-duck/statuses/{sha}","languages_url":"https://api.github.com/repos/aodn/go-go-duck/languages","stargazers_url":"https://api.github.com/repos/aodn/go-go-duck/stargazers","contributors_url":"https://api.github.com/repos/aodn/go-go-duck/contributors","subscribers_url":"https://api.github.com/repos/aodn/go-go-duck/subscribers","subscription_url":"https://api.github.com/repos/aodn/go-go-duck/subscription","commits_url":"https://api.github.com/repos/aodn/go-go-duck/commits{/sha}","git_commits_url":"https://api.github.com/repos/aodn/go-go-duck/git/commits{/sha}","comments_url":"https://api.github.com/repos/aodn/go-go-duck/comments{/number}","issue_comment_url":"https://api.github.com/repos/aodn/go-go-duck/issues/comments{/number}","contents_url":"https://api.github.com/repos/aodn/go-go-duck/contents/{+path}","compare_url":"https://api.github.com/repos/aodn/go-go-duck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aodn/go-go-duck/merges","archive_url":"https://api.github.com/repos/aodn/go-go-duck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aodn/go-go-duck/downloads","issues_url":"https://api.github.com/repos/aodn/go-go-duck/issues{/number}","pulls_url":"https://api.github.com/repos/aodn/go-go-duck/pulls{/number}","milestones_url":"https://api.github.com/repos/aodn/go-go-duck/milestones{/number}","notifications_url":"https://api.github.com/repos/aodn/go-go-duck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aodn/go-go-duck/labels{/name}","releases_url":"https://api.github.com/repos/aodn/go-go-duck/releases{/id}","created_at":"2014-02-18T01:52:24Z","updated_at":"2015-04-24T06:36:09Z","pushed_at":"2015-04-24T06:37:13Z","git_url":"git://github.com/aodn/go-go-duck.git","ssh_url":"git@github.com:aodn/go-go-duck.git","clone_url":"https://github.com/aodn/go-go-duck.git","svn_url":"https://github.com/aodn/go-go-duck","homepage":"","size":1856,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aodn/go-go-duck/pulls/100"},"html":{"href":"https://github.com/aodn/go-go-duck/pull/100"},"issue":{"href":"https://api.github.com/repos/aodn/go-go-duck/issues/100"},"comments":{"href":"https://api.github.com/repos/aodn/go-go-duck/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/aodn/go-go-duck/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/aodn/go-go-duck/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aodn/go-go-duck/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/aodn/go-go-duck/statuses/b4f81913a7bc614269d82b28a6b1ed6ff4482984"}}}}