{"action":"created","comment":{"url":"https://api.github.com/repos/dcos/dcos-ui/pulls/comments/198438802","pull_request_review_id":132367112,"id":198438802,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODQzODgwMg==","diff_hunk":"@@ -160,31 +83,14 @@ export const resolvers = ({\n       _parent = {},\n       args: GeneralArgs = {},\n       _context = {}\n-    ): Observable<JobConnection | null> {\n-      const {\n-        sortBy = \"ID\",\n-        sortDirection = \"ASC\",\n-        filter = null,\n-        namespace = null\n-      } = args as JobsQueryArgs;\n-\n-      const pollingInterval$ = Observable.timer(0, pollingInterval);\n-      const responses$ = pollingInterval$.exhaustMap(fetchJobs);\n-\n-      const jobsInNamespace$ = responses$.map(jobs =>\n-        filterJobsByNamespace(jobs, namespace)\n-      );\n-      const count$ = jobsInNamespace$.map(jobs => jobs.length);\n+    ): Observable<JobConnection> {\n+      if (!isJobsQueryArg(args)) {","path":"plugins/jobs/src/js/data/JobModel.ts","position":148,"original_position":143,"commit_id":"a65b33ec1ef9c34f30a9cc26ccc825e99669bfe7","original_commit_id":"f9e73c42f39d9897b0428589caa50f2a05e05158","user":{"login":"juliangieseke","id":530632,"node_id":"MDQ6VXNlcjUzMDYzMg==","avatar_url":"https://avatars2.githubusercontent.com/u/530632?v=4","gravatar_id":"","url":"https://api.github.com/users/juliangieseke","html_url":"https://github.com/juliangieseke","followers_url":"https://api.github.com/users/juliangieseke/followers","following_url":"https://api.github.com/users/juliangieseke/following{/other_user}","gists_url":"https://api.github.com/users/juliangieseke/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangieseke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangieseke/subscriptions","organizations_url":"https://api.github.com/users/juliangieseke/orgs","repos_url":"https://api.github.com/users/juliangieseke/repos","events_url":"https://api.github.com/users/juliangieseke/events{/privacy}","received_events_url":"https://api.github.com/users/juliangieseke/received_events","type":"User","site_admin":false},"body":"updated Errormessage below 👍 ","created_at":"2018-06-27T10:08:41Z","updated_at":"2018-06-27T10:08:41Z","html_url":"https://github.com/dcos/dcos-ui/pull/3029#discussion_r198438802","pull_request_url":"https://api.github.com/repos/dcos/dcos-ui/pulls/3029","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/comments/198438802"},"html":{"href":"https://github.com/dcos/dcos-ui/pull/3029#discussion_r198438802"},"pull_request":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/3029"}},"in_reply_to_id":198397758},"pull_request":{"url":"https://api.github.com/repos/dcos/dcos-ui/pulls/3029","id":197103814,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MTAzODE0","html_url":"https://github.com/dcos/dcos-ui/pull/3029","diff_url":"https://github.com/dcos/dcos-ui/pull/3029.diff","patch_url":"https://github.com/dcos/dcos-ui/pull/3029.patch","issue_url":"https://api.github.com/repos/dcos/dcos-ui/issues/3029","number":3029,"state":"open","locked":false,"title":"DCOS-38453: update jobmodel to fit overview mediator needs","user":{"login":"juliangieseke","id":530632,"node_id":"MDQ6VXNlcjUzMDYzMg==","avatar_url":"https://avatars2.githubusercontent.com/u/530632?v=4","gravatar_id":"","url":"https://api.github.com/users/juliangieseke","html_url":"https://github.com/juliangieseke","followers_url":"https://api.github.com/users/juliangieseke/followers","following_url":"https://api.github.com/users/juliangieseke/following{/other_user}","gists_url":"https://api.github.com/users/juliangieseke/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangieseke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangieseke/subscriptions","organizations_url":"https://api.github.com/users/juliangieseke/orgs","repos_url":"https://api.github.com/users/juliangieseke/repos","events_url":"https://api.github.com/users/juliangieseke/events{/privacy}","received_events_url":"https://api.github.com/users/juliangieseke/received_events","type":"User","site_admin":false},"body":"This PR extracts the work from #3016 which is related to the JobModel. It prepares the introduction of the Overview Mediator, which will be one of the next things extracted from the old PR.","created_at":"2018-06-25T12:56:56Z","updated_at":"2018-06-27T10:08:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9faceeeab5accc7e589d5dd168da5fe3b043fbc9","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Fabs","id":10524,"node_id":"MDQ6VXNlcjEwNTI0","avatar_url":"https://avatars1.githubusercontent.com/u/10524?v=4","gravatar_id":"","url":"https://api.github.com/users/Fabs","html_url":"https://github.com/Fabs","followers_url":"https://api.github.com/users/Fabs/followers","following_url":"https://api.github.com/users/Fabs/following{/other_user}","gists_url":"https://api.github.com/users/Fabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Fabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fabs/subscriptions","organizations_url":"https://api.github.com/users/Fabs/orgs","repos_url":"https://api.github.com/users/Fabs/repos","events_url":"https://api.github.com/users/Fabs/events{/privacy}","received_events_url":"https://api.github.com/users/Fabs/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":874076449,"node_id":"MDU6TGFiZWw4NzQwNzY0NDk=","url":"https://api.github.com/repos/dcos/dcos-ui/labels/data-layer","name":"data-layer","color":"7E5686","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dcos/dcos-ui/pulls/3029/commits","review_comments_url":"https://api.github.com/repos/dcos/dcos-ui/pulls/3029/comments","review_comment_url":"https://api.github.com/repos/dcos/dcos-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dcos/dcos-ui/issues/3029/comments","statuses_url":"https://api.github.com/repos/dcos/dcos-ui/statuses/a65b33ec1ef9c34f30a9cc26ccc825e99669bfe7","head":{"label":"dcos:jg/DCOS-38453-update-jobmodel","ref":"jg/DCOS-38453-update-jobmodel","sha":"a65b33ec1ef9c34f30a9cc26ccc825e99669bfe7","user":{"login":"dcos","id":17648048,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NjQ4MDQ4","avatar_url":"https://avatars1.githubusercontent.com/u/17648048?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"repo":{"id":56547504,"node_id":"MDEwOlJlcG9zaXRvcnk1NjU0NzUwNA==","name":"dcos-ui","full_name":"dcos/dcos-ui","owner":{"login":"dcos","id":17648048,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NjQ4MDQ4","avatar_url":"https://avatars1.githubusercontent.com/u/17648048?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos/dcos-ui","description":"The UI for The Datacenter Operating System","fork":false,"url":"https://api.github.com/repos/dcos/dcos-ui","forks_url":"https://api.github.com/repos/dcos/dcos-ui/forks","keys_url":"https://api.github.com/repos/dcos/dcos-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos/dcos-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos/dcos-ui/teams","hooks_url":"https://api.github.com/repos/dcos/dcos-ui/hooks","issue_events_url":"https://api.github.com/repos/dcos/dcos-ui/issues/events{/number}","events_url":"https://api.github.com/repos/dcos/dcos-ui/events","assignees_url":"https://api.github.com/repos/dcos/dcos-ui/assignees{/user}","branches_url":"https://api.github.com/repos/dcos/dcos-ui/branches{/branch}","tags_url":"https://api.github.com/repos/dcos/dcos-ui/tags","blobs_url":"https://api.github.com/repos/dcos/dcos-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos/dcos-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos/dcos-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos/dcos-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos/dcos-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos/dcos-ui/languages","stargazers_url":"https://api.github.com/repos/dcos/dcos-ui/stargazers","contributors_url":"https://api.github.com/repos/dcos/dcos-ui/contributors","subscribers_url":"https://api.github.com/repos/dcos/dcos-ui/subscribers","subscription_url":"https://api.github.com/repos/dcos/dcos-ui/subscription","commits_url":"https://api.github.com/repos/dcos/dcos-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos/dcos-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos/dcos-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos/dcos-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos/dcos-ui/contents/{+path}","compare_url":"https://api.github.com/repos/dcos/dcos-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos/dcos-ui/merges","archive_url":"https://api.github.com/repos/dcos/dcos-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos/dcos-ui/downloads","issues_url":"https://api.github.com/repos/dcos/dcos-ui/issues{/number}","pulls_url":"https://api.github.com/repos/dcos/dcos-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos/dcos-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos/dcos-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos/dcos-ui/labels{/name}","releases_url":"https://api.github.com/repos/dcos/dcos-ui/releases{/id}","deployments_url":"https://api.github.com/repos/dcos/dcos-ui/deployments","created_at":"2016-04-18T22:48:06Z","updated_at":"2018-06-27T09:07:01Z","pushed_at":"2018-06-27T10:08:15Z","git_url":"git://github.com/dcos/dcos-ui.git","ssh_url":"git@github.com:dcos/dcos-ui.git","clone_url":"https://github.com/dcos/dcos-ui.git","svn_url":"https://github.com/dcos/dcos-ui","homepage":"https://dcos.io/","size":45222,"stargazers_count":179,"watchers_count":179,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":67,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":67,"open_issues":10,"watchers":179,"default_branch":"master"}},"base":{"label":"dcos:master","ref":"master","sha":"9d63532bffc858c6d014f069bc5f5dca78c37fdf","user":{"login":"dcos","id":17648048,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NjQ4MDQ4","avatar_url":"https://avatars1.githubusercontent.com/u/17648048?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"repo":{"id":56547504,"node_id":"MDEwOlJlcG9zaXRvcnk1NjU0NzUwNA==","name":"dcos-ui","full_name":"dcos/dcos-ui","owner":{"login":"dcos","id":17648048,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NjQ4MDQ4","avatar_url":"https://avatars1.githubusercontent.com/u/17648048?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos/dcos-ui","description":"The UI for The Datacenter Operating System","fork":false,"url":"https://api.github.com/repos/dcos/dcos-ui","forks_url":"https://api.github.com/repos/dcos/dcos-ui/forks","keys_url":"https://api.github.com/repos/dcos/dcos-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos/dcos-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos/dcos-ui/teams","hooks_url":"https://api.github.com/repos/dcos/dcos-ui/hooks","issue_events_url":"https://api.github.com/repos/dcos/dcos-ui/issues/events{/number}","events_url":"https://api.github.com/repos/dcos/dcos-ui/events","assignees_url":"https://api.github.com/repos/dcos/dcos-ui/assignees{/user}","branches_url":"https://api.github.com/repos/dcos/dcos-ui/branches{/branch}","tags_url":"https://api.github.com/repos/dcos/dcos-ui/tags","blobs_url":"https://api.github.com/repos/dcos/dcos-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos/dcos-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos/dcos-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos/dcos-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos/dcos-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos/dcos-ui/languages","stargazers_url":"https://api.github.com/repos/dcos/dcos-ui/stargazers","contributors_url":"https://api.github.com/repos/dcos/dcos-ui/contributors","subscribers_url":"https://api.github.com/repos/dcos/dcos-ui/subscribers","subscription_url":"https://api.github.com/repos/dcos/dcos-ui/subscription","commits_url":"https://api.github.com/repos/dcos/dcos-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos/dcos-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos/dcos-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos/dcos-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos/dcos-ui/contents/{+path}","compare_url":"https://api.github.com/repos/dcos/dcos-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos/dcos-ui/merges","archive_url":"https://api.github.com/repos/dcos/dcos-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos/dcos-ui/downloads","issues_url":"https://api.github.com/repos/dcos/dcos-ui/issues{/number}","pulls_url":"https://api.github.com/repos/dcos/dcos-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos/dcos-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos/dcos-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos/dcos-ui/labels{/name}","releases_url":"https://api.github.com/repos/dcos/dcos-ui/releases{/id}","deployments_url":"https://api.github.com/repos/dcos/dcos-ui/deployments","created_at":"2016-04-18T22:48:06Z","updated_at":"2018-06-27T09:07:01Z","pushed_at":"2018-06-27T10:08:15Z","git_url":"git://github.com/dcos/dcos-ui.git","ssh_url":"git@github.com:dcos/dcos-ui.git","clone_url":"https://github.com/dcos/dcos-ui.git","svn_url":"https://github.com/dcos/dcos-ui","homepage":"https://dcos.io/","size":45222,"stargazers_count":179,"watchers_count":179,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":67,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":67,"open_issues":10,"watchers":179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/3029"},"html":{"href":"https://github.com/dcos/dcos-ui/pull/3029"},"issue":{"href":"https://api.github.com/repos/dcos/dcos-ui/issues/3029"},"comments":{"href":"https://api.github.com/repos/dcos/dcos-ui/issues/3029/comments"},"review_comments":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/3029/comments"},"review_comment":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/3029/commits"},"statuses":{"href":"https://api.github.com/repos/dcos/dcos-ui/statuses/a65b33ec1ef9c34f30a9cc26ccc825e99669bfe7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"juliangieseke"}}