{"action":"created","comment":{"url":"https://api.github.com/repos/JobService/job-service/pulls/comments/145721028","pull_request_review_id":70561182,"id":145721028,"diff_hunk":"@@ -125,3 +126,26 @@ This table stores information on the jobs that are requested. Entries are added\n The task tables have the same structure as the job table. Each job has one task table, which is created when the first subtask is reported, and deleted when the job completes successfully. If the job fails, the table is retained for a period of time for examination.\n \n When a task is marked complete, the system checks whether the parent task (or the job if it is the top level) can also be marked complete.\n+\n+### Job Dependency Table\n+\n+This table stores Ids of dependent jobs i.e. jobs which must be completed before the job in question can be executed.\n+\n+| **Column**        | **Data Type** | **Nullable?** | **Primary Key?** |\n+|-------------------|---------------|---------------|------------------|\n+| Job_Id            | String        | No            | Yes              |","path":"docs/pages/en-us/Architecture.md","position":37,"original_position":37,"commit_id":"c73727b76abec4880589ed35e2418ec6d68fe432","original_commit_id":"c73727b76abec4880589ed35e2418ec6d68fe432","user":{"login":"dermot-hardy","id":20627297,"avatar_url":"https://avatars2.githubusercontent.com/u/20627297?v=4","gravatar_id":"","url":"https://api.github.com/users/dermot-hardy","html_url":"https://github.com/dermot-hardy","followers_url":"https://api.github.com/users/dermot-hardy/followers","following_url":"https://api.github.com/users/dermot-hardy/following{/other_user}","gists_url":"https://api.github.com/users/dermot-hardy/gists{/gist_id}","starred_url":"https://api.github.com/users/dermot-hardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dermot-hardy/subscriptions","organizations_url":"https://api.github.com/users/dermot-hardy/orgs","repos_url":"https://api.github.com/users/dermot-hardy/repos","events_url":"https://api.github.com/users/dermot-hardy/events{/privacy}","received_events_url":"https://api.github.com/users/dermot-hardy/received_events","type":"User","site_admin":false},"body":"It doesn't make sense for Job_Id to be the primary key of this table.","created_at":"2017-10-19T14:41:55Z","updated_at":"2017-10-19T14:43:14Z","html_url":"https://github.com/JobService/job-service/pull/16#discussion_r145721028","pull_request_url":"https://api.github.com/repos/JobService/job-service/pulls/16","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/JobService/job-service/pulls/comments/145721028"},"html":{"href":"https://github.com/JobService/job-service/pull/16#discussion_r145721028"},"pull_request":{"href":"https://api.github.com/repos/JobService/job-service/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/JobService/job-service/pulls/16","id":147538843,"html_url":"https://github.com/JobService/job-service/pull/16","diff_url":"https://github.com/JobService/job-service/pull/16.diff","patch_url":"https://github.com/JobService/job-service/pull/16.patch","issue_url":"https://api.github.com/repos/JobService/job-service/issues/16","number":16,"state":"open","locked":false,"title":"CAF-3648: Job Service Docs","user":{"login":"glucy","id":16225723,"avatar_url":"https://avatars2.githubusercontent.com/u/16225723?v=4","gravatar_id":"","url":"https://api.github.com/users/glucy","html_url":"https://github.com/glucy","followers_url":"https://api.github.com/users/glucy/followers","following_url":"https://api.github.com/users/glucy/following{/other_user}","gists_url":"https://api.github.com/users/glucy/gists{/gist_id}","starred_url":"https://api.github.com/users/glucy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glucy/subscriptions","organizations_url":"https://api.github.com/users/glucy/orgs","repos_url":"https://api.github.com/users/glucy/repos","events_url":"https://api.github.com/users/glucy/events{/privacy}","received_events_url":"https://api.github.com/users/glucy/received_events","type":"User","site_admin":false},"body":"https://jira.autonomy.com/browse/CAF-3648\r\n\r\nDocument changes to the Job Service documentation in relation to supporting \"dependent jobs\".","created_at":"2017-10-19T12:08:22Z","updated_at":"2017-10-19T14:43:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9582305e83ace9e25d650bc72b7f854864cbc1cb","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mulhollandc","id":23739433,"avatar_url":"https://avatars0.githubusercontent.com/u/23739433?v=4","gravatar_id":"","url":"https://api.github.com/users/mulhollandc","html_url":"https://github.com/mulhollandc","followers_url":"https://api.github.com/users/mulhollandc/followers","following_url":"https://api.github.com/users/mulhollandc/following{/other_user}","gists_url":"https://api.github.com/users/mulhollandc/gists{/gist_id}","starred_url":"https://api.github.com/users/mulhollandc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulhollandc/subscriptions","organizations_url":"https://api.github.com/users/mulhollandc/orgs","repos_url":"https://api.github.com/users/mulhollandc/repos","events_url":"https://api.github.com/users/mulhollandc/events{/privacy}","received_events_url":"https://api.github.com/users/mulhollandc/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/JobService/job-service/pulls/16/commits","review_comments_url":"https://api.github.com/repos/JobService/job-service/pulls/16/comments","review_comment_url":"https://api.github.com/repos/JobService/job-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JobService/job-service/issues/16/comments","statuses_url":"https://api.github.com/repos/JobService/job-service/statuses/c73727b76abec4880589ed35e2418ec6d68fe432","head":{"label":"JobService:CAF-3648_Job_Service_Docs","ref":"CAF-3648_Job_Service_Docs","sha":"c73727b76abec4880589ed35e2418ec6d68fe432","user":{"login":"JobService","id":22939039,"avatar_url":"https://avatars1.githubusercontent.com/u/22939039?v=4","gravatar_id":"","url":"https://api.github.com/users/JobService","html_url":"https://github.com/JobService","followers_url":"https://api.github.com/users/JobService/followers","following_url":"https://api.github.com/users/JobService/following{/other_user}","gists_url":"https://api.github.com/users/JobService/gists{/gist_id}","starred_url":"https://api.github.com/users/JobService/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JobService/subscriptions","organizations_url":"https://api.github.com/users/JobService/orgs","repos_url":"https://api.github.com/users/JobService/repos","events_url":"https://api.github.com/users/JobService/events{/privacy}","received_events_url":"https://api.github.com/users/JobService/received_events","type":"Organization","site_admin":false},"repo":{"id":87437502,"name":"job-service","full_name":"JobService/job-service","owner":{"login":"JobService","id":22939039,"avatar_url":"https://avatars1.githubusercontent.com/u/22939039?v=4","gravatar_id":"","url":"https://api.github.com/users/JobService","html_url":"https://github.com/JobService","followers_url":"https://api.github.com/users/JobService/followers","following_url":"https://api.github.com/users/JobService/following{/other_user}","gists_url":"https://api.github.com/users/JobService/gists{/gist_id}","starred_url":"https://api.github.com/users/JobService/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JobService/subscriptions","organizations_url":"https://api.github.com/users/JobService/orgs","repos_url":"https://api.github.com/users/JobService/repos","events_url":"https://api.github.com/users/JobService/events{/privacy}","received_events_url":"https://api.github.com/users/JobService/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JobService/job-service","description":"Orchestration, Management and Monitoring of Data Processing","fork":false,"url":"https://api.github.com/repos/JobService/job-service","forks_url":"https://api.github.com/repos/JobService/job-service/forks","keys_url":"https://api.github.com/repos/JobService/job-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JobService/job-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JobService/job-service/teams","hooks_url":"https://api.github.com/repos/JobService/job-service/hooks","issue_events_url":"https://api.github.com/repos/JobService/job-service/issues/events{/number}","events_url":"https://api.github.com/repos/JobService/job-service/events","assignees_url":"https://api.github.com/repos/JobService/job-service/assignees{/user}","branches_url":"https://api.github.com/repos/JobService/job-service/branches{/branch}","tags_url":"https://api.github.com/repos/JobService/job-service/tags","blobs_url":"https://api.github.com/repos/JobService/job-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JobService/job-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JobService/job-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/JobService/job-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JobService/job-service/statuses/{sha}","languages_url":"https://api.github.com/repos/JobService/job-service/languages","stargazers_url":"https://api.github.com/repos/JobService/job-service/stargazers","contributors_url":"https://api.github.com/repos/JobService/job-service/contributors","subscribers_url":"https://api.github.com/repos/JobService/job-service/subscribers","subscription_url":"https://api.github.com/repos/JobService/job-service/subscription","commits_url":"https://api.github.com/repos/JobService/job-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/JobService/job-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/JobService/job-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/JobService/job-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/JobService/job-service/contents/{+path}","compare_url":"https://api.github.com/repos/JobService/job-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JobService/job-service/merges","archive_url":"https://api.github.com/repos/JobService/job-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JobService/job-service/downloads","issues_url":"https://api.github.com/repos/JobService/job-service/issues{/number}","pulls_url":"https://api.github.com/repos/JobService/job-service/pulls{/number}","milestones_url":"https://api.github.com/repos/JobService/job-service/milestones{/number}","notifications_url":"https://api.github.com/repos/JobService/job-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JobService/job-service/labels{/name}","releases_url":"https://api.github.com/repos/JobService/job-service/releases{/id}","deployments_url":"https://api.github.com/repos/JobService/job-service/deployments","created_at":"2017-04-06T14:17:07Z","updated_at":"2017-04-10T14:23:47Z","pushed_at":"2017-10-19T13:44:50Z","git_url":"git://github.com/JobService/job-service.git","ssh_url":"git@github.com:JobService/job-service.git","clone_url":"https://github.com/JobService/job-service.git","svn_url":"https://github.com/JobService/job-service","homepage":"https://jobservice.github.io/job-service/","size":50322,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"JobService:develop","ref":"develop","sha":"3b8b79567c6eb856fd5899a41f7736f0103142b2","user":{"login":"JobService","id":22939039,"avatar_url":"https://avatars1.githubusercontent.com/u/22939039?v=4","gravatar_id":"","url":"https://api.github.com/users/JobService","html_url":"https://github.com/JobService","followers_url":"https://api.github.com/users/JobService/followers","following_url":"https://api.github.com/users/JobService/following{/other_user}","gists_url":"https://api.github.com/users/JobService/gists{/gist_id}","starred_url":"https://api.github.com/users/JobService/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JobService/subscriptions","organizations_url":"https://api.github.com/users/JobService/orgs","repos_url":"https://api.github.com/users/JobService/repos","events_url":"https://api.github.com/users/JobService/events{/privacy}","received_events_url":"https://api.github.com/users/JobService/received_events","type":"Organization","site_admin":false},"repo":{"id":87437502,"name":"job-service","full_name":"JobService/job-service","owner":{"login":"JobService","id":22939039,"avatar_url":"https://avatars1.githubusercontent.com/u/22939039?v=4","gravatar_id":"","url":"https://api.github.com/users/JobService","html_url":"https://github.com/JobService","followers_url":"https://api.github.com/users/JobService/followers","following_url":"https://api.github.com/users/JobService/following{/other_user}","gists_url":"https://api.github.com/users/JobService/gists{/gist_id}","starred_url":"https://api.github.com/users/JobService/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JobService/subscriptions","organizations_url":"https://api.github.com/users/JobService/orgs","repos_url":"https://api.github.com/users/JobService/repos","events_url":"https://api.github.com/users/JobService/events{/privacy}","received_events_url":"https://api.github.com/users/JobService/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JobService/job-service","description":"Orchestration, Management and Monitoring of Data Processing","fork":false,"url":"https://api.github.com/repos/JobService/job-service","forks_url":"https://api.github.com/repos/JobService/job-service/forks","keys_url":"https://api.github.com/repos/JobService/job-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JobService/job-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JobService/job-service/teams","hooks_url":"https://api.github.com/repos/JobService/job-service/hooks","issue_events_url":"https://api.github.com/repos/JobService/job-service/issues/events{/number}","events_url":"https://api.github.com/repos/JobService/job-service/events","assignees_url":"https://api.github.com/repos/JobService/job-service/assignees{/user}","branches_url":"https://api.github.com/repos/JobService/job-service/branches{/branch}","tags_url":"https://api.github.com/repos/JobService/job-service/tags","blobs_url":"https://api.github.com/repos/JobService/job-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JobService/job-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JobService/job-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/JobService/job-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JobService/job-service/statuses/{sha}","languages_url":"https://api.github.com/repos/JobService/job-service/languages","stargazers_url":"https://api.github.com/repos/JobService/job-service/stargazers","contributors_url":"https://api.github.com/repos/JobService/job-service/contributors","subscribers_url":"https://api.github.com/repos/JobService/job-service/subscribers","subscription_url":"https://api.github.com/repos/JobService/job-service/subscription","commits_url":"https://api.github.com/repos/JobService/job-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/JobService/job-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/JobService/job-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/JobService/job-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/JobService/job-service/contents/{+path}","compare_url":"https://api.github.com/repos/JobService/job-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JobService/job-service/merges","archive_url":"https://api.github.com/repos/JobService/job-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JobService/job-service/downloads","issues_url":"https://api.github.com/repos/JobService/job-service/issues{/number}","pulls_url":"https://api.github.com/repos/JobService/job-service/pulls{/number}","milestones_url":"https://api.github.com/repos/JobService/job-service/milestones{/number}","notifications_url":"https://api.github.com/repos/JobService/job-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JobService/job-service/labels{/name}","releases_url":"https://api.github.com/repos/JobService/job-service/releases{/id}","deployments_url":"https://api.github.com/repos/JobService/job-service/deployments","created_at":"2017-04-06T14:17:07Z","updated_at":"2017-04-10T14:23:47Z","pushed_at":"2017-10-19T13:44:50Z","git_url":"git://github.com/JobService/job-service.git","ssh_url":"git@github.com:JobService/job-service.git","clone_url":"https://github.com/JobService/job-service.git","svn_url":"https://github.com/JobService/job-service","homepage":"https://jobservice.github.io/job-service/","size":50322,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/JobService/job-service/pulls/16"},"html":{"href":"https://github.com/JobService/job-service/pull/16"},"issue":{"href":"https://api.github.com/repos/JobService/job-service/issues/16"},"comments":{"href":"https://api.github.com/repos/JobService/job-service/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/JobService/job-service/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/JobService/job-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JobService/job-service/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/JobService/job-service/statuses/c73727b76abec4880589ed35e2418ec6d68fe432"}},"author_association":"OWNER"}}
{"actor":{"display_login":"dermot-hardy"}}