{"action":"created","comment":{"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/comments/166365043","pull_request_review_id":94415289,"id":166365043,"diff_hunk":"@@ -84,16 +86,18 @@ export function fetchAppealsSuccess(response) {\n   };\n }\n \n-// To test this functionality, go to http://localhost:3001/track-claims/appeals-v2/7387389/status\n export function getAppealsV2() {\n   return (dispatch) => {\n     dispatch({ type: FETCH_APPEALS_PENDING });\n-\n-    // Fake the fetch by just returning a resolved promice with the object shape we expect\n-    //  to get from the api.\n-    return setTimeout(() => Promise.resolve(mockData)\n-      .then((response) => dispatch(fetchAppealsSuccess(response)))\n-      .catch(() => dispatch({ type: SET_APPEALS_UNAVAILABLE })), 4000);\n+    return apiRequest(\n+      '/appeals_v2',\n+      null,\n+      (appeals) => dispatch(fetchAppealsSuccess(appeals)),\n+      (error) => {","path":"src/js/claims-status/actions/index.jsx","position":28,"original_position":28,"commit_id":"d6439dcf8e81d798196ec6ba73b382a32d1bffd0","original_commit_id":"d6439dcf8e81d798196ec6ba73b382a32d1bffd0","user":{"login":"markgreenburg","id":24251447,"avatar_url":"https://avatars0.githubusercontent.com/u/24251447?v=4","gravatar_id":"","url":"https://api.github.com/users/markgreenburg","html_url":"https://github.com/markgreenburg","followers_url":"https://api.github.com/users/markgreenburg/followers","following_url":"https://api.github.com/users/markgreenburg/following{/other_user}","gists_url":"https://api.github.com/users/markgreenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/markgreenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markgreenburg/subscriptions","organizations_url":"https://api.github.com/users/markgreenburg/orgs","repos_url":"https://api.github.com/users/markgreenburg/repos","events_url":"https://api.github.com/users/markgreenburg/events{/privacy}","received_events_url":"https://api.github.com/users/markgreenburg/received_events","type":"User","site_admin":false},"body":"Tracking in https://github.com/department-of-veterans-affairs/vets.gov-team/issues/8567","created_at":"2018-02-06T16:40:10Z","updated_at":"2018-02-06T16:40:11Z","html_url":"https://github.com/department-of-veterans-affairs/vets-website/pull/7223#discussion_r166365043","pull_request_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/7223","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/comments/166365043"},"html":{"href":"https://github.com/department-of-veterans-affairs/vets-website/pull/7223#discussion_r166365043"},"pull_request":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/7223"}},"in_reply_to_id":166362390},"pull_request":{"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/7223","id":167299845,"html_url":"https://github.com/department-of-veterans-affairs/vets-website/pull/7223","diff_url":"https://github.com/department-of-veterans-affairs/vets-website/pull/7223.diff","patch_url":"https://github.com/department-of-veterans-affairs/vets-website/pull/7223.patch","issue_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/issues/7223","number":7223,"state":"open","locked":false,"title":"Appealsv2 api integration mg","user":{"login":"markgreenburg","id":24251447,"avatar_url":"https://avatars0.githubusercontent.com/u/24251447?v=4","gravatar_id":"","url":"https://api.github.com/users/markgreenburg","html_url":"https://github.com/markgreenburg","followers_url":"https://api.github.com/users/markgreenburg/followers","following_url":"https://api.github.com/users/markgreenburg/following{/other_user}","gists_url":"https://api.github.com/users/markgreenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/markgreenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markgreenburg/subscriptions","organizations_url":"https://api.github.com/users/markgreenburg/orgs","repos_url":"https://api.github.com/users/markgreenburg/repos","events_url":"https://api.github.com/users/markgreenburg/events{/privacy}","received_events_url":"https://api.github.com/users/markgreenburg/received_events","type":"User","site_admin":false},"body":"- Replace hard coded mock data return with actually querying the `appeals_v2` endpoint for appeals data.\r\n- Add unit tests.","created_at":"2018-02-06T01:38:40Z","updated_at":"2018-02-06T16:40:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ae20e934c7cdd5d5a04a955a00c6623ba27417f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kreek","id":283834,"avatar_url":"https://avatars0.githubusercontent.com/u/283834?v=4","gravatar_id":"","url":"https://api.github.com/users/kreek","html_url":"https://github.com/kreek","followers_url":"https://api.github.com/users/kreek/followers","following_url":"https://api.github.com/users/kreek/following{/other_user}","gists_url":"https://api.github.com/users/kreek/gists{/gist_id}","starred_url":"https://api.github.com/users/kreek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreek/subscriptions","organizations_url":"https://api.github.com/users/kreek/orgs","repos_url":"https://api.github.com/users/kreek/repos","events_url":"https://api.github.com/users/kreek/events{/privacy}","received_events_url":"https://api.github.com/users/kreek/received_events","type":"User","site_admin":false},{"login":"cvalarida","id":12970166,"avatar_url":"https://avatars0.githubusercontent.com/u/12970166?v=4","gravatar_id":"","url":"https://api.github.com/users/cvalarida","html_url":"https://github.com/cvalarida","followers_url":"https://api.github.com/users/cvalarida/followers","following_url":"https://api.github.com/users/cvalarida/following{/other_user}","gists_url":"https://api.github.com/users/cvalarida/gists{/gist_id}","starred_url":"https://api.github.com/users/cvalarida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvalarida/subscriptions","organizations_url":"https://api.github.com/users/cvalarida/orgs","repos_url":"https://api.github.com/users/cvalarida/repos","events_url":"https://api.github.com/users/cvalarida/events{/privacy}","received_events_url":"https://api.github.com/users/cvalarida/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/7223/commits","review_comments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/7223/comments","review_comment_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/issues/7223/comments","statuses_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/statuses/d6439dcf8e81d798196ec6ba73b382a32d1bffd0","head":{"label":"department-of-veterans-affairs:appealsv2-api-integration-mg","ref":"appealsv2-api-integration-mg","sha":"d6439dcf8e81d798196ec6ba73b382a32d1bffd0","user":{"login":"department-of-veterans-affairs","id":5421563,"avatar_url":"https://avatars1.githubusercontent.com/u/5421563?v=4","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"repo":{"id":33202667,"name":"vets-website","full_name":"department-of-veterans-affairs/vets-website","owner":{"login":"department-of-veterans-affairs","id":5421563,"avatar_url":"https://avatars1.githubusercontent.com/u/5421563?v=4","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/department-of-veterans-affairs/vets-website","description":"Frontend for Vets.gov","fork":false,"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website","forks_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/forks","keys_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/teams","hooks_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/hooks","issue_events_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/issues/events{/number}","events_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/events","assignees_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/assignees{/user}","branches_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/branches{/branch}","tags_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/tags","blobs_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/statuses/{sha}","languages_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/languages","stargazers_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/stargazers","contributors_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/contributors","subscribers_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/subscribers","subscription_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/subscription","commits_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/contents/{+path}","compare_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/merges","archive_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/downloads","issues_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/issues{/number}","pulls_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls{/number}","milestones_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/milestones{/number}","notifications_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/labels{/name}","releases_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/releases{/id}","deployments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/deployments","created_at":"2015-03-31T18:34:05Z","updated_at":"2018-01-28T21:47:52Z","pushed_at":"2018-02-06T14:49:51Z","git_url":"git://github.com/department-of-veterans-affairs/vets-website.git","ssh_url":"git@github.com:department-of-veterans-affairs/vets-website.git","clone_url":"https://github.com/department-of-veterans-affairs/vets-website.git","svn_url":"https://github.com/department-of-veterans-affairs/vets-website","homepage":"","size":116762,"stargazers_count":102,"watchers_count":102,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":50,"license":{"key":"cc0-1.0","name":"Creative Commons Zero v1.0 Universal","spdx_id":"CC0-1.0","url":"https://api.github.com/licenses/cc0-1.0"},"forks":51,"open_issues":50,"watchers":102,"default_branch":"master"}},"base":{"label":"department-of-veterans-affairs:master","ref":"master","sha":"bd9a1ac59c48fb276290e4d283746d83ba0bfbe5","user":{"login":"department-of-veterans-affairs","id":5421563,"avatar_url":"https://avatars1.githubusercontent.com/u/5421563?v=4","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"repo":{"id":33202667,"name":"vets-website","full_name":"department-of-veterans-affairs/vets-website","owner":{"login":"department-of-veterans-affairs","id":5421563,"avatar_url":"https://avatars1.githubusercontent.com/u/5421563?v=4","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/department-of-veterans-affairs/vets-website","description":"Frontend for Vets.gov","fork":false,"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website","forks_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/forks","keys_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/teams","hooks_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/hooks","issue_events_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/issues/events{/number}","events_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/events","assignees_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/assignees{/user}","branches_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/branches{/branch}","tags_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/tags","blobs_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/statuses/{sha}","languages_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/languages","stargazers_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/stargazers","contributors_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/contributors","subscribers_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/subscribers","subscription_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/subscription","commits_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/contents/{+path}","compare_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/merges","archive_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/downloads","issues_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/issues{/number}","pulls_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls{/number}","milestones_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/milestones{/number}","notifications_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/labels{/name}","releases_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/releases{/id}","deployments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/deployments","created_at":"2015-03-31T18:34:05Z","updated_at":"2018-01-28T21:47:52Z","pushed_at":"2018-02-06T14:49:51Z","git_url":"git://github.com/department-of-veterans-affairs/vets-website.git","ssh_url":"git@github.com:department-of-veterans-affairs/vets-website.git","clone_url":"https://github.com/department-of-veterans-affairs/vets-website.git","svn_url":"https://github.com/department-of-veterans-affairs/vets-website","homepage":"","size":116762,"stargazers_count":102,"watchers_count":102,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":50,"license":{"key":"cc0-1.0","name":"Creative Commons Zero v1.0 Universal","spdx_id":"CC0-1.0","url":"https://api.github.com/licenses/cc0-1.0"},"forks":51,"open_issues":50,"watchers":102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/7223"},"html":{"href":"https://github.com/department-of-veterans-affairs/vets-website/pull/7223"},"issue":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/issues/7223"},"comments":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/issues/7223/comments"},"review_comments":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/7223/comments"},"review_comment":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/pulls/7223/commits"},"statuses":{"href":"https://api.github.com/repos/department-of-veterans-affairs/vets-website/statuses/d6439dcf8e81d798196ec6ba73b382a32d1bffd0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"markgreenburg"}}