{"action":"created","comment":{"url":"https://api.github.com/repos/googleapis/toolkit/pulls/comments/77214757","id":77214757,"diff_hunk":"@@ -57,6 +57,13 @@ public static void main(String[] args) throws Exception {\n             .hasArg()\n             .argName(\"OUTPUT-DIRECTORY\")\n             .build());\n+    options.addOption(","path":"src/main/java/com/google/api/codegen/DiscoveryFragmentGeneratorTool.java","position":4,"original_position":4,"commit_id":"254a0b25ea235c20e7265f4ca5e2ee1abd10b260","original_commit_id":"254a0b25ea235c20e7265f4ca5e2ee1abd10b260","user":{"login":"vchudnov-g","id":5422149,"avatar_url":"https://avatars.githubusercontent.com/u/5422149?v=3","gravatar_id":"","url":"https://api.github.com/users/vchudnov-g","html_url":"https://github.com/vchudnov-g","followers_url":"https://api.github.com/users/vchudnov-g/followers","following_url":"https://api.github.com/users/vchudnov-g/following{/other_user}","gists_url":"https://api.github.com/users/vchudnov-g/gists{/gist_id}","starred_url":"https://api.github.com/users/vchudnov-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchudnov-g/subscriptions","organizations_url":"https://api.github.com/users/vchudnov-g/orgs","repos_url":"https://api.github.com/users/vchudnov-g/repos","events_url":"https://api.github.com/users/vchudnov-g/events{/privacy}","received_events_url":"https://api.github.com/users/vchudnov-g/received_events","type":"User","site_admin":false},"body":"This is totally fine, but consider whether in the future a YAML input format would be better. If so, we can plan for it.","created_at":"2016-09-01T17:11:07Z","updated_at":"2016-09-01T17:11:07Z","html_url":"https://github.com/googleapis/toolkit/pull/445#discussion_r77214757","pull_request_url":"https://api.github.com/repos/googleapis/toolkit/pulls/445","_links":{"self":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/comments/77214757"},"html":{"href":"https://github.com/googleapis/toolkit/pull/445#discussion_r77214757"},"pull_request":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/445"}}},"pull_request":{"url":"https://api.github.com/repos/googleapis/toolkit/pulls/445","id":83582831,"html_url":"https://github.com/googleapis/toolkit/pull/445","diff_url":"https://github.com/googleapis/toolkit/pull/445.diff","patch_url":"https://github.com/googleapis/toolkit/pull/445.patch","issue_url":"https://api.github.com/repos/googleapis/toolkit/issues/445","number":445,"state":"open","locked":false,"title":"Add basic 3LO and API key auth support in discovery","user":{"login":"saicheems","id":2468087,"avatar_url":"https://avatars.githubusercontent.com/u/2468087?v=3","gravatar_id":"","url":"https://api.github.com/users/saicheems","html_url":"https://github.com/saicheems","followers_url":"https://api.github.com/users/saicheems/followers","following_url":"https://api.github.com/users/saicheems/following{/other_user}","gists_url":"https://api.github.com/users/saicheems/gists{/gist_id}","starred_url":"https://api.github.com/users/saicheems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saicheems/subscriptions","organizations_url":"https://api.github.com/users/saicheems/orgs","repos_url":"https://api.github.com/users/saicheems/repos","events_url":"https://api.github.com/users/saicheems/events{/privacy}","received_events_url":"https://api.github.com/users/saicheems/received_events","type":"User","site_admin":false},"body":"Adds an auth placeholder in the Java sample depending on the API's auth\r\ntype.\r\n\r\nAdds `auth_url` option to `DiscoveryFragmentGeneratorTool.java` to pass\r\ncustom auth instructions URLs to the fragments.\r\n\r\nAdds `AuthType` enum and logic to `ApiaryConfig.java`\r\n- Selects API key if there are no scopes\r\n- Selects ADC if there are scopes and cloud is one of them\r\n- Selects 3LO otherwise","created_at":"2016-09-01T07:27:10Z","updated_at":"2016-09-01T17:11:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ac06f5f8583fd5458228932c4b0d4a475d56c43","assignee":{"login":"vchudnov-g","id":5422149,"avatar_url":"https://avatars.githubusercontent.com/u/5422149?v=3","gravatar_id":"","url":"https://api.github.com/users/vchudnov-g","html_url":"https://github.com/vchudnov-g","followers_url":"https://api.github.com/users/vchudnov-g/followers","following_url":"https://api.github.com/users/vchudnov-g/following{/other_user}","gists_url":"https://api.github.com/users/vchudnov-g/gists{/gist_id}","starred_url":"https://api.github.com/users/vchudnov-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchudnov-g/subscriptions","organizations_url":"https://api.github.com/users/vchudnov-g/orgs","repos_url":"https://api.github.com/users/vchudnov-g/repos","events_url":"https://api.github.com/users/vchudnov-g/events{/privacy}","received_events_url":"https://api.github.com/users/vchudnov-g/received_events","type":"User","site_admin":false},"assignees":[{"login":"vchudnov-g","id":5422149,"avatar_url":"https://avatars.githubusercontent.com/u/5422149?v=3","gravatar_id":"","url":"https://api.github.com/users/vchudnov-g","html_url":"https://github.com/vchudnov-g","followers_url":"https://api.github.com/users/vchudnov-g/followers","following_url":"https://api.github.com/users/vchudnov-g/following{/other_user}","gists_url":"https://api.github.com/users/vchudnov-g/gists{/gist_id}","starred_url":"https://api.github.com/users/vchudnov-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchudnov-g/subscriptions","organizations_url":"https://api.github.com/users/vchudnov-g/orgs","repos_url":"https://api.github.com/users/vchudnov-g/repos","events_url":"https://api.github.com/users/vchudnov-g/events{/privacy}","received_events_url":"https://api.github.com/users/vchudnov-g/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/googleapis/toolkit/pulls/445/commits","review_comments_url":"https://api.github.com/repos/googleapis/toolkit/pulls/445/comments","review_comment_url":"https://api.github.com/repos/googleapis/toolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googleapis/toolkit/issues/445/comments","statuses_url":"https://api.github.com/repos/googleapis/toolkit/statuses/254a0b25ea235c20e7265f4ca5e2ee1abd10b260","head":{"label":"saicheems:disco_head","ref":"disco_head","sha":"254a0b25ea235c20e7265f4ca5e2ee1abd10b260","user":{"login":"saicheems","id":2468087,"avatar_url":"https://avatars.githubusercontent.com/u/2468087?v=3","gravatar_id":"","url":"https://api.github.com/users/saicheems","html_url":"https://github.com/saicheems","followers_url":"https://api.github.com/users/saicheems/followers","following_url":"https://api.github.com/users/saicheems/following{/other_user}","gists_url":"https://api.github.com/users/saicheems/gists{/gist_id}","starred_url":"https://api.github.com/users/saicheems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saicheems/subscriptions","organizations_url":"https://api.github.com/users/saicheems/orgs","repos_url":"https://api.github.com/users/saicheems/repos","events_url":"https://api.github.com/users/saicheems/events{/privacy}","received_events_url":"https://api.github.com/users/saicheems/received_events","type":"User","site_admin":false},"repo":{"id":57332880,"name":"toolkit","full_name":"saicheems/toolkit","owner":{"login":"saicheems","id":2468087,"avatar_url":"https://avatars.githubusercontent.com/u/2468087?v=3","gravatar_id":"","url":"https://api.github.com/users/saicheems","html_url":"https://github.com/saicheems","followers_url":"https://api.github.com/users/saicheems/followers","following_url":"https://api.github.com/users/saicheems/following{/other_user}","gists_url":"https://api.github.com/users/saicheems/gists{/gist_id}","starred_url":"https://api.github.com/users/saicheems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saicheems/subscriptions","organizations_url":"https://api.github.com/users/saicheems/orgs","repos_url":"https://api.github.com/users/saicheems/repos","events_url":"https://api.github.com/users/saicheems/events{/privacy}","received_events_url":"https://api.github.com/users/saicheems/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saicheems/toolkit","description":"","fork":true,"url":"https://api.github.com/repos/saicheems/toolkit","forks_url":"https://api.github.com/repos/saicheems/toolkit/forks","keys_url":"https://api.github.com/repos/saicheems/toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saicheems/toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saicheems/toolkit/teams","hooks_url":"https://api.github.com/repos/saicheems/toolkit/hooks","issue_events_url":"https://api.github.com/repos/saicheems/toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/saicheems/toolkit/events","assignees_url":"https://api.github.com/repos/saicheems/toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/saicheems/toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/saicheems/toolkit/tags","blobs_url":"https://api.github.com/repos/saicheems/toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saicheems/toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saicheems/toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/saicheems/toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saicheems/toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/saicheems/toolkit/languages","stargazers_url":"https://api.github.com/repos/saicheems/toolkit/stargazers","contributors_url":"https://api.github.com/repos/saicheems/toolkit/contributors","subscribers_url":"https://api.github.com/repos/saicheems/toolkit/subscribers","subscription_url":"https://api.github.com/repos/saicheems/toolkit/subscription","commits_url":"https://api.github.com/repos/saicheems/toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/saicheems/toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/saicheems/toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/saicheems/toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/saicheems/toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/saicheems/toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saicheems/toolkit/merges","archive_url":"https://api.github.com/repos/saicheems/toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saicheems/toolkit/downloads","issues_url":"https://api.github.com/repos/saicheems/toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/saicheems/toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/saicheems/toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/saicheems/toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saicheems/toolkit/labels{/name}","releases_url":"https://api.github.com/repos/saicheems/toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/saicheems/toolkit/deployments","created_at":"2016-04-28T20:49:44Z","updated_at":"2016-04-28T20:49:47Z","pushed_at":"2016-09-01T16:35:21Z","git_url":"git://github.com/saicheems/toolkit.git","ssh_url":"git@github.com:saicheems/toolkit.git","clone_url":"https://github.com/saicheems/toolkit.git","svn_url":"https://github.com/saicheems/toolkit","homepage":null,"size":6870,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"googleapis:disco_head","ref":"disco_head","sha":"e856b5f042e37ce405078a837dfdf37b7332bfd6","user":{"login":"googleapis","id":16785467,"avatar_url":"https://avatars.githubusercontent.com/u/16785467?v=3","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"repo":{"id":56533838,"name":"toolkit","full_name":"googleapis/toolkit","owner":{"login":"googleapis","id":16785467,"avatar_url":"https://avatars.githubusercontent.com/u/16785467?v=3","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googleapis/toolkit","description":"","fork":false,"url":"https://api.github.com/repos/googleapis/toolkit","forks_url":"https://api.github.com/repos/googleapis/toolkit/forks","keys_url":"https://api.github.com/repos/googleapis/toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googleapis/toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googleapis/toolkit/teams","hooks_url":"https://api.github.com/repos/googleapis/toolkit/hooks","issue_events_url":"https://api.github.com/repos/googleapis/toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/googleapis/toolkit/events","assignees_url":"https://api.github.com/repos/googleapis/toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/googleapis/toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/googleapis/toolkit/tags","blobs_url":"https://api.github.com/repos/googleapis/toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googleapis/toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googleapis/toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/googleapis/toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googleapis/toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/googleapis/toolkit/languages","stargazers_url":"https://api.github.com/repos/googleapis/toolkit/stargazers","contributors_url":"https://api.github.com/repos/googleapis/toolkit/contributors","subscribers_url":"https://api.github.com/repos/googleapis/toolkit/subscribers","subscription_url":"https://api.github.com/repos/googleapis/toolkit/subscription","commits_url":"https://api.github.com/repos/googleapis/toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/googleapis/toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/googleapis/toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/googleapis/toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/googleapis/toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/googleapis/toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googleapis/toolkit/merges","archive_url":"https://api.github.com/repos/googleapis/toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googleapis/toolkit/downloads","issues_url":"https://api.github.com/repos/googleapis/toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/googleapis/toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/googleapis/toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/googleapis/toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googleapis/toolkit/labels{/name}","releases_url":"https://api.github.com/repos/googleapis/toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/googleapis/toolkit/deployments","created_at":"2016-04-18T18:58:04Z","updated_at":"2016-08-08T23:29:39Z","pushed_at":"2016-09-01T16:35:22Z","git_url":"git://github.com/googleapis/toolkit.git","ssh_url":"git@github.com:googleapis/toolkit.git","clone_url":"https://github.com/googleapis/toolkit.git","svn_url":"https://github.com/googleapis/toolkit","homepage":null,"size":9525,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":73,"forks":19,"open_issues":73,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/445"},"html":{"href":"https://github.com/googleapis/toolkit/pull/445"},"issue":{"href":"https://api.github.com/repos/googleapis/toolkit/issues/445"},"comments":{"href":"https://api.github.com/repos/googleapis/toolkit/issues/445/comments"},"review_comments":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/445/comments"},"review_comment":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/445/commits"},"statuses":{"href":"https://api.github.com/repos/googleapis/toolkit/statuses/254a0b25ea235c20e7265f4ca5e2ee1abd10b260"}}}}
{"actor":{"display_login":"vchudnov-g"}}