{"action":"created","comment":{"url":"https://api.github.com/repos/almighty/almighty-core/pulls/comments/91952200","pull_request_review_id":12460925,"id":91952200,"diff_hunk":"@@ -0,0 +1,55 @@\n+package main_test\n+\n+import (\n+\t\"testing\"\n+\n+\t. \"github.com/almighty/almighty-core\"\n+\t\"github.com/almighty/almighty-core/account\"\n+\t\"github.com/almighty/almighty-core/app/test\"\n+\t\"github.com/almighty/almighty-core/gormapplication\"\n+\t\"github.com/almighty/almighty-core/resource\"\n+\ttestsupport \"github.com/almighty/almighty-core/test\"\n+\talmtoken \"github.com/almighty/almighty-core/token\"\n+\t\"github.com/stretchr/testify/assert\"\n+\t\"golang.org/x/net/context\"\n+)\n+\n+func TestShowUser(t *testing.T) {\n+\tresource.Require(t, resource.Database)\n+\tpub, _ := almtoken.ParsePublicKey([]byte(almtoken.RSAPublicKey))\n+\tpriv, _ := almtoken.ParsePrivateKey([]byte(almtoken.RSAPrivateKey))\n+\tsvc := testsupport.ServiceAsUser(\"TestGetWorkItem-Service\", almtoken.NewManager(pub, priv), account.TestIdentity)","path":"users_test.go","position":null,"original_position":21,"commit_id":"0cfb69d7e0767fddefd88c4fc3c957273c077103","original_commit_id":"3b2d347d8693bba7501e8fabaec2419a7bcea516","user":{"login":"baijum","id":121129,"avatar_url":"https://avatars.githubusercontent.com/u/121129?v=3","gravatar_id":"","url":"https://api.github.com/users/baijum","html_url":"https://github.com/baijum","followers_url":"https://api.github.com/users/baijum/followers","following_url":"https://api.github.com/users/baijum/following{/other_user}","gists_url":"https://api.github.com/users/baijum/gists{/gist_id}","starred_url":"https://api.github.com/users/baijum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijum/subscriptions","organizations_url":"https://api.github.com/users/baijum/orgs","repos_url":"https://api.github.com/users/baijum/repos","events_url":"https://api.github.com/users/baijum/events{/privacy}","received_events_url":"https://api.github.com/users/baijum/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2016-12-12T14:06:40Z","updated_at":"2016-12-12T14:06:40Z","html_url":"https://github.com/almighty/almighty-core/pull/532#discussion_r91952200","pull_request_url":"https://api.github.com/repos/almighty/almighty-core/pulls/532","_links":{"self":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/comments/91952200"},"html":{"href":"https://github.com/almighty/almighty-core/pull/532#discussion_r91952200"},"pull_request":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/532"}}},"pull_request":{"url":"https://api.github.com/repos/almighty/almighty-core/pulls/532","id":95895379,"html_url":"https://github.com/almighty/almighty-core/pull/532","diff_url":"https://github.com/almighty/almighty-core/pull/532.diff","patch_url":"https://github.com/almighty/almighty-core/pull/532.patch","issue_url":"https://api.github.com/repos/almighty/almighty-core/issues/532","number":532,"state":"open","locked":false,"title":"API to get an individual user","user":{"login":"baijum","id":121129,"avatar_url":"https://avatars.githubusercontent.com/u/121129?v=3","gravatar_id":"","url":"https://api.github.com/users/baijum","html_url":"https://github.com/baijum","followers_url":"https://api.github.com/users/baijum/followers","following_url":"https://api.github.com/users/baijum/following{/other_user}","gists_url":"https://api.github.com/users/baijum/gists{/gist_id}","starred_url":"https://api.github.com/users/baijum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijum/subscriptions","organizations_url":"https://api.github.com/users/baijum/orgs","repos_url":"https://api.github.com/users/baijum/repos","events_url":"https://api.github.com/users/baijum/events{/privacy}","received_events_url":"https://api.github.com/users/baijum/received_events","type":"User","site_admin":false},"body":"fixes #507","created_at":"2016-11-30T13:55:08Z","updated_at":"2016-12-12T14:06:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8b5d9faa31f7957457af815c504c2e57edba578","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/almighty/almighty-core/pulls/532/commits","review_comments_url":"https://api.github.com/repos/almighty/almighty-core/pulls/532/comments","review_comment_url":"https://api.github.com/repos/almighty/almighty-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/almighty/almighty-core/issues/532/comments","statuses_url":"https://api.github.com/repos/almighty/almighty-core/statuses/0cfb69d7e0767fddefd88c4fc3c957273c077103","head":{"label":"baijum:issue-507","ref":"issue-507","sha":"0cfb69d7e0767fddefd88c4fc3c957273c077103","user":{"login":"baijum","id":121129,"avatar_url":"https://avatars.githubusercontent.com/u/121129?v=3","gravatar_id":"","url":"https://api.github.com/users/baijum","html_url":"https://github.com/baijum","followers_url":"https://api.github.com/users/baijum/followers","following_url":"https://api.github.com/users/baijum/following{/other_user}","gists_url":"https://api.github.com/users/baijum/gists{/gist_id}","starred_url":"https://api.github.com/users/baijum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijum/subscriptions","organizations_url":"https://api.github.com/users/baijum/orgs","repos_url":"https://api.github.com/users/baijum/repos","events_url":"https://api.github.com/users/baijum/events{/privacy}","received_events_url":"https://api.github.com/users/baijum/received_events","type":"User","site_admin":false},"repo":{"id":63276116,"name":"almighty-core","full_name":"baijum/almighty-core","owner":{"login":"baijum","id":121129,"avatar_url":"https://avatars.githubusercontent.com/u/121129?v=3","gravatar_id":"","url":"https://api.github.com/users/baijum","html_url":"https://github.com/baijum","followers_url":"https://api.github.com/users/baijum/followers","following_url":"https://api.github.com/users/baijum/following{/other_user}","gists_url":"https://api.github.com/users/baijum/gists{/gist_id}","starred_url":"https://api.github.com/users/baijum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijum/subscriptions","organizations_url":"https://api.github.com/users/baijum/orgs","repos_url":"https://api.github.com/users/baijum/repos","events_url":"https://api.github.com/users/baijum/events{/privacy}","received_events_url":"https://api.github.com/users/baijum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/baijum/almighty-core","description":null,"fork":true,"url":"https://api.github.com/repos/baijum/almighty-core","forks_url":"https://api.github.com/repos/baijum/almighty-core/forks","keys_url":"https://api.github.com/repos/baijum/almighty-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baijum/almighty-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baijum/almighty-core/teams","hooks_url":"https://api.github.com/repos/baijum/almighty-core/hooks","issue_events_url":"https://api.github.com/repos/baijum/almighty-core/issues/events{/number}","events_url":"https://api.github.com/repos/baijum/almighty-core/events","assignees_url":"https://api.github.com/repos/baijum/almighty-core/assignees{/user}","branches_url":"https://api.github.com/repos/baijum/almighty-core/branches{/branch}","tags_url":"https://api.github.com/repos/baijum/almighty-core/tags","blobs_url":"https://api.github.com/repos/baijum/almighty-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baijum/almighty-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baijum/almighty-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/baijum/almighty-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baijum/almighty-core/statuses/{sha}","languages_url":"https://api.github.com/repos/baijum/almighty-core/languages","stargazers_url":"https://api.github.com/repos/baijum/almighty-core/stargazers","contributors_url":"https://api.github.com/repos/baijum/almighty-core/contributors","subscribers_url":"https://api.github.com/repos/baijum/almighty-core/subscribers","subscription_url":"https://api.github.com/repos/baijum/almighty-core/subscription","commits_url":"https://api.github.com/repos/baijum/almighty-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/baijum/almighty-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/baijum/almighty-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/baijum/almighty-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/baijum/almighty-core/contents/{+path}","compare_url":"https://api.github.com/repos/baijum/almighty-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baijum/almighty-core/merges","archive_url":"https://api.github.com/repos/baijum/almighty-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baijum/almighty-core/downloads","issues_url":"https://api.github.com/repos/baijum/almighty-core/issues{/number}","pulls_url":"https://api.github.com/repos/baijum/almighty-core/pulls{/number}","milestones_url":"https://api.github.com/repos/baijum/almighty-core/milestones{/number}","notifications_url":"https://api.github.com/repos/baijum/almighty-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baijum/almighty-core/labels{/name}","releases_url":"https://api.github.com/repos/baijum/almighty-core/releases{/id}","deployments_url":"https://api.github.com/repos/baijum/almighty-core/deployments","created_at":"2016-07-13T20:09:48Z","updated_at":"2016-07-13T20:09:48Z","pushed_at":"2016-12-12T13:38:18Z","git_url":"git://github.com/baijum/almighty-core.git","ssh_url":"git@github.com:baijum/almighty-core.git","clone_url":"https://github.com/baijum/almighty-core.git","svn_url":"https://github.com/baijum/almighty-core","homepage":null,"size":957,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"almighty:master","ref":"master","sha":"d97b91a7d9ca57f2d5daf8998c2c0462e9a60171","user":{"login":"almighty","id":17783151,"avatar_url":"https://avatars.githubusercontent.com/u/17783151?v=3","gravatar_id":"","url":"https://api.github.com/users/almighty","html_url":"https://github.com/almighty","followers_url":"https://api.github.com/users/almighty/followers","following_url":"https://api.github.com/users/almighty/following{/other_user}","gists_url":"https://api.github.com/users/almighty/gists{/gist_id}","starred_url":"https://api.github.com/users/almighty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almighty/subscriptions","organizations_url":"https://api.github.com/users/almighty/orgs","repos_url":"https://api.github.com/users/almighty/repos","events_url":"https://api.github.com/users/almighty/events{/privacy}","received_events_url":"https://api.github.com/users/almighty/received_events","type":"Organization","site_admin":false},"repo":{"id":54260706,"name":"almighty-core","full_name":"almighty/almighty-core","owner":{"login":"almighty","id":17783151,"avatar_url":"https://avatars.githubusercontent.com/u/17783151?v=3","gravatar_id":"","url":"https://api.github.com/users/almighty","html_url":"https://github.com/almighty","followers_url":"https://api.github.com/users/almighty/followers","following_url":"https://api.github.com/users/almighty/following{/other_user}","gists_url":"https://api.github.com/users/almighty/gists{/gist_id}","starred_url":"https://api.github.com/users/almighty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almighty/subscriptions","organizations_url":"https://api.github.com/users/almighty/orgs","repos_url":"https://api.github.com/users/almighty/repos","events_url":"https://api.github.com/users/almighty/events{/privacy}","received_events_url":"https://api.github.com/users/almighty/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/almighty/almighty-core","description":null,"fork":false,"url":"https://api.github.com/repos/almighty/almighty-core","forks_url":"https://api.github.com/repos/almighty/almighty-core/forks","keys_url":"https://api.github.com/repos/almighty/almighty-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/almighty/almighty-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/almighty/almighty-core/teams","hooks_url":"https://api.github.com/repos/almighty/almighty-core/hooks","issue_events_url":"https://api.github.com/repos/almighty/almighty-core/issues/events{/number}","events_url":"https://api.github.com/repos/almighty/almighty-core/events","assignees_url":"https://api.github.com/repos/almighty/almighty-core/assignees{/user}","branches_url":"https://api.github.com/repos/almighty/almighty-core/branches{/branch}","tags_url":"https://api.github.com/repos/almighty/almighty-core/tags","blobs_url":"https://api.github.com/repos/almighty/almighty-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/almighty/almighty-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/almighty/almighty-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/almighty/almighty-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/almighty/almighty-core/statuses/{sha}","languages_url":"https://api.github.com/repos/almighty/almighty-core/languages","stargazers_url":"https://api.github.com/repos/almighty/almighty-core/stargazers","contributors_url":"https://api.github.com/repos/almighty/almighty-core/contributors","subscribers_url":"https://api.github.com/repos/almighty/almighty-core/subscribers","subscription_url":"https://api.github.com/repos/almighty/almighty-core/subscription","commits_url":"https://api.github.com/repos/almighty/almighty-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/almighty/almighty-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/almighty/almighty-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/almighty/almighty-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/almighty/almighty-core/contents/{+path}","compare_url":"https://api.github.com/repos/almighty/almighty-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/almighty/almighty-core/merges","archive_url":"https://api.github.com/repos/almighty/almighty-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/almighty/almighty-core/downloads","issues_url":"https://api.github.com/repos/almighty/almighty-core/issues{/number}","pulls_url":"https://api.github.com/repos/almighty/almighty-core/pulls{/number}","milestones_url":"https://api.github.com/repos/almighty/almighty-core/milestones{/number}","notifications_url":"https://api.github.com/repos/almighty/almighty-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/almighty/almighty-core/labels{/name}","releases_url":"https://api.github.com/repos/almighty/almighty-core/releases{/id}","deployments_url":"https://api.github.com/repos/almighty/almighty-core/deployments","created_at":"2016-03-19T10:42:15Z","updated_at":"2016-11-24T19:49:50Z","pushed_at":"2016-12-12T13:38:18Z","git_url":"git://github.com/almighty/almighty-core.git","ssh_url":"git@github.com:almighty/almighty-core.git","clone_url":"https://github.com/almighty/almighty-core.git","svn_url":"https://github.com/almighty/almighty-core","homepage":"http://devdoc.almighty.io/","size":5642,"stargazers_count":15,"watchers_count":15,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":170,"forks":33,"open_issues":170,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/532"},"html":{"href":"https://github.com/almighty/almighty-core/pull/532"},"issue":{"href":"https://api.github.com/repos/almighty/almighty-core/issues/532"},"comments":{"href":"https://api.github.com/repos/almighty/almighty-core/issues/532/comments"},"review_comments":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/532/comments"},"review_comment":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/532/commits"},"statuses":{"href":"https://api.github.com/repos/almighty/almighty-core/statuses/0cfb69d7e0767fddefd88c4fc3c957273c077103"}}}}
{"actor":{"display_login":"baijum"}}