{"action":"created","comment":{"url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/comments/219081136","pull_request_review_id":157165703,"id":219081136,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTA4MTEzNg==","diff_hunk":"@@ -0,0 +1,80 @@\n+package com.faforever.server.ice;\n+\n+import com.faforever.server.config.ServerProperties;\n+import com.faforever.server.config.ServerProperties.Ice;\n+import com.faforever.server.entity.Player;\n+import com.faforever.server.ice.StandardIceServerProvider.StandardIceServerProviderCondition;\n+import com.google.common.base.Strings;\n+import lombok.SneakyThrows;\n+import lombok.extern.slf4j.Slf4j;\n+import org.springframework.context.annotation.Condition;\n+import org.springframework.context.annotation.ConditionContext;\n+import org.springframework.context.annotation.Conditional;\n+import org.springframework.core.env.Environment;\n+import org.springframework.core.type.AnnotatedTypeMetadata;\n+import org.springframework.stereotype.Service;\n+\n+import javax.crypto.Mac;\n+import javax.crypto.spec.SecretKeySpec;\n+import java.net.URI;\n+import java.nio.charset.Charset;\n+import java.security.InvalidKeyException;\n+import java.security.NoSuchAlgorithmException;\n+import java.time.Instant;\n+import java.util.Base64;\n+import java.util.stream.Collectors;\n+\n+@Service\n+@Slf4j\n+@Conditional(StandardIceServerProviderCondition.class)\n+public class StandardIceServerProvider implements IceServersProvider {","path":"faf-java-server-app/src/main/java/com/faforever/server/ice/StandardIceServerProvider.java","position":31,"original_position":30,"commit_id":"0bf4324d5d50b19b7290cdac4d2c52ea78d74c59","original_commit_id":"c12a430a43b60cdd849c48e4c41197585edfa9d2","user":{"login":"axel1200","id":19996713,"node_id":"MDQ6VXNlcjE5OTk2NzEz","avatar_url":"https://avatars3.githubusercontent.com/u/19996713?v=4","gravatar_id":"","url":"https://api.github.com/users/axel1200","html_url":"https://github.com/axel1200","followers_url":"https://api.github.com/users/axel1200/followers","following_url":"https://api.github.com/users/axel1200/following{/other_user}","gists_url":"https://api.github.com/users/axel1200/gists{/gist_id}","starred_url":"https://api.github.com/users/axel1200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel1200/subscriptions","organizations_url":"https://api.github.com/users/axel1200/orgs","repos_url":"https://api.github.com/users/axel1200/repos","events_url":"https://api.github.com/users/axel1200/events{/privacy}","received_events_url":"https://api.github.com/users/axel1200/received_events","type":"User","site_admin":false},"body":"What is that????","created_at":"2018-09-20T08:46:53Z","updated_at":"2018-09-20T08:46:53Z","html_url":"https://github.com/FAForever/faf-java-server/pull/83#discussion_r219081136","pull_request_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/83","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/comments/219081136"},"html":{"href":"https://github.com/FAForever/faf-java-server/pull/83#discussion_r219081136"},"pull_request":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/83"}},"in_reply_to_id":218929926},"pull_request":{"url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/83","id":216723277,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NzIzMjc3","html_url":"https://github.com/FAForever/faf-java-server/pull/83","diff_url":"https://github.com/FAForever/faf-java-server/pull/83.diff","patch_url":"https://github.com/FAForever/faf-java-server/pull/83.patch","issue_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/83","number":83,"state":"open","locked":false,"title":"Fixes #82","user":{"login":"axel1200","id":19996713,"node_id":"MDQ6VXNlcjE5OTk2NzEz","avatar_url":"https://avatars3.githubusercontent.com/u/19996713?v=4","gravatar_id":"","url":"https://api.github.com/users/axel1200","html_url":"https://github.com/axel1200","followers_url":"https://api.github.com/users/axel1200/followers","following_url":"https://api.github.com/users/axel1200/following{/other_user}","gists_url":"https://api.github.com/users/axel1200/gists{/gist_id}","starred_url":"https://api.github.com/users/axel1200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel1200/subscriptions","organizations_url":"https://api.github.com/users/axel1200/orgs","repos_url":"https://api.github.com/users/axel1200/repos","events_url":"https://api.github.com/users/axel1200/events{/privacy}","received_events_url":"https://api.github.com/users/axel1200/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-19T17:48:50Z","updated_at":"2018-09-20T08:46:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29aa3a47128ac380f52b8e564be9c29c78f110f6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/83/commits","review_comments_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/83/comments","review_comment_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/83/comments","statuses_url":"https://api.github.com/repos/FAForever/faf-java-server/statuses/0bf4324d5d50b19b7290cdac4d2c52ea78d74c59","head":{"label":"FAForever:feature/#82-ice-turn-lt-cred","ref":"feature/#82-ice-turn-lt-cred","sha":"0bf4324d5d50b19b7290cdac4d2c52ea78d74c59","user":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"repo":{"id":78750512,"node_id":"MDEwOlJlcG9zaXRvcnk3ODc1MDUxMg==","name":"faf-java-server","full_name":"FAForever/faf-java-server","private":false,"owner":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FAForever/faf-java-server","description":"Spring Boot based server for Forged Alliance Forever","fork":false,"url":"https://api.github.com/repos/FAForever/faf-java-server","forks_url":"https://api.github.com/repos/FAForever/faf-java-server/forks","keys_url":"https://api.github.com/repos/FAForever/faf-java-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FAForever/faf-java-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FAForever/faf-java-server/teams","hooks_url":"https://api.github.com/repos/FAForever/faf-java-server/hooks","issue_events_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/events{/number}","events_url":"https://api.github.com/repos/FAForever/faf-java-server/events","assignees_url":"https://api.github.com/repos/FAForever/faf-java-server/assignees{/user}","branches_url":"https://api.github.com/repos/FAForever/faf-java-server/branches{/branch}","tags_url":"https://api.github.com/repos/FAForever/faf-java-server/tags","blobs_url":"https://api.github.com/repos/FAForever/faf-java-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FAForever/faf-java-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FAForever/faf-java-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/FAForever/faf-java-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FAForever/faf-java-server/statuses/{sha}","languages_url":"https://api.github.com/repos/FAForever/faf-java-server/languages","stargazers_url":"https://api.github.com/repos/FAForever/faf-java-server/stargazers","contributors_url":"https://api.github.com/repos/FAForever/faf-java-server/contributors","subscribers_url":"https://api.github.com/repos/FAForever/faf-java-server/subscribers","subscription_url":"https://api.github.com/repos/FAForever/faf-java-server/subscription","commits_url":"https://api.github.com/repos/FAForever/faf-java-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/FAForever/faf-java-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/FAForever/faf-java-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/FAForever/faf-java-server/contents/{+path}","compare_url":"https://api.github.com/repos/FAForever/faf-java-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FAForever/faf-java-server/merges","archive_url":"https://api.github.com/repos/FAForever/faf-java-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FAForever/faf-java-server/downloads","issues_url":"https://api.github.com/repos/FAForever/faf-java-server/issues{/number}","pulls_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls{/number}","milestones_url":"https://api.github.com/repos/FAForever/faf-java-server/milestones{/number}","notifications_url":"https://api.github.com/repos/FAForever/faf-java-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FAForever/faf-java-server/labels{/name}","releases_url":"https://api.github.com/repos/FAForever/faf-java-server/releases{/id}","deployments_url":"https://api.github.com/repos/FAForever/faf-java-server/deployments","created_at":"2017-01-12T13:54:53Z","updated_at":"2018-09-16T18:36:05Z","pushed_at":"2018-09-20T08:45:42Z","git_url":"git://github.com/FAForever/faf-java-server.git","ssh_url":"git@github.com:FAForever/faf-java-server.git","clone_url":"https://github.com/FAForever/faf-java-server.git","svn_url":"https://github.com/FAForever/faf-java-server","homepage":"","size":2416,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":4,"open_issues":12,"watchers":8,"default_branch":"develop"}},"base":{"label":"FAForever:develop","ref":"develop","sha":"76c5e40363e60671ffa58a13bcb44e9dbb575a89","user":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"repo":{"id":78750512,"node_id":"MDEwOlJlcG9zaXRvcnk3ODc1MDUxMg==","name":"faf-java-server","full_name":"FAForever/faf-java-server","private":false,"owner":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FAForever/faf-java-server","description":"Spring Boot based server for Forged Alliance Forever","fork":false,"url":"https://api.github.com/repos/FAForever/faf-java-server","forks_url":"https://api.github.com/repos/FAForever/faf-java-server/forks","keys_url":"https://api.github.com/repos/FAForever/faf-java-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FAForever/faf-java-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FAForever/faf-java-server/teams","hooks_url":"https://api.github.com/repos/FAForever/faf-java-server/hooks","issue_events_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/events{/number}","events_url":"https://api.github.com/repos/FAForever/faf-java-server/events","assignees_url":"https://api.github.com/repos/FAForever/faf-java-server/assignees{/user}","branches_url":"https://api.github.com/repos/FAForever/faf-java-server/branches{/branch}","tags_url":"https://api.github.com/repos/FAForever/faf-java-server/tags","blobs_url":"https://api.github.com/repos/FAForever/faf-java-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FAForever/faf-java-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FAForever/faf-java-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/FAForever/faf-java-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FAForever/faf-java-server/statuses/{sha}","languages_url":"https://api.github.com/repos/FAForever/faf-java-server/languages","stargazers_url":"https://api.github.com/repos/FAForever/faf-java-server/stargazers","contributors_url":"https://api.github.com/repos/FAForever/faf-java-server/contributors","subscribers_url":"https://api.github.com/repos/FAForever/faf-java-server/subscribers","subscription_url":"https://api.github.com/repos/FAForever/faf-java-server/subscription","commits_url":"https://api.github.com/repos/FAForever/faf-java-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/FAForever/faf-java-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/FAForever/faf-java-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/FAForever/faf-java-server/contents/{+path}","compare_url":"https://api.github.com/repos/FAForever/faf-java-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FAForever/faf-java-server/merges","archive_url":"https://api.github.com/repos/FAForever/faf-java-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FAForever/faf-java-server/downloads","issues_url":"https://api.github.com/repos/FAForever/faf-java-server/issues{/number}","pulls_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls{/number}","milestones_url":"https://api.github.com/repos/FAForever/faf-java-server/milestones{/number}","notifications_url":"https://api.github.com/repos/FAForever/faf-java-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FAForever/faf-java-server/labels{/name}","releases_url":"https://api.github.com/repos/FAForever/faf-java-server/releases{/id}","deployments_url":"https://api.github.com/repos/FAForever/faf-java-server/deployments","created_at":"2017-01-12T13:54:53Z","updated_at":"2018-09-16T18:36:05Z","pushed_at":"2018-09-20T08:45:42Z","git_url":"git://github.com/FAForever/faf-java-server.git","ssh_url":"git@github.com:FAForever/faf-java-server.git","clone_url":"https://github.com/FAForever/faf-java-server.git","svn_url":"https://github.com/FAForever/faf-java-server","homepage":"","size":2416,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":4,"open_issues":12,"watchers":8,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/83"},"html":{"href":"https://github.com/FAForever/faf-java-server/pull/83"},"issue":{"href":"https://api.github.com/repos/FAForever/faf-java-server/issues/83"},"comments":{"href":"https://api.github.com/repos/FAForever/faf-java-server/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/FAForever/faf-java-server/statuses/0bf4324d5d50b19b7290cdac4d2c52ea78d74c59"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"axel1200"}}