{"action":"created","comment":{"url":"https://api.github.com/repos/broadinstitute/agora/pulls/comments/35684714","id":35684714,"diff_hunk":"@@ -7,6 +7,30 @@ instance.name = \"reference\"\n mongodb.host = \"localhost\"\n mongodb.port = 27017\n \n+environment = \"local\"\n+prod {\n+  useOpenAMAuthentication = true\n+  useStandaloneMongo = true\n+  useGcsAuthorizationProvider = true\n+}\n+ci {\n+  useOpenAMAuthentication = true\n+  useStandaloneMongo = true\n+  useGcsAuthorizationProvider = true\n+}\n+dev {\n+  useOpenAMAuthentication = true\n+  useStandaloneMongo = true\n+  useGcsAuthorizationProvider = true\n+}\n+local {\n+  useOpenAMAuthentication = false\n+  useStandaloneMongo = false\n+  useGcsAuthorizationProvider = false\n+  // If not using openAMAuthentication, you need to supply a mock authenticated email.\n+  mockAuthenticatedUserEmail = \" broadprometheustest@gmail.com\"","path":"src/main/resources/reference.conf","position":25,"original_position":25,"commit_id":"6b9b8081cce9cd60b642d726db1bba92f8f615d3","original_commit_id":"6b9b8081cce9cd60b642d726db1bba92f8f615d3","user":{"login":"dshiga","id":773882,"avatar_url":"https://avatars.githubusercontent.com/u/773882?v=3","gravatar_id":"","url":"https://api.github.com/users/dshiga","html_url":"https://github.com/dshiga","followers_url":"https://api.github.com/users/dshiga/followers","following_url":"https://api.github.com/users/dshiga/following{/other_user}","gists_url":"https://api.github.com/users/dshiga/gists{/gist_id}","starred_url":"https://api.github.com/users/dshiga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dshiga/subscriptions","organizations_url":"https://api.github.com/users/dshiga/orgs","repos_url":"https://api.github.com/users/dshiga/repos","events_url":"https://api.github.com/users/dshiga/events{/privacy}","received_events_url":"https://api.github.com/users/dshiga/received_events","type":"User","site_admin":false},"body":"extra space in email above","created_at":"2015-07-28T18:46:36Z","updated_at":"2015-07-28T18:46:36Z","html_url":"https://github.com/broadinstitute/agora/pull/94#discussion_r35684714","pull_request_url":"https://api.github.com/repos/broadinstitute/agora/pulls/94","_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/comments/35684714"},"html":{"href":"https://github.com/broadinstitute/agora/pull/94#discussion_r35684714"},"pull_request":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/94"}}},"pull_request":{"url":"https://api.github.com/repos/broadinstitute/agora/pulls/94","id":40909836,"html_url":"https://github.com/broadinstitute/agora/pull/94","diff_url":"https://github.com/broadinstitute/agora/pull/94.diff","patch_url":"https://github.com/broadinstitute/agora/pull/94.patch","issue_url":"https://api.github.com/repos/broadinstitute/agora/issues/94","number":94,"state":"open","locked":false,"title":"Improvements to agora testing","user":{"login":"gbggrant","id":4129081,"avatar_url":"https://avatars.githubusercontent.com/u/4129081?v=3","gravatar_id":"","url":"https://api.github.com/users/gbggrant","html_url":"https://github.com/gbggrant","followers_url":"https://api.github.com/users/gbggrant/followers","following_url":"https://api.github.com/users/gbggrant/following{/other_user}","gists_url":"https://api.github.com/users/gbggrant/gists{/gist_id}","starred_url":"https://api.github.com/users/gbggrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbggrant/subscriptions","organizations_url":"https://api.github.com/users/gbggrant/orgs","repos_url":"https://api.github.com/users/gbggrant/repos","events_url":"https://api.github.com/users/gbggrant/events{/privacy}","received_events_url":"https://api.github.com/users/gbggrant/received_events","type":"User","site_admin":false},"body":"Load and validate environment (local, dev, ci, prod) from typesafe config\r\n\r\nconditionally use embeddedMongo based on environment (only if local)\r\nRefactored to move MockAuthorizationProvider (nee TestAuthorizationProvider) from test to src.\r\nSelect gcsAuthorizationProvider or mockAuthorizationProvider based on environment (i.e. local uses mock).\r\nPassed environment to Agora object so that unitTest and integrationTest could use different environments for their configuration.\r\nPushed env-specific initialization down to ServerInitializer and ApiServiceActor.","created_at":"2015-07-27T14:37:07Z","updated_at":"2015-07-28T18:46:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cc401d4903ca0b920a9e5c1d35869590ca2f9a9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/broadinstitute/agora/pulls/94/commits","review_comments_url":"https://api.github.com/repos/broadinstitute/agora/pulls/94/comments","review_comment_url":"https://api.github.com/repos/broadinstitute/agora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/broadinstitute/agora/issues/94/comments","statuses_url":"https://api.github.com/repos/broadinstitute/agora/statuses/6b9b8081cce9cd60b642d726db1bba92f8f615d3","head":{"label":"broadinstitute:gg_DSDEEPB-472_improve_agora_testing","ref":"gg_DSDEEPB-472_improve_agora_testing","sha":"6b9b8081cce9cd60b642d726db1bba92f8f615d3","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":34753721,"name":"agora","full_name":"broadinstitute/agora","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/agora","description":"It's a methods repository!","fork":false,"url":"https://api.github.com/repos/broadinstitute/agora","forks_url":"https://api.github.com/repos/broadinstitute/agora/forks","keys_url":"https://api.github.com/repos/broadinstitute/agora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/agora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/agora/teams","hooks_url":"https://api.github.com/repos/broadinstitute/agora/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/agora/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/agora/events","assignees_url":"https://api.github.com/repos/broadinstitute/agora/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/agora/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/agora/tags","blobs_url":"https://api.github.com/repos/broadinstitute/agora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/agora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/agora/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/agora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/agora/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/agora/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/agora/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/agora/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/agora/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/agora/subscription","commits_url":"https://api.github.com/repos/broadinstitute/agora/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/agora/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/agora/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/agora/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/agora/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/agora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/agora/merges","archive_url":"https://api.github.com/repos/broadinstitute/agora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/agora/downloads","issues_url":"https://api.github.com/repos/broadinstitute/agora/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/agora/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/agora/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/agora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/agora/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/agora/releases{/id}","created_at":"2015-04-28T20:18:52Z","updated_at":"2015-05-08T19:49:06Z","pushed_at":"2015-07-27T17:16:03Z","git_url":"git://github.com/broadinstitute/agora.git","ssh_url":"git@github.com:broadinstitute/agora.git","clone_url":"https://github.com/broadinstitute/agora.git","svn_url":"https://github.com/broadinstitute/agora","homepage":"","size":9524,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"broadinstitute:master","ref":"master","sha":"0eeeaaafdae4d3c6142c68a3a08eb8f986f0b0f1","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":34753721,"name":"agora","full_name":"broadinstitute/agora","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/agora","description":"It's a methods repository!","fork":false,"url":"https://api.github.com/repos/broadinstitute/agora","forks_url":"https://api.github.com/repos/broadinstitute/agora/forks","keys_url":"https://api.github.com/repos/broadinstitute/agora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/agora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/agora/teams","hooks_url":"https://api.github.com/repos/broadinstitute/agora/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/agora/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/agora/events","assignees_url":"https://api.github.com/repos/broadinstitute/agora/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/agora/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/agora/tags","blobs_url":"https://api.github.com/repos/broadinstitute/agora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/agora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/agora/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/agora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/agora/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/agora/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/agora/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/agora/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/agora/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/agora/subscription","commits_url":"https://api.github.com/repos/broadinstitute/agora/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/agora/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/agora/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/agora/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/agora/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/agora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/agora/merges","archive_url":"https://api.github.com/repos/broadinstitute/agora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/agora/downloads","issues_url":"https://api.github.com/repos/broadinstitute/agora/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/agora/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/agora/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/agora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/agora/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/agora/releases{/id}","created_at":"2015-04-28T20:18:52Z","updated_at":"2015-05-08T19:49:06Z","pushed_at":"2015-07-27T17:16:03Z","git_url":"git://github.com/broadinstitute/agora.git","ssh_url":"git@github.com:broadinstitute/agora.git","clone_url":"https://github.com/broadinstitute/agora.git","svn_url":"https://github.com/broadinstitute/agora","homepage":"","size":9524,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/94"},"html":{"href":"https://github.com/broadinstitute/agora/pull/94"},"issue":{"href":"https://api.github.com/repos/broadinstitute/agora/issues/94"},"comments":{"href":"https://api.github.com/repos/broadinstitute/agora/issues/94/comments"},"review_comments":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/94/comments"},"review_comment":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/94/commits"},"statuses":{"href":"https://api.github.com/repos/broadinstitute/agora/statuses/6b9b8081cce9cd60b642d726db1bba92f8f615d3"}}}}