{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/44083374","id":44083374,"diff_hunk":"@@ -834,6 +837,8 @@ def get_form_vars\n     @edit[:new][:bearer_token] = params[:bearer_token] if params[:bearer_token]\n     @edit[:new][:bearer_verify] = params[:bearer_verify] if params[:bearer_verify]\n \n+    @edit[:new][:service_account] = params[:service_account] if params[:service_account]\n+","path":"app/controllers/ems_common.rb","position":15,"original_position":15,"commit_id":"3ef1608b087b60e2091a60d18b5fc1b030ea9213","original_commit_id":"3ef1608b087b60e2091a60d18b5fc1b030ea9213","user":{"login":"matthewd","id":1034,"avatar_url":"https://avatars.githubusercontent.com/u/1034?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewd","html_url":"https://github.com/matthewd","followers_url":"https://api.github.com/users/matthewd/followers","following_url":"https://api.github.com/users/matthewd/following{/other_user}","gists_url":"https://api.github.com/users/matthewd/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewd/subscriptions","organizations_url":"https://api.github.com/users/matthewd/orgs","repos_url":"https://api.github.com/users/matthewd/repos","events_url":"https://api.github.com/users/matthewd/events{/privacy}","received_events_url":"https://api.github.com/users/matthewd/received_events","type":"User","site_admin":false},"body":"@lwander http://guides.rubyonrails.org/active_record_migrations.html#creating-a-standalone-migration should get you started","created_at":"2015-11-05T23:06:41Z","updated_at":"2015-11-05T23:06:41Z","html_url":"https://github.com/ManageIQ/manageiq/pull/5208#discussion_r44083374","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5208","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/44083374"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/5208#discussion_r44083374"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5208"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5208","id":49310109,"html_url":"https://github.com/ManageIQ/manageiq/pull/5208","diff_url":"https://github.com/ManageIQ/manageiq/pull/5208.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/5208.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5208","number":5208,"state":"open","locked":false,"title":"Google Cloud Provider can be authenticated using service accounts.","user":{"login":"lwander","id":4874941,"avatar_url":"https://avatars.githubusercontent.com/u/4874941?v=3","gravatar_id":"","url":"https://api.github.com/users/lwander","html_url":"https://github.com/lwander","followers_url":"https://api.github.com/users/lwander/followers","following_url":"https://api.github.com/users/lwander/following{/other_user}","gists_url":"https://api.github.com/users/lwander/gists{/gist_id}","starred_url":"https://api.github.com/users/lwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwander/subscriptions","organizations_url":"https://api.github.com/users/lwander/orgs","repos_url":"https://api.github.com/users/lwander/repos","events_url":"https://api.github.com/users/lwander/events{/privacy}","received_events_url":"https://api.github.com/users/lwander/received_events","type":"User","site_admin":false},"body":"This is done using the fog-google gem. It introduces a new credentials\r\ntab accepting a service account definition as JSON. The text entry is shown below:\r\n![service-account](https://cloud.githubusercontent.com/assets/4874941/10855084/15a4709a-7f16-11e5-9772-ad2e339fc1f5.png)\r\n","created_at":"2015-10-30T19:06:12Z","updated_at":"2015-11-05T23:06:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf738545cdf46eea03320ef9c8f735b7a4db68fe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5208/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5208/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5208/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/3ef1608b087b60e2091a60d18b5fc1b030ea9213","head":{"label":"lwander:google_fog_auth","ref":"google_fog_auth","sha":"3ef1608b087b60e2091a60d18b5fc1b030ea9213","user":{"login":"lwander","id":4874941,"avatar_url":"https://avatars.githubusercontent.com/u/4874941?v=3","gravatar_id":"","url":"https://api.github.com/users/lwander","html_url":"https://github.com/lwander","followers_url":"https://api.github.com/users/lwander/followers","following_url":"https://api.github.com/users/lwander/following{/other_user}","gists_url":"https://api.github.com/users/lwander/gists{/gist_id}","starred_url":"https://api.github.com/users/lwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwander/subscriptions","organizations_url":"https://api.github.com/users/lwander/orgs","repos_url":"https://api.github.com/users/lwander/repos","events_url":"https://api.github.com/users/lwander/events{/privacy}","received_events_url":"https://api.github.com/users/lwander/received_events","type":"User","site_admin":false},"repo":{"id":42723404,"name":"manageiq","full_name":"lwander/manageiq","owner":{"login":"lwander","id":4874941,"avatar_url":"https://avatars.githubusercontent.com/u/4874941?v=3","gravatar_id":"","url":"https://api.github.com/users/lwander","html_url":"https://github.com/lwander","followers_url":"https://api.github.com/users/lwander/followers","following_url":"https://api.github.com/users/lwander/following{/other_user}","gists_url":"https://api.github.com/users/lwander/gists{/gist_id}","starred_url":"https://api.github.com/users/lwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwander/subscriptions","organizations_url":"https://api.github.com/users/lwander/orgs","repos_url":"https://api.github.com/users/lwander/repos","events_url":"https://api.github.com/users/lwander/events{/privacy}","received_events_url":"https://api.github.com/users/lwander/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lwander/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/lwander/manageiq","forks_url":"https://api.github.com/repos/lwander/manageiq/forks","keys_url":"https://api.github.com/repos/lwander/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lwander/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lwander/manageiq/teams","hooks_url":"https://api.github.com/repos/lwander/manageiq/hooks","issue_events_url":"https://api.github.com/repos/lwander/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/lwander/manageiq/events","assignees_url":"https://api.github.com/repos/lwander/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/lwander/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/lwander/manageiq/tags","blobs_url":"https://api.github.com/repos/lwander/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lwander/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lwander/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/lwander/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lwander/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/lwander/manageiq/languages","stargazers_url":"https://api.github.com/repos/lwander/manageiq/stargazers","contributors_url":"https://api.github.com/repos/lwander/manageiq/contributors","subscribers_url":"https://api.github.com/repos/lwander/manageiq/subscribers","subscription_url":"https://api.github.com/repos/lwander/manageiq/subscription","commits_url":"https://api.github.com/repos/lwander/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/lwander/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/lwander/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/lwander/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/lwander/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/lwander/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lwander/manageiq/merges","archive_url":"https://api.github.com/repos/lwander/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lwander/manageiq/downloads","issues_url":"https://api.github.com/repos/lwander/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/lwander/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/lwander/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/lwander/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lwander/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/lwander/manageiq/releases{/id}","created_at":"2015-09-18T13:18:45Z","updated_at":"2015-09-18T13:19:02Z","pushed_at":"2015-11-02T17:48:49Z","git_url":"git://github.com/lwander/manageiq.git","ssh_url":"git@github.com:lwander/manageiq.git","clone_url":"https://github.com/lwander/manageiq.git","svn_url":"https://github.com/lwander/manageiq","homepage":"manageiq.org","size":93455,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ManageIQ:master","ref":"master","sha":"72c6902689976c9aa25ffd662a02456a67a8fb48","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Cloud Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","created_at":"2014-06-13T02:31:26Z","updated_at":"2015-11-04T23:42:16Z","pushed_at":"2015-11-05T23:04:02Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":182014,"stargazers_count":166,"watchers_count":166,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":176,"mirror_url":null,"open_issues_count":433,"forks":176,"open_issues":433,"watchers":166,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5208"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/5208"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/5208"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/5208/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5208/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5208/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/3ef1608b087b60e2091a60d18b5fc1b030ea9213"}}}}