{"action":"created","comment":{"url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/comments/140199238","pull_request_review_id":64234899,"id":140199238,"diff_hunk":"@@ -0,0 +1,141 @@\n+package server.controllers;\n+\n+import org.springframework.http.HttpStatus;\n+import org.springframework.http.ResponseEntity;\n+import org.springframework.web.bind.annotation.*;\n+import server.User;\n+import server.UserService;\n+\n+import javax.servlet.http.HttpSession;\n+import java.util.LinkedHashMap;\n+import java.util.Map;\n+\n+\n+@RestController\n+public class AccountController {\n+\n+    private UserService userService = new UserService();\n+    private final String urlFrontendServer = \"http://tp-2017-2-caesar.herokuapp.com\";","path":"src/main/java/server/controllers/AccountController.java","position":18,"original_position":18,"commit_id":"15e3880208b97df2ef25f24e15ca055d482f1b01","original_commit_id":"15e3880208b97df2ef25f24e15ca055d482f1b01","user":{"login":"KSolovyev","id":4122313,"avatar_url":"https://avatars0.githubusercontent.com/u/4122313?v=4","gravatar_id":"","url":"https://api.github.com/users/KSolovyev","html_url":"https://github.com/KSolovyev","followers_url":"https://api.github.com/users/KSolovyev/followers","following_url":"https://api.github.com/users/KSolovyev/following{/other_user}","gists_url":"https://api.github.com/users/KSolovyev/gists{/gist_id}","starred_url":"https://api.github.com/users/KSolovyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSolovyev/subscriptions","organizations_url":"https://api.github.com/users/KSolovyev/orgs","repos_url":"https://api.github.com/users/KSolovyev/repos","events_url":"https://api.github.com/users/KSolovyev/events{/privacy}","received_events_url":"https://api.github.com/users/KSolovyev/received_events","type":"User","site_admin":false},"body":"`private static final String FRONTEND_ORIGIN=\"http://tp-2017-2-caesar.herokuapp.com\";`","created_at":"2017-09-21T10:00:53Z","updated_at":"2017-09-21T10:00:58Z","html_url":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017/pull/1#discussion_r140199238","pull_request_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/comments/140199238"},"html":{"href":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017/pull/1#discussion_r140199238"},"pull_request":{"href":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/1","id":141506891,"html_url":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017/pull/1","diff_url":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017/pull/1.diff","patch_url":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017/pull/1.patch","issue_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/issues/1","number":1,"state":"open","locked":false,"title":"РК 1","user":{"login":"sevaTechoPark","id":28502082,"avatar_url":"https://avatars2.githubusercontent.com/u/28502082?v=4","gravatar_id":"","url":"https://api.github.com/users/sevaTechoPark","html_url":"https://github.com/sevaTechoPark","followers_url":"https://api.github.com/users/sevaTechoPark/followers","following_url":"https://api.github.com/users/sevaTechoPark/following{/other_user}","gists_url":"https://api.github.com/users/sevaTechoPark/gists{/gist_id}","starred_url":"https://api.github.com/users/sevaTechoPark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevaTechoPark/subscriptions","organizations_url":"https://api.github.com/users/sevaTechoPark/orgs","repos_url":"https://api.github.com/users/sevaTechoPark/repos","events_url":"https://api.github.com/users/sevaTechoPark/events{/privacy}","received_events_url":"https://api.github.com/users/sevaTechoPark/received_events","type":"User","site_admin":false},"body":"Не знаю как сделать, чтобы если ни на один из зарегестрированных урлов не пришел запрос, я это обработал. Остальное вроде работает)","created_at":"2017-09-17T23:13:52Z","updated_at":"2017-09-21T10:00:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"109dfe7e0df678591b9c66e7f8ef4b71aab9c6fa","assignee":{"login":"KSolovyev","id":4122313,"avatar_url":"https://avatars0.githubusercontent.com/u/4122313?v=4","gravatar_id":"","url":"https://api.github.com/users/KSolovyev","html_url":"https://github.com/KSolovyev","followers_url":"https://api.github.com/users/KSolovyev/followers","following_url":"https://api.github.com/users/KSolovyev/following{/other_user}","gists_url":"https://api.github.com/users/KSolovyev/gists{/gist_id}","starred_url":"https://api.github.com/users/KSolovyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSolovyev/subscriptions","organizations_url":"https://api.github.com/users/KSolovyev/orgs","repos_url":"https://api.github.com/users/KSolovyev/repos","events_url":"https://api.github.com/users/KSolovyev/events{/privacy}","received_events_url":"https://api.github.com/users/KSolovyev/received_events","type":"User","site_admin":false},"assignees":[{"login":"KSolovyev","id":4122313,"avatar_url":"https://avatars0.githubusercontent.com/u/4122313?v=4","gravatar_id":"","url":"https://api.github.com/users/KSolovyev","html_url":"https://github.com/KSolovyev","followers_url":"https://api.github.com/users/KSolovyev/followers","following_url":"https://api.github.com/users/KSolovyev/following{/other_user}","gists_url":"https://api.github.com/users/KSolovyev/gists{/gist_id}","starred_url":"https://api.github.com/users/KSolovyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSolovyev/subscriptions","organizations_url":"https://api.github.com/users/KSolovyev/orgs","repos_url":"https://api.github.com/users/KSolovyev/repos","events_url":"https://api.github.com/users/KSolovyev/events{/privacy}","received_events_url":"https://api.github.com/users/KSolovyev/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/1/commits","review_comments_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/1/comments","review_comment_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/comments{/number}","comments_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/issues/1/comments","statuses_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/statuses/15e3880208b97df2ef25f24e15ca055d482f1b01","head":{"label":"java-park-mail-ru:RK1","ref":"RK1","sha":"15e3880208b97df2ef25f24e15ca055d482f1b01","user":{"login":"java-park-mail-ru","id":17194939,"avatar_url":"https://avatars3.githubusercontent.com/u/17194939?v=4","gravatar_id":"","url":"https://api.github.com/users/java-park-mail-ru","html_url":"https://github.com/java-park-mail-ru","followers_url":"https://api.github.com/users/java-park-mail-ru/followers","following_url":"https://api.github.com/users/java-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/java-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/java-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/java-park-mail-ru/orgs","repos_url":"https://api.github.com/users/java-park-mail-ru/repos","events_url":"https://api.github.com/users/java-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/java-park-mail-ru/received_events","type":"Organization","site_admin":false},"repo":{"id":103254170,"name":"CaesarTeam-09-2017","full_name":"java-park-mail-ru/CaesarTeam-09-2017","owner":{"login":"java-park-mail-ru","id":17194939,"avatar_url":"https://avatars3.githubusercontent.com/u/17194939?v=4","gravatar_id":"","url":"https://api.github.com/users/java-park-mail-ru","html_url":"https://github.com/java-park-mail-ru","followers_url":"https://api.github.com/users/java-park-mail-ru/followers","following_url":"https://api.github.com/users/java-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/java-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/java-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/java-park-mail-ru/orgs","repos_url":"https://api.github.com/users/java-park-mail-ru/repos","events_url":"https://api.github.com/users/java-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/java-park-mail-ru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017","description":null,"fork":false,"url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017","forks_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/forks","keys_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/keys{/key_id}","collaborators_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/teams","hooks_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/hooks","issue_events_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/issues/events{/number}","events_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/events","assignees_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/assignees{/user}","branches_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/branches{/branch}","tags_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/tags","blobs_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/git/refs{/sha}","trees_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/git/trees{/sha}","statuses_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/statuses/{sha}","languages_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/languages","stargazers_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/stargazers","contributors_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/contributors","subscribers_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/subscribers","subscription_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/subscription","commits_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/commits{/sha}","git_commits_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/git/commits{/sha}","comments_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/comments{/number}","issue_comment_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/issues/comments{/number}","contents_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/contents/{+path}","compare_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/compare/{base}...{head}","merges_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/merges","archive_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/downloads","issues_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/issues{/number}","pulls_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls{/number}","milestones_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/milestones{/number}","notifications_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/labels{/name}","releases_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/releases{/id}","deployments_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/deployments","created_at":"2017-09-12T10:01:07Z","updated_at":"2017-09-12T10:02:53Z","pushed_at":"2017-09-21T04:44:02Z","git_url":"git://github.com/java-park-mail-ru/CaesarTeam-09-2017.git","ssh_url":"git@github.com:java-park-mail-ru/CaesarTeam-09-2017.git","clone_url":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017.git","svn_url":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"java-park-mail-ru:master","ref":"master","sha":"6c7db2f655c540bf0a2e530c8af649c66df43416","user":{"login":"java-park-mail-ru","id":17194939,"avatar_url":"https://avatars3.githubusercontent.com/u/17194939?v=4","gravatar_id":"","url":"https://api.github.com/users/java-park-mail-ru","html_url":"https://github.com/java-park-mail-ru","followers_url":"https://api.github.com/users/java-park-mail-ru/followers","following_url":"https://api.github.com/users/java-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/java-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/java-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/java-park-mail-ru/orgs","repos_url":"https://api.github.com/users/java-park-mail-ru/repos","events_url":"https://api.github.com/users/java-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/java-park-mail-ru/received_events","type":"Organization","site_admin":false},"repo":{"id":103254170,"name":"CaesarTeam-09-2017","full_name":"java-park-mail-ru/CaesarTeam-09-2017","owner":{"login":"java-park-mail-ru","id":17194939,"avatar_url":"https://avatars3.githubusercontent.com/u/17194939?v=4","gravatar_id":"","url":"https://api.github.com/users/java-park-mail-ru","html_url":"https://github.com/java-park-mail-ru","followers_url":"https://api.github.com/users/java-park-mail-ru/followers","following_url":"https://api.github.com/users/java-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/java-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/java-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/java-park-mail-ru/orgs","repos_url":"https://api.github.com/users/java-park-mail-ru/repos","events_url":"https://api.github.com/users/java-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/java-park-mail-ru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017","description":null,"fork":false,"url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017","forks_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/forks","keys_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/keys{/key_id}","collaborators_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/teams","hooks_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/hooks","issue_events_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/issues/events{/number}","events_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/events","assignees_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/assignees{/user}","branches_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/branches{/branch}","tags_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/tags","blobs_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/git/refs{/sha}","trees_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/git/trees{/sha}","statuses_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/statuses/{sha}","languages_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/languages","stargazers_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/stargazers","contributors_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/contributors","subscribers_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/subscribers","subscription_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/subscription","commits_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/commits{/sha}","git_commits_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/git/commits{/sha}","comments_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/comments{/number}","issue_comment_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/issues/comments{/number}","contents_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/contents/{+path}","compare_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/compare/{base}...{head}","merges_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/merges","archive_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/downloads","issues_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/issues{/number}","pulls_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls{/number}","milestones_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/milestones{/number}","notifications_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/labels{/name}","releases_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/releases{/id}","deployments_url":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/deployments","created_at":"2017-09-12T10:01:07Z","updated_at":"2017-09-12T10:02:53Z","pushed_at":"2017-09-21T04:44:02Z","git_url":"git://github.com/java-park-mail-ru/CaesarTeam-09-2017.git","ssh_url":"git@github.com:java-park-mail-ru/CaesarTeam-09-2017.git","clone_url":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017.git","svn_url":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/1"},"html":{"href":"https://github.com/java-park-mail-ru/CaesarTeam-09-2017/pull/1"},"issue":{"href":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/issues/1"},"comments":{"href":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/java-park-mail-ru/CaesarTeam-09-2017/statuses/15e3880208b97df2ef25f24e15ca055d482f1b01"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"KSolovyev"}}