{"action":"closed","number":144,"pull_request":{"url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/pulls/144","id":53672045,"html_url":"https://github.com/child-first-authority-fcc-project/webapp/pull/144","diff_url":"https://github.com/child-first-authority-fcc-project/webapp/pull/144.diff","patch_url":"https://github.com/child-first-authority-fcc-project/webapp/pull/144.patch","issue_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/issues/144","number":144,"state":"closed","locked":false,"title":"Refactor DataService to expose instance arrays","user":{"login":"dting","id":394393,"avatar_url":"https://avatars.githubusercontent.com/u/394393?v=3","gravatar_id":"","url":"https://api.github.com/users/dting","html_url":"https://github.com/dting","followers_url":"https://api.github.com/users/dting/followers","following_url":"https://api.github.com/users/dting/following{/other_user}","gists_url":"https://api.github.com/users/dting/gists{/gist_id}","starred_url":"https://api.github.com/users/dting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dting/subscriptions","organizations_url":"https://api.github.com/users/dting/orgs","repos_url":"https://api.github.com/users/dting/repos","events_url":"https://api.github.com/users/dting/events{/privacy}","received_events_url":"https://api.github.com/users/dting/received_events","type":"User","site_admin":false},"body":"Resolves #129\r\n\r\n- Instead of having private vars in the Data service,\r\n  expose arrays carrying the instances queried from the server.\r\n- Move logic of which schools and entries to request from client\r\n  to server to create a single initialization path.\r\n- For now just request a full refresh of entries when uploading\r\n  a pdf with absence data.\r\n\r\n@pdotsani ","created_at":"2015-12-15T08:14:08Z","updated_at":"2015-12-15T20:51:23Z","closed_at":"2015-12-15T20:51:23Z","merged_at":"2015-12-15T20:51:23Z","merge_commit_sha":"d83074ce3723d3d5b2676ed2e465588f08830643","assignee":{"login":"pdotsani","id":5272252,"avatar_url":"https://avatars.githubusercontent.com/u/5272252?v=3","gravatar_id":"","url":"https://api.github.com/users/pdotsani","html_url":"https://github.com/pdotsani","followers_url":"https://api.github.com/users/pdotsani/followers","following_url":"https://api.github.com/users/pdotsani/following{/other_user}","gists_url":"https://api.github.com/users/pdotsani/gists{/gist_id}","starred_url":"https://api.github.com/users/pdotsani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdotsani/subscriptions","organizations_url":"https://api.github.com/users/pdotsani/orgs","repos_url":"https://api.github.com/users/pdotsani/repos","events_url":"https://api.github.com/users/pdotsani/events{/privacy}","received_events_url":"https://api.github.com/users/pdotsani/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/pulls/144/commits","review_comments_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/pulls/144/comments","review_comment_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/issues/144/comments","statuses_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/statuses/3a32d6c40b1ed5e81948336c6083d6c1682322b1","head":{"label":"dting:WatchDataService","ref":"WatchDataService","sha":"3a32d6c40b1ed5e81948336c6083d6c1682322b1","user":{"login":"dting","id":394393,"avatar_url":"https://avatars.githubusercontent.com/u/394393?v=3","gravatar_id":"","url":"https://api.github.com/users/dting","html_url":"https://github.com/dting","followers_url":"https://api.github.com/users/dting/followers","following_url":"https://api.github.com/users/dting/following{/other_user}","gists_url":"https://api.github.com/users/dting/gists{/gist_id}","starred_url":"https://api.github.com/users/dting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dting/subscriptions","organizations_url":"https://api.github.com/users/dting/orgs","repos_url":"https://api.github.com/users/dting/repos","events_url":"https://api.github.com/users/dting/events{/privacy}","received_events_url":"https://api.github.com/users/dting/received_events","type":"User","site_admin":false},"repo":{"id":43320950,"name":"webapp","full_name":"dting/webapp","owner":{"login":"dting","id":394393,"avatar_url":"https://avatars.githubusercontent.com/u/394393?v=3","gravatar_id":"","url":"https://api.github.com/users/dting","html_url":"https://github.com/dting","followers_url":"https://api.github.com/users/dting/followers","following_url":"https://api.github.com/users/dting/following{/other_user}","gists_url":"https://api.github.com/users/dting/gists{/gist_id}","starred_url":"https://api.github.com/users/dting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dting/subscriptions","organizations_url":"https://api.github.com/users/dting/orgs","repos_url":"https://api.github.com/users/dting/repos","events_url":"https://api.github.com/users/dting/events{/privacy}","received_events_url":"https://api.github.com/users/dting/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dting/webapp","description":"Student absentee and outreach tracking and reporting app for Child First Authority.","fork":true,"url":"https://api.github.com/repos/dting/webapp","forks_url":"https://api.github.com/repos/dting/webapp/forks","keys_url":"https://api.github.com/repos/dting/webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dting/webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dting/webapp/teams","hooks_url":"https://api.github.com/repos/dting/webapp/hooks","issue_events_url":"https://api.github.com/repos/dting/webapp/issues/events{/number}","events_url":"https://api.github.com/repos/dting/webapp/events","assignees_url":"https://api.github.com/repos/dting/webapp/assignees{/user}","branches_url":"https://api.github.com/repos/dting/webapp/branches{/branch}","tags_url":"https://api.github.com/repos/dting/webapp/tags","blobs_url":"https://api.github.com/repos/dting/webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dting/webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dting/webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/dting/webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dting/webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/dting/webapp/languages","stargazers_url":"https://api.github.com/repos/dting/webapp/stargazers","contributors_url":"https://api.github.com/repos/dting/webapp/contributors","subscribers_url":"https://api.github.com/repos/dting/webapp/subscribers","subscription_url":"https://api.github.com/repos/dting/webapp/subscription","commits_url":"https://api.github.com/repos/dting/webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/dting/webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/dting/webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/dting/webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/dting/webapp/contents/{+path}","compare_url":"https://api.github.com/repos/dting/webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dting/webapp/merges","archive_url":"https://api.github.com/repos/dting/webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dting/webapp/downloads","issues_url":"https://api.github.com/repos/dting/webapp/issues{/number}","pulls_url":"https://api.github.com/repos/dting/webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/dting/webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/dting/webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dting/webapp/labels{/name}","releases_url":"https://api.github.com/repos/dting/webapp/releases{/id}","created_at":"2015-09-28T19:06:48Z","updated_at":"2015-09-28T19:07:04Z","pushed_at":"2015-12-15T20:50:52Z","git_url":"git://github.com/dting/webapp.git","ssh_url":"git@github.com:dting/webapp.git","clone_url":"https://github.com/dting/webapp.git","svn_url":"https://github.com/dting/webapp","homepage":null,"size":730,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"child-first-authority-fcc-project:master","ref":"master","sha":"5a152c171cd6b96fcc5a6ea2dcdcea541171d5f1","user":{"login":"child-first-authority-fcc-project","id":14875443,"avatar_url":"https://avatars.githubusercontent.com/u/14875443?v=3","gravatar_id":"","url":"https://api.github.com/users/child-first-authority-fcc-project","html_url":"https://github.com/child-first-authority-fcc-project","followers_url":"https://api.github.com/users/child-first-authority-fcc-project/followers","following_url":"https://api.github.com/users/child-first-authority-fcc-project/following{/other_user}","gists_url":"https://api.github.com/users/child-first-authority-fcc-project/gists{/gist_id}","starred_url":"https://api.github.com/users/child-first-authority-fcc-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/child-first-authority-fcc-project/subscriptions","organizations_url":"https://api.github.com/users/child-first-authority-fcc-project/orgs","repos_url":"https://api.github.com/users/child-first-authority-fcc-project/repos","events_url":"https://api.github.com/users/child-first-authority-fcc-project/events{/privacy}","received_events_url":"https://api.github.com/users/child-first-authority-fcc-project/received_events","type":"Organization","site_admin":false},"repo":{"id":43320722,"name":"webapp","full_name":"child-first-authority-fcc-project/webapp","owner":{"login":"child-first-authority-fcc-project","id":14875443,"avatar_url":"https://avatars.githubusercontent.com/u/14875443?v=3","gravatar_id":"","url":"https://api.github.com/users/child-first-authority-fcc-project","html_url":"https://github.com/child-first-authority-fcc-project","followers_url":"https://api.github.com/users/child-first-authority-fcc-project/followers","following_url":"https://api.github.com/users/child-first-authority-fcc-project/following{/other_user}","gists_url":"https://api.github.com/users/child-first-authority-fcc-project/gists{/gist_id}","starred_url":"https://api.github.com/users/child-first-authority-fcc-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/child-first-authority-fcc-project/subscriptions","organizations_url":"https://api.github.com/users/child-first-authority-fcc-project/orgs","repos_url":"https://api.github.com/users/child-first-authority-fcc-project/repos","events_url":"https://api.github.com/users/child-first-authority-fcc-project/events{/privacy}","received_events_url":"https://api.github.com/users/child-first-authority-fcc-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/child-first-authority-fcc-project/webapp","description":"Student absentee and outreach tracking and reporting app for Child First Authority.","fork":false,"url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp","forks_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/forks","keys_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/teams","hooks_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/hooks","issue_events_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/issues/events{/number}","events_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/events","assignees_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/assignees{/user}","branches_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/branches{/branch}","tags_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/tags","blobs_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/languages","stargazers_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/stargazers","contributors_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/contributors","subscribers_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/subscribers","subscription_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/subscription","commits_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/contents/{+path}","compare_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/merges","archive_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/downloads","issues_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/issues{/number}","pulls_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/labels{/name}","releases_url":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/releases{/id}","created_at":"2015-09-28T19:02:11Z","updated_at":"2015-10-31T20:42:43Z","pushed_at":"2015-12-15T20:51:23Z","git_url":"git://github.com/child-first-authority-fcc-project/webapp.git","ssh_url":"git@github.com:child-first-authority-fcc-project/webapp.git","clone_url":"https://github.com/child-first-authority-fcc-project/webapp.git","svn_url":"https://github.com/child-first-authority-fcc-project/webapp","homepage":null,"size":737,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/pulls/144"},"html":{"href":"https://github.com/child-first-authority-fcc-project/webapp/pull/144"},"issue":{"href":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/issues/144"},"comments":{"href":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/child-first-authority-fcc-project/webapp/statuses/3a32d6c40b1ed5e81948336c6083d6c1682322b1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dting","id":394393,"avatar_url":"https://avatars.githubusercontent.com/u/394393?v=3","gravatar_id":"","url":"https://api.github.com/users/dting","html_url":"https://github.com/dting","followers_url":"https://api.github.com/users/dting/followers","following_url":"https://api.github.com/users/dting/following{/other_user}","gists_url":"https://api.github.com/users/dting/gists{/gist_id}","starred_url":"https://api.github.com/users/dting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dting/subscriptions","organizations_url":"https://api.github.com/users/dting/orgs","repos_url":"https://api.github.com/users/dting/repos","events_url":"https://api.github.com/users/dting/events{/privacy}","received_events_url":"https://api.github.com/users/dting/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":77,"deletions":126,"changed_files":12}}