{"action":"created","comment":{"url":"https://api.github.com/repos/rollerderby/scoreboard/pulls/comments/216832710","pull_request_review_id":154409310,"id":216832710,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjgzMjcxMA==","diff_hunk":"@@ -0,0 +1,90 @@\n+package com.carolinarollergirls.scoreboard.json;\n+\n+import io.prometheus.client.Histogram;\n+\n+import java.util.ArrayList;\n+import java.util.Collections;\n+import java.util.HashMap;\n+import java.util.HashSet;\n+import java.util.Iterator;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.Set;\n+\n+public class JSONStateManager {\n+\n+  public synchronized void register(JSONStateListener source) {","path":"src/com/carolinarollergirls/scoreboard/json/JSONStateManager.java","position":16,"original_position":16,"commit_id":"0d4de8e61195a05e353c66628dbecf9c7d9da233","original_commit_id":"5ca1e1b4315da2f662ab4510d1b217be5260a49f","user":{"login":"brian-brazil","id":7115638,"node_id":"MDQ6VXNlcjcxMTU2Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/7115638?v=4","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"body":"I'm mainly waiting on your changes to go in.","created_at":"2018-09-11T21:42:27Z","updated_at":"2018-09-11T21:42:27Z","html_url":"https://github.com/rollerderby/scoreboard/pull/146#discussion_r216832710","pull_request_url":"https://api.github.com/repos/rollerderby/scoreboard/pulls/146","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/rollerderby/scoreboard/pulls/comments/216832710"},"html":{"href":"https://github.com/rollerderby/scoreboard/pull/146#discussion_r216832710"},"pull_request":{"href":"https://api.github.com/repos/rollerderby/scoreboard/pulls/146"}},"in_reply_to_id":216418654},"pull_request":{"url":"https://api.github.com/repos/rollerderby/scoreboard/pulls/146","id":210912836,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwOTEyODM2","html_url":"https://github.com/rollerderby/scoreboard/pull/146","diff_url":"https://github.com/rollerderby/scoreboard/pull/146.diff","patch_url":"https://github.com/rollerderby/scoreboard/pull/146.patch","issue_url":"https://api.github.com/repos/rollerderby/scoreboard/issues/146","number":146,"state":"open","locked":false,"title":"Switch to WS-based JSON file output from old game output.","user":{"login":"brian-brazil","id":7115638,"node_id":"MDQ6VXNlcjcxMTU2Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/7115638?v=4","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"body":"I had to take care of #12 while doing this, and also found another regression from #130.\r\n\r\nI'll leave using this new setup for unittests to another PR.\r\n\r\n@AdamSmasherDerby This switches to the new JSON format if you want to poke around","created_at":"2018-08-25T17:27:05Z","updated_at":"2018-09-11T21:42:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fe0a9998320c9b327a26916e273543640920cf6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rollerderby/scoreboard/pulls/146/commits","review_comments_url":"https://api.github.com/repos/rollerderby/scoreboard/pulls/146/comments","review_comment_url":"https://api.github.com/repos/rollerderby/scoreboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rollerderby/scoreboard/issues/146/comments","statuses_url":"https://api.github.com/repos/rollerderby/scoreboard/statuses/0d4de8e61195a05e353c66628dbecf9c7d9da233","head":{"label":"rollerderby:json-refactor","ref":"json-refactor","sha":"0d4de8e61195a05e353c66628dbecf9c7d9da233","user":{"login":"rollerderby","id":1960037,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjAwMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1960037?v=4","gravatar_id":"","url":"https://api.github.com/users/rollerderby","html_url":"https://github.com/rollerderby","followers_url":"https://api.github.com/users/rollerderby/followers","following_url":"https://api.github.com/users/rollerderby/following{/other_user}","gists_url":"https://api.github.com/users/rollerderby/gists{/gist_id}","starred_url":"https://api.github.com/users/rollerderby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rollerderby/subscriptions","organizations_url":"https://api.github.com/users/rollerderby/orgs","repos_url":"https://api.github.com/users/rollerderby/repos","events_url":"https://api.github.com/users/rollerderby/events{/privacy}","received_events_url":"https://api.github.com/users/rollerderby/received_events","type":"Organization","site_admin":false},"repo":{"id":11660672,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY2MDY3Mg==","name":"scoreboard","full_name":"rollerderby/scoreboard","owner":{"login":"rollerderby","id":1960037,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjAwMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1960037?v=4","gravatar_id":"","url":"https://api.github.com/users/rollerderby","html_url":"https://github.com/rollerderby","followers_url":"https://api.github.com/users/rollerderby/followers","following_url":"https://api.github.com/users/rollerderby/following{/other_user}","gists_url":"https://api.github.com/users/rollerderby/gists{/gist_id}","starred_url":"https://api.github.com/users/rollerderby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rollerderby/subscriptions","organizations_url":"https://api.github.com/users/rollerderby/orgs","repos_url":"https://api.github.com/users/rollerderby/repos","events_url":"https://api.github.com/users/rollerderby/events{/privacy}","received_events_url":"https://api.github.com/users/rollerderby/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rollerderby/scoreboard","description":"CRG Derby Scoreboard","fork":false,"url":"https://api.github.com/repos/rollerderby/scoreboard","forks_url":"https://api.github.com/repos/rollerderby/scoreboard/forks","keys_url":"https://api.github.com/repos/rollerderby/scoreboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rollerderby/scoreboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rollerderby/scoreboard/teams","hooks_url":"https://api.github.com/repos/rollerderby/scoreboard/hooks","issue_events_url":"https://api.github.com/repos/rollerderby/scoreboard/issues/events{/number}","events_url":"https://api.github.com/repos/rollerderby/scoreboard/events","assignees_url":"https://api.github.com/repos/rollerderby/scoreboard/assignees{/user}","branches_url":"https://api.github.com/repos/rollerderby/scoreboard/branches{/branch}","tags_url":"https://api.github.com/repos/rollerderby/scoreboard/tags","blobs_url":"https://api.github.com/repos/rollerderby/scoreboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rollerderby/scoreboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rollerderby/scoreboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/rollerderby/scoreboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rollerderby/scoreboard/statuses/{sha}","languages_url":"https://api.github.com/repos/rollerderby/scoreboard/languages","stargazers_url":"https://api.github.com/repos/rollerderby/scoreboard/stargazers","contributors_url":"https://api.github.com/repos/rollerderby/scoreboard/contributors","subscribers_url":"https://api.github.com/repos/rollerderby/scoreboard/subscribers","subscription_url":"https://api.github.com/repos/rollerderby/scoreboard/subscription","commits_url":"https://api.github.com/repos/rollerderby/scoreboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/rollerderby/scoreboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/rollerderby/scoreboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/rollerderby/scoreboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/rollerderby/scoreboard/contents/{+path}","compare_url":"https://api.github.com/repos/rollerderby/scoreboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rollerderby/scoreboard/merges","archive_url":"https://api.github.com/repos/rollerderby/scoreboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rollerderby/scoreboard/downloads","issues_url":"https://api.github.com/repos/rollerderby/scoreboard/issues{/number}","pulls_url":"https://api.github.com/repos/rollerderby/scoreboard/pulls{/number}","milestones_url":"https://api.github.com/repos/rollerderby/scoreboard/milestones{/number}","notifications_url":"https://api.github.com/repos/rollerderby/scoreboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rollerderby/scoreboard/labels{/name}","releases_url":"https://api.github.com/repos/rollerderby/scoreboard/releases{/id}","deployments_url":"https://api.github.com/repos/rollerderby/scoreboard/deployments","created_at":"2013-07-25T13:10:13Z","updated_at":"2018-08-29T15:01:28Z","pushed_at":"2018-09-11T15:02:59Z","git_url":"git://github.com/rollerderby/scoreboard.git","ssh_url":"git@github.com:rollerderby/scoreboard.git","clone_url":"https://github.com/rollerderby/scoreboard.git","svn_url":"https://github.com/rollerderby/scoreboard","homepage":"","size":66270,"stargazers_count":43,"watchers_count":43,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":23,"open_issues":27,"watchers":43,"default_branch":"dev"}},"base":{"label":"rollerderby:dev","ref":"dev","sha":"5c4462f6c65ff54fffcbf113f18ea762d82804b0","user":{"login":"rollerderby","id":1960037,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjAwMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1960037?v=4","gravatar_id":"","url":"https://api.github.com/users/rollerderby","html_url":"https://github.com/rollerderby","followers_url":"https://api.github.com/users/rollerderby/followers","following_url":"https://api.github.com/users/rollerderby/following{/other_user}","gists_url":"https://api.github.com/users/rollerderby/gists{/gist_id}","starred_url":"https://api.github.com/users/rollerderby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rollerderby/subscriptions","organizations_url":"https://api.github.com/users/rollerderby/orgs","repos_url":"https://api.github.com/users/rollerderby/repos","events_url":"https://api.github.com/users/rollerderby/events{/privacy}","received_events_url":"https://api.github.com/users/rollerderby/received_events","type":"Organization","site_admin":false},"repo":{"id":11660672,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY2MDY3Mg==","name":"scoreboard","full_name":"rollerderby/scoreboard","owner":{"login":"rollerderby","id":1960037,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjAwMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1960037?v=4","gravatar_id":"","url":"https://api.github.com/users/rollerderby","html_url":"https://github.com/rollerderby","followers_url":"https://api.github.com/users/rollerderby/followers","following_url":"https://api.github.com/users/rollerderby/following{/other_user}","gists_url":"https://api.github.com/users/rollerderby/gists{/gist_id}","starred_url":"https://api.github.com/users/rollerderby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rollerderby/subscriptions","organizations_url":"https://api.github.com/users/rollerderby/orgs","repos_url":"https://api.github.com/users/rollerderby/repos","events_url":"https://api.github.com/users/rollerderby/events{/privacy}","received_events_url":"https://api.github.com/users/rollerderby/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rollerderby/scoreboard","description":"CRG Derby Scoreboard","fork":false,"url":"https://api.github.com/repos/rollerderby/scoreboard","forks_url":"https://api.github.com/repos/rollerderby/scoreboard/forks","keys_url":"https://api.github.com/repos/rollerderby/scoreboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rollerderby/scoreboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rollerderby/scoreboard/teams","hooks_url":"https://api.github.com/repos/rollerderby/scoreboard/hooks","issue_events_url":"https://api.github.com/repos/rollerderby/scoreboard/issues/events{/number}","events_url":"https://api.github.com/repos/rollerderby/scoreboard/events","assignees_url":"https://api.github.com/repos/rollerderby/scoreboard/assignees{/user}","branches_url":"https://api.github.com/repos/rollerderby/scoreboard/branches{/branch}","tags_url":"https://api.github.com/repos/rollerderby/scoreboard/tags","blobs_url":"https://api.github.com/repos/rollerderby/scoreboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rollerderby/scoreboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rollerderby/scoreboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/rollerderby/scoreboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rollerderby/scoreboard/statuses/{sha}","languages_url":"https://api.github.com/repos/rollerderby/scoreboard/languages","stargazers_url":"https://api.github.com/repos/rollerderby/scoreboard/stargazers","contributors_url":"https://api.github.com/repos/rollerderby/scoreboard/contributors","subscribers_url":"https://api.github.com/repos/rollerderby/scoreboard/subscribers","subscription_url":"https://api.github.com/repos/rollerderby/scoreboard/subscription","commits_url":"https://api.github.com/repos/rollerderby/scoreboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/rollerderby/scoreboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/rollerderby/scoreboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/rollerderby/scoreboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/rollerderby/scoreboard/contents/{+path}","compare_url":"https://api.github.com/repos/rollerderby/scoreboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rollerderby/scoreboard/merges","archive_url":"https://api.github.com/repos/rollerderby/scoreboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rollerderby/scoreboard/downloads","issues_url":"https://api.github.com/repos/rollerderby/scoreboard/issues{/number}","pulls_url":"https://api.github.com/repos/rollerderby/scoreboard/pulls{/number}","milestones_url":"https://api.github.com/repos/rollerderby/scoreboard/milestones{/number}","notifications_url":"https://api.github.com/repos/rollerderby/scoreboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rollerderby/scoreboard/labels{/name}","releases_url":"https://api.github.com/repos/rollerderby/scoreboard/releases{/id}","deployments_url":"https://api.github.com/repos/rollerderby/scoreboard/deployments","created_at":"2013-07-25T13:10:13Z","updated_at":"2018-08-29T15:01:28Z","pushed_at":"2018-09-11T15:02:59Z","git_url":"git://github.com/rollerderby/scoreboard.git","ssh_url":"git@github.com:rollerderby/scoreboard.git","clone_url":"https://github.com/rollerderby/scoreboard.git","svn_url":"https://github.com/rollerderby/scoreboard","homepage":"","size":66270,"stargazers_count":43,"watchers_count":43,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":23,"open_issues":27,"watchers":43,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/rollerderby/scoreboard/pulls/146"},"html":{"href":"https://github.com/rollerderby/scoreboard/pull/146"},"issue":{"href":"https://api.github.com/repos/rollerderby/scoreboard/issues/146"},"comments":{"href":"https://api.github.com/repos/rollerderby/scoreboard/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/rollerderby/scoreboard/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/rollerderby/scoreboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rollerderby/scoreboard/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/rollerderby/scoreboard/statuses/0d4de8e61195a05e353c66628dbecf9c7d9da233"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"brian-brazil"}}