{"action":"created","comment":{"url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/comments/122611953","pull_request_review_id":44741554,"id":122611953,"diff_hunk":"@@ -112,6 +116,15 @@ public void onMessage(InputStream in, OutputStream out) throws IOException {\n \r\n         final String name = Serializers.STRING.read(in);\r\n         final User user = controller.newUser(name);\r\n+        \r\n+        String userAddCommand = \"U-ADD \";\r\n+        userAddCommand += user.id + \" \";\r\n+        userAddCommand += user.name + \" \";\r\n+        userAddCommand += user.creation;\r\n+\r\n+        persistentLog.add(userAddCommand);\r\n+        System.out.println(userAddCommand);\r\n+        \r","path":"src/codeu/chat/server/Server.java","position":null,"original_position":31,"commit_id":"ffe0ed446297df1c6af4d75746873c3b88a500f4","original_commit_id":"6ecd1b5a8f058f8bc25a5e351e4146b0b1e82151","user":{"login":"mattiewasiak","id":17994694,"avatar_url":"https://avatars2.githubusercontent.com/u/17994694?v=3","gravatar_id":"","url":"https://api.github.com/users/mattiewasiak","html_url":"https://github.com/mattiewasiak","followers_url":"https://api.github.com/users/mattiewasiak/followers","following_url":"https://api.github.com/users/mattiewasiak/following{/other_user}","gists_url":"https://api.github.com/users/mattiewasiak/gists{/gist_id}","starred_url":"https://api.github.com/users/mattiewasiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattiewasiak/subscriptions","organizations_url":"https://api.github.com/users/mattiewasiak/orgs","repos_url":"https://api.github.com/users/mattiewasiak/repos","events_url":"https://api.github.com/users/mattiewasiak/events{/privacy}","received_events_url":"https://api.github.com/users/mattiewasiak/received_events","type":"User","site_admin":false},"body":"Oh yeah! This was for debugging purposes - sorry about that!","created_at":"2017-06-19T02:30:11Z","updated_at":"2017-06-19T02:30:11Z","html_url":"https://github.com/someoneemily/CodeU-Summer-2017/pull/8#discussion_r122611953","pull_request_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/comments/122611953"},"html":{"href":"https://github.com/someoneemily/CodeU-Summer-2017/pull/8#discussion_r122611953"},"pull_request":{"href":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/8","id":126036790,"html_url":"https://github.com/someoneemily/CodeU-Summer-2017/pull/8","diff_url":"https://github.com/someoneemily/CodeU-Summer-2017/pull/8.diff","patch_url":"https://github.com/someoneemily/CodeU-Summer-2017/pull/8.patch","issue_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/issues/8","number":8,"state":"open","locked":false,"title":"Persistent Log Users","user":{"login":"mattiewasiak","id":17994694,"avatar_url":"https://avatars2.githubusercontent.com/u/17994694?v=3","gravatar_id":"","url":"https://api.github.com/users/mattiewasiak","html_url":"https://github.com/mattiewasiak","followers_url":"https://api.github.com/users/mattiewasiak/followers","following_url":"https://api.github.com/users/mattiewasiak/following{/other_user}","gists_url":"https://api.github.com/users/mattiewasiak/gists{/gist_id}","starred_url":"https://api.github.com/users/mattiewasiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattiewasiak/subscriptions","organizations_url":"https://api.github.com/users/mattiewasiak/orgs","repos_url":"https://api.github.com/users/mattiewasiak/repos","events_url":"https://api.github.com/users/mattiewasiak/events{/privacy}","received_events_url":"https://api.github.com/users/mattiewasiak/received_events","type":"User","site_admin":false},"body":"When a user is created, it will write a command for the persistentFile to the queue. After five seconds, the queue will be written to the persistentFile.\r\n\r\nOn startup, the server will read from the persistentFile (if one is available) and create the stored users. ","created_at":"2017-06-16T13:48:10Z","updated_at":"2017-06-19T02:30:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/8/commits","review_comments_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/8/comments","review_comment_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/comments{/number}","comments_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/issues/8/comments","statuses_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/statuses/ffe0ed446297df1c6af4d75746873c3b88a500f4","head":{"label":"someoneemily:persistentLogUsers","ref":"persistentLogUsers","sha":"ffe0ed446297df1c6af4d75746873c3b88a500f4","user":{"login":"someoneemily","id":11238820,"avatar_url":"https://avatars1.githubusercontent.com/u/11238820?v=3","gravatar_id":"","url":"https://api.github.com/users/someoneemily","html_url":"https://github.com/someoneemily","followers_url":"https://api.github.com/users/someoneemily/followers","following_url":"https://api.github.com/users/someoneemily/following{/other_user}","gists_url":"https://api.github.com/users/someoneemily/gists{/gist_id}","starred_url":"https://api.github.com/users/someoneemily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someoneemily/subscriptions","organizations_url":"https://api.github.com/users/someoneemily/orgs","repos_url":"https://api.github.com/users/someoneemily/repos","events_url":"https://api.github.com/users/someoneemily/events{/privacy}","received_events_url":"https://api.github.com/users/someoneemily/received_events","type":"User","site_admin":false},"repo":{"id":91749143,"name":"CodeU-Summer-2017","full_name":"someoneemily/CodeU-Summer-2017","owner":{"login":"someoneemily","id":11238820,"avatar_url":"https://avatars1.githubusercontent.com/u/11238820?v=3","gravatar_id":"","url":"https://api.github.com/users/someoneemily","html_url":"https://github.com/someoneemily","followers_url":"https://api.github.com/users/someoneemily/followers","following_url":"https://api.github.com/users/someoneemily/following{/other_user}","gists_url":"https://api.github.com/users/someoneemily/gists{/gist_id}","starred_url":"https://api.github.com/users/someoneemily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someoneemily/subscriptions","organizations_url":"https://api.github.com/users/someoneemily/orgs","repos_url":"https://api.github.com/users/someoneemily/repos","events_url":"https://api.github.com/users/someoneemily/events{/privacy}","received_events_url":"https://api.github.com/users/someoneemily/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/someoneemily/CodeU-Summer-2017","description":null,"fork":false,"url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017","forks_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/forks","keys_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/keys{/key_id}","collaborators_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/teams","hooks_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/hooks","issue_events_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/issues/events{/number}","events_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/events","assignees_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/assignees{/user}","branches_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/branches{/branch}","tags_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/tags","blobs_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/git/refs{/sha}","trees_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/git/trees{/sha}","statuses_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/statuses/{sha}","languages_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/languages","stargazers_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/stargazers","contributors_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/contributors","subscribers_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/subscribers","subscription_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/subscription","commits_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/commits{/sha}","git_commits_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/git/commits{/sha}","comments_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/comments{/number}","issue_comment_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/issues/comments{/number}","contents_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/contents/{+path}","compare_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/compare/{base}...{head}","merges_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/merges","archive_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/downloads","issues_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/issues{/number}","pulls_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls{/number}","milestones_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/milestones{/number}","notifications_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/labels{/name}","releases_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/releases{/id}","deployments_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/deployments","created_at":"2017-05-19T00:26:54Z","updated_at":"2017-05-19T00:38:53Z","pushed_at":"2017-06-19T01:30:36Z","git_url":"git://github.com/someoneemily/CodeU-Summer-2017.git","ssh_url":"git@github.com:someoneemily/CodeU-Summer-2017.git","clone_url":"https://github.com/someoneemily/CodeU-Summer-2017.git","svn_url":"https://github.com/someoneemily/CodeU-Summer-2017","homepage":null,"size":486,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"someoneemily:master","ref":"master","sha":"629117ee496c11b2e4b6985ef1e79c167256c092","user":{"login":"someoneemily","id":11238820,"avatar_url":"https://avatars1.githubusercontent.com/u/11238820?v=3","gravatar_id":"","url":"https://api.github.com/users/someoneemily","html_url":"https://github.com/someoneemily","followers_url":"https://api.github.com/users/someoneemily/followers","following_url":"https://api.github.com/users/someoneemily/following{/other_user}","gists_url":"https://api.github.com/users/someoneemily/gists{/gist_id}","starred_url":"https://api.github.com/users/someoneemily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someoneemily/subscriptions","organizations_url":"https://api.github.com/users/someoneemily/orgs","repos_url":"https://api.github.com/users/someoneemily/repos","events_url":"https://api.github.com/users/someoneemily/events{/privacy}","received_events_url":"https://api.github.com/users/someoneemily/received_events","type":"User","site_admin":false},"repo":{"id":91749143,"name":"CodeU-Summer-2017","full_name":"someoneemily/CodeU-Summer-2017","owner":{"login":"someoneemily","id":11238820,"avatar_url":"https://avatars1.githubusercontent.com/u/11238820?v=3","gravatar_id":"","url":"https://api.github.com/users/someoneemily","html_url":"https://github.com/someoneemily","followers_url":"https://api.github.com/users/someoneemily/followers","following_url":"https://api.github.com/users/someoneemily/following{/other_user}","gists_url":"https://api.github.com/users/someoneemily/gists{/gist_id}","starred_url":"https://api.github.com/users/someoneemily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someoneemily/subscriptions","organizations_url":"https://api.github.com/users/someoneemily/orgs","repos_url":"https://api.github.com/users/someoneemily/repos","events_url":"https://api.github.com/users/someoneemily/events{/privacy}","received_events_url":"https://api.github.com/users/someoneemily/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/someoneemily/CodeU-Summer-2017","description":null,"fork":false,"url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017","forks_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/forks","keys_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/keys{/key_id}","collaborators_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/teams","hooks_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/hooks","issue_events_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/issues/events{/number}","events_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/events","assignees_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/assignees{/user}","branches_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/branches{/branch}","tags_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/tags","blobs_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/git/refs{/sha}","trees_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/git/trees{/sha}","statuses_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/statuses/{sha}","languages_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/languages","stargazers_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/stargazers","contributors_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/contributors","subscribers_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/subscribers","subscription_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/subscription","commits_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/commits{/sha}","git_commits_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/git/commits{/sha}","comments_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/comments{/number}","issue_comment_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/issues/comments{/number}","contents_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/contents/{+path}","compare_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/compare/{base}...{head}","merges_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/merges","archive_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/downloads","issues_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/issues{/number}","pulls_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls{/number}","milestones_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/milestones{/number}","notifications_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/labels{/name}","releases_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/releases{/id}","deployments_url":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/deployments","created_at":"2017-05-19T00:26:54Z","updated_at":"2017-05-19T00:38:53Z","pushed_at":"2017-06-19T01:30:36Z","git_url":"git://github.com/someoneemily/CodeU-Summer-2017.git","ssh_url":"git@github.com:someoneemily/CodeU-Summer-2017.git","clone_url":"https://github.com/someoneemily/CodeU-Summer-2017.git","svn_url":"https://github.com/someoneemily/CodeU-Summer-2017","homepage":null,"size":486,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/8"},"html":{"href":"https://github.com/someoneemily/CodeU-Summer-2017/pull/8"},"issue":{"href":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/issues/8"},"comments":{"href":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/someoneemily/CodeU-Summer-2017/statuses/ffe0ed446297df1c6af4d75746873c3b88a500f4"}}}}
{"actor":{"display_login":"mattiewasiak"}}