{"action":"created","comment":{"url":"https://api.github.com/repos/google/data-transfer-project/pulls/comments/173059872","pull_request_review_id":102183942,"id":173059872,"diff_hunk":"@@ -0,0 +1,45 @@\n+package org.dataportabilityproject.gateway;\n+\n+import com.google.common.collect.ImmutableList;\n+import com.google.inject.AbstractModule;\n+import com.google.inject.multibindings.MapBinder;\n+import java.util.ArrayList;\n+import java.util.List;\n+import java.util.ServiceLoader;\n+import org.dataportabilityproject.spi.gateway.auth.AuthServiceProvider;\n+import org.dataportabilityproject.spi.gateway.auth.AuthServiceProviderRegistry;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+public class PortabilityAuthServiceProviderModule extends AbstractModule {\n+\n+  private static final Logger logger =\n+      LoggerFactory.getLogger(PortabilityAuthServiceProviderModule.class);\n+\n+  private final ImmutableList<String> enabledServices;","path":"portability-gateway/src/main/java/org/dataportabilityproject/gateway/PortabilityAuthServiceProviderModule.java","position":19,"original_position":19,"commit_id":"691792931ee85f9cd7a656aa2e58ae9b033aca7f","original_commit_id":"691792931ee85f9cd7a656aa2e58ae9b033aca7f","user":{"login":"holachuy","id":26009975,"avatar_url":"https://avatars0.githubusercontent.com/u/26009975?v=4","gravatar_id":"","url":"https://api.github.com/users/holachuy","html_url":"https://github.com/holachuy","followers_url":"https://api.github.com/users/holachuy/followers","following_url":"https://api.github.com/users/holachuy/following{/other_user}","gists_url":"https://api.github.com/users/holachuy/gists{/gist_id}","starred_url":"https://api.github.com/users/holachuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holachuy/subscriptions","organizations_url":"https://api.github.com/users/holachuy/orgs","repos_url":"https://api.github.com/users/holachuy/repos","events_url":"https://api.github.com/users/holachuy/events{/privacy}","received_events_url":"https://api.github.com/users/holachuy/received_events","type":"User","site_admin":false},"body":"ImmutableSet ?","created_at":"2018-03-08T04:11:23Z","updated_at":"2018-03-08T04:12:42Z","html_url":"https://github.com/google/data-transfer-project/pull/186#discussion_r173059872","pull_request_url":"https://api.github.com/repos/google/data-transfer-project/pulls/186","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/comments/173059872"},"html":{"href":"https://github.com/google/data-transfer-project/pull/186#discussion_r173059872"},"pull_request":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/186"}}},"pull_request":{"url":"https://api.github.com/repos/google/data-transfer-project/pulls/186","id":173573026,"html_url":"https://github.com/google/data-transfer-project/pull/186","diff_url":"https://github.com/google/data-transfer-project/pull/186.diff","patch_url":"https://github.com/google/data-transfer-project/pull/186.patch","issue_url":"https://api.github.com/repos/google/data-transfer-project/issues/186","number":186,"state":"open","locked":false,"title":"Bind and configure AuthServiceProviderRegistry to new gateway","user":{"login":"seehamrun","id":2763488,"avatar_url":"https://avatars1.githubusercontent.com/u/2763488?v=4","gravatar_id":"","url":"https://api.github.com/users/seehamrun","html_url":"https://github.com/seehamrun","followers_url":"https://api.github.com/users/seehamrun/followers","following_url":"https://api.github.com/users/seehamrun/following{/other_user}","gists_url":"https://api.github.com/users/seehamrun/gists{/gist_id}","starred_url":"https://api.github.com/users/seehamrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seehamrun/subscriptions","organizations_url":"https://api.github.com/users/seehamrun/orgs","repos_url":"https://api.github.com/users/seehamrun/repos","events_url":"https://api.github.com/users/seehamrun/events{/privacy}","received_events_url":"https://api.github.com/users/seehamrun/received_events","type":"User","site_admin":false},"body":"WIP: This does not dynamically populate the registry yet. Need to wire up a few more things before we have something runnable to check against. Also only one AuthProvider is currently set up. ","created_at":"2018-03-07T21:05:22Z","updated_at":"2018-03-08T04:12:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"395e2a2bef8f296c12542d2beca7e6a7819382a8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/data-transfer-project/pulls/186/commits","review_comments_url":"https://api.github.com/repos/google/data-transfer-project/pulls/186/comments","review_comment_url":"https://api.github.com/repos/google/data-transfer-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/data-transfer-project/issues/186/comments","statuses_url":"https://api.github.com/repos/google/data-transfer-project/statuses/691792931ee85f9cd7a656aa2e58ae9b033aca7f","head":{"label":"google:registry","ref":"registry","sha":"691792931ee85f9cd7a656aa2e58ae9b033aca7f","user":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":116309308,"name":"data-transfer-project","full_name":"google/data-transfer-project","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/data-transfer-project","description":"The goal of the Data Transfer Project is to make it easy for users to transfer their data between online services (e.g. Google and Microsoft services). We provide a common framework and ecosystem to accept contributions from service providers to enable seamless transfer of data into and out of their service.","fork":false,"url":"https://api.github.com/repos/google/data-transfer-project","forks_url":"https://api.github.com/repos/google/data-transfer-project/forks","keys_url":"https://api.github.com/repos/google/data-transfer-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/data-transfer-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/data-transfer-project/teams","hooks_url":"https://api.github.com/repos/google/data-transfer-project/hooks","issue_events_url":"https://api.github.com/repos/google/data-transfer-project/issues/events{/number}","events_url":"https://api.github.com/repos/google/data-transfer-project/events","assignees_url":"https://api.github.com/repos/google/data-transfer-project/assignees{/user}","branches_url":"https://api.github.com/repos/google/data-transfer-project/branches{/branch}","tags_url":"https://api.github.com/repos/google/data-transfer-project/tags","blobs_url":"https://api.github.com/repos/google/data-transfer-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/data-transfer-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/data-transfer-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/data-transfer-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/data-transfer-project/statuses/{sha}","languages_url":"https://api.github.com/repos/google/data-transfer-project/languages","stargazers_url":"https://api.github.com/repos/google/data-transfer-project/stargazers","contributors_url":"https://api.github.com/repos/google/data-transfer-project/contributors","subscribers_url":"https://api.github.com/repos/google/data-transfer-project/subscribers","subscription_url":"https://api.github.com/repos/google/data-transfer-project/subscription","commits_url":"https://api.github.com/repos/google/data-transfer-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/data-transfer-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/data-transfer-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/data-transfer-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/data-transfer-project/contents/{+path}","compare_url":"https://api.github.com/repos/google/data-transfer-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/data-transfer-project/merges","archive_url":"https://api.github.com/repos/google/data-transfer-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/data-transfer-project/downloads","issues_url":"https://api.github.com/repos/google/data-transfer-project/issues{/number}","pulls_url":"https://api.github.com/repos/google/data-transfer-project/pulls{/number}","milestones_url":"https://api.github.com/repos/google/data-transfer-project/milestones{/number}","notifications_url":"https://api.github.com/repos/google/data-transfer-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/data-transfer-project/labels{/name}","releases_url":"https://api.github.com/repos/google/data-transfer-project/releases{/id}","deployments_url":"https://api.github.com/repos/google/data-transfer-project/deployments","created_at":"2018-01-04T21:27:57Z","updated_at":"2018-03-06T23:36:35Z","pushed_at":"2018-03-07T23:38:27Z","git_url":"git://github.com/google/data-transfer-project.git","ssh_url":"git@github.com:google/data-transfer-project.git","clone_url":"https://github.com/google/data-transfer-project.git","svn_url":"https://github.com/google/data-transfer-project","homepage":"","size":2466,"stargazers_count":34,"watchers_count":34,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":9,"open_issues":26,"watchers":34,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"2478b87b8d279fd4c503914388a58eae584befc1","user":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":116309308,"name":"data-transfer-project","full_name":"google/data-transfer-project","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/data-transfer-project","description":"The goal of the Data Transfer Project is to make it easy for users to transfer their data between online services (e.g. Google and Microsoft services). We provide a common framework and ecosystem to accept contributions from service providers to enable seamless transfer of data into and out of their service.","fork":false,"url":"https://api.github.com/repos/google/data-transfer-project","forks_url":"https://api.github.com/repos/google/data-transfer-project/forks","keys_url":"https://api.github.com/repos/google/data-transfer-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/data-transfer-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/data-transfer-project/teams","hooks_url":"https://api.github.com/repos/google/data-transfer-project/hooks","issue_events_url":"https://api.github.com/repos/google/data-transfer-project/issues/events{/number}","events_url":"https://api.github.com/repos/google/data-transfer-project/events","assignees_url":"https://api.github.com/repos/google/data-transfer-project/assignees{/user}","branches_url":"https://api.github.com/repos/google/data-transfer-project/branches{/branch}","tags_url":"https://api.github.com/repos/google/data-transfer-project/tags","blobs_url":"https://api.github.com/repos/google/data-transfer-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/data-transfer-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/data-transfer-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/data-transfer-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/data-transfer-project/statuses/{sha}","languages_url":"https://api.github.com/repos/google/data-transfer-project/languages","stargazers_url":"https://api.github.com/repos/google/data-transfer-project/stargazers","contributors_url":"https://api.github.com/repos/google/data-transfer-project/contributors","subscribers_url":"https://api.github.com/repos/google/data-transfer-project/subscribers","subscription_url":"https://api.github.com/repos/google/data-transfer-project/subscription","commits_url":"https://api.github.com/repos/google/data-transfer-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/data-transfer-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/data-transfer-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/data-transfer-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/data-transfer-project/contents/{+path}","compare_url":"https://api.github.com/repos/google/data-transfer-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/data-transfer-project/merges","archive_url":"https://api.github.com/repos/google/data-transfer-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/data-transfer-project/downloads","issues_url":"https://api.github.com/repos/google/data-transfer-project/issues{/number}","pulls_url":"https://api.github.com/repos/google/data-transfer-project/pulls{/number}","milestones_url":"https://api.github.com/repos/google/data-transfer-project/milestones{/number}","notifications_url":"https://api.github.com/repos/google/data-transfer-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/data-transfer-project/labels{/name}","releases_url":"https://api.github.com/repos/google/data-transfer-project/releases{/id}","deployments_url":"https://api.github.com/repos/google/data-transfer-project/deployments","created_at":"2018-01-04T21:27:57Z","updated_at":"2018-03-06T23:36:35Z","pushed_at":"2018-03-07T23:38:27Z","git_url":"git://github.com/google/data-transfer-project.git","ssh_url":"git@github.com:google/data-transfer-project.git","clone_url":"https://github.com/google/data-transfer-project.git","svn_url":"https://github.com/google/data-transfer-project","homepage":"","size":2466,"stargazers_count":34,"watchers_count":34,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":9,"open_issues":26,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/186"},"html":{"href":"https://github.com/google/data-transfer-project/pull/186"},"issue":{"href":"https://api.github.com/repos/google/data-transfer-project/issues/186"},"comments":{"href":"https://api.github.com/repos/google/data-transfer-project/issues/186/comments"},"review_comments":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/186/comments"},"review_comment":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/data-transfer-project/pulls/186/commits"},"statuses":{"href":"https://api.github.com/repos/google/data-transfer-project/statuses/691792931ee85f9cd7a656aa2e58ae9b033aca7f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"holachuy"}}