{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/88471873","pull_request_review_id":9044575,"id":88471873,"diff_hunk":"@@ -0,0 +1,107 @@\n+require Rails.root.join('db/fixtures/ae_datastore/ManageIQ/Cloud/Orchestration/Operations' \\\n+                        '/Methods.class/__methods__/available_resource_groups.rb').to_s\n+\n+describe ManageIQ::Automate::Cloud::Orchestration::Operations::AvailableResoureceGroups do\n+  let(:default_desc_blank) { \"<none>\" }\n+  let(:default_desc) { \"<select>\" }\n+  let(:ems) do\n+    @rgroup1 = FactoryGirl.create(:resource_group)","path":"spec/db/fixtures/ae_datastore/ManageIQ/Cloud/Orchestration/Operations/Methods.class/__methods__/available_resource_groups_spec.rb","position":8,"original_position":8,"commit_id":"fb842a24e8dc3406d817f399d745b5b8b60c75e6","original_commit_id":"fb842a24e8dc3406d817f399d745b5b8b60c75e6","user":{"login":"mkanoor","id":6452699,"avatar_url":"https://avatars.githubusercontent.com/u/6452699?v=3","gravatar_id":"","url":"https://api.github.com/users/mkanoor","html_url":"https://github.com/mkanoor","followers_url":"https://api.github.com/users/mkanoor/followers","following_url":"https://api.github.com/users/mkanoor/following{/other_user}","gists_url":"https://api.github.com/users/mkanoor/gists{/gist_id}","starred_url":"https://api.github.com/users/mkanoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkanoor/subscriptions","organizations_url":"https://api.github.com/users/mkanoor/orgs","repos_url":"https://api.github.com/users/mkanoor/repos","events_url":"https://api.github.com/users/mkanoor/events{/privacy}","received_events_url":"https://api.github.com/users/mkanoor/received_events","type":"User","site_admin":false},"body":"@pkomanek can we make this a let","created_at":"2016-11-17T15:13:36Z","updated_at":"2016-11-17T15:13:36Z","html_url":"https://github.com/ManageIQ/manageiq/pull/12212#discussion_r88471873","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/12212","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/88471873"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/12212#discussion_r88471873"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/12212"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/12212","id":91048052,"html_url":"https://github.com/ManageIQ/manageiq/pull/12212","diff_url":"https://github.com/ManageIQ/manageiq/pull/12212.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/12212.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/12212","number":12212,"state":"open","locked":false,"title":"Refactoring available_resource_groups method for miq_ae_orchestrations","user":{"login":"pkomanek","id":19405716,"avatar_url":"https://avatars.githubusercontent.com/u/19405716?v=3","gravatar_id":"","url":"https://api.github.com/users/pkomanek","html_url":"https://github.com/pkomanek","followers_url":"https://api.github.com/users/pkomanek/followers","following_url":"https://api.github.com/users/pkomanek/following{/other_user}","gists_url":"https://api.github.com/users/pkomanek/gists{/gist_id}","starred_url":"https://api.github.com/users/pkomanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkomanek/subscriptions","organizations_url":"https://api.github.com/users/pkomanek/orgs","repos_url":"https://api.github.com/users/pkomanek/repos","events_url":"https://api.github.com/users/pkomanek/events{/privacy}","received_events_url":"https://api.github.com/users/pkomanek/received_events","type":"User","site_admin":false},"body":"## Purpose or Intent\n\nRefactoring the available_resource_groups method for the miq_ae_orchestration based on the issue bellow.\n## Links [Optional]\n\nhttps://github.com/ManageIQ/manageiq/issues/12038\n","created_at":"2016-10-26T17:12:23Z","updated_at":"2016-11-17T15:13:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3138ade6c939939e475dc6cd89b75f666160a88c","assignee":{"login":"mkanoor","id":6452699,"avatar_url":"https://avatars.githubusercontent.com/u/6452699?v=3","gravatar_id":"","url":"https://api.github.com/users/mkanoor","html_url":"https://github.com/mkanoor","followers_url":"https://api.github.com/users/mkanoor/followers","following_url":"https://api.github.com/users/mkanoor/following{/other_user}","gists_url":"https://api.github.com/users/mkanoor/gists{/gist_id}","starred_url":"https://api.github.com/users/mkanoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkanoor/subscriptions","organizations_url":"https://api.github.com/users/mkanoor/orgs","repos_url":"https://api.github.com/users/mkanoor/repos","events_url":"https://api.github.com/users/mkanoor/events{/privacy}","received_events_url":"https://api.github.com/users/mkanoor/received_events","type":"User","site_admin":false},"assignees":[{"login":"mkanoor","id":6452699,"avatar_url":"https://avatars.githubusercontent.com/u/6452699?v=3","gravatar_id":"","url":"https://api.github.com/users/mkanoor","html_url":"https://github.com/mkanoor","followers_url":"https://api.github.com/users/mkanoor/followers","following_url":"https://api.github.com/users/mkanoor/following{/other_user}","gists_url":"https://api.github.com/users/mkanoor/gists{/gist_id}","starred_url":"https://api.github.com/users/mkanoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkanoor/subscriptions","organizations_url":"https://api.github.com/users/mkanoor/orgs","repos_url":"https://api.github.com/users/mkanoor/repos","events_url":"https://api.github.com/users/mkanoor/events{/privacy}","received_events_url":"https://api.github.com/users/mkanoor/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/12212/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/12212/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/12212/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/fb842a24e8dc3406d817f399d745b5b8b60c75e6","head":{"label":"pkomanek:refactoring_available_resource_groups","ref":"refactoring_available_resource_groups","sha":"fb842a24e8dc3406d817f399d745b5b8b60c75e6","user":{"login":"pkomanek","id":19405716,"avatar_url":"https://avatars.githubusercontent.com/u/19405716?v=3","gravatar_id":"","url":"https://api.github.com/users/pkomanek","html_url":"https://github.com/pkomanek","followers_url":"https://api.github.com/users/pkomanek/followers","following_url":"https://api.github.com/users/pkomanek/following{/other_user}","gists_url":"https://api.github.com/users/pkomanek/gists{/gist_id}","starred_url":"https://api.github.com/users/pkomanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkomanek/subscriptions","organizations_url":"https://api.github.com/users/pkomanek/orgs","repos_url":"https://api.github.com/users/pkomanek/repos","events_url":"https://api.github.com/users/pkomanek/events{/privacy}","received_events_url":"https://api.github.com/users/pkomanek/received_events","type":"User","site_admin":false},"repo":{"id":59008944,"name":"manageiq","full_name":"pkomanek/manageiq","owner":{"login":"pkomanek","id":19405716,"avatar_url":"https://avatars.githubusercontent.com/u/19405716?v=3","gravatar_id":"","url":"https://api.github.com/users/pkomanek","html_url":"https://github.com/pkomanek","followers_url":"https://api.github.com/users/pkomanek/followers","following_url":"https://api.github.com/users/pkomanek/following{/other_user}","gists_url":"https://api.github.com/users/pkomanek/gists{/gist_id}","starred_url":"https://api.github.com/users/pkomanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkomanek/subscriptions","organizations_url":"https://api.github.com/users/pkomanek/orgs","repos_url":"https://api.github.com/users/pkomanek/repos","events_url":"https://api.github.com/users/pkomanek/events{/privacy}","received_events_url":"https://api.github.com/users/pkomanek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pkomanek/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/pkomanek/manageiq","forks_url":"https://api.github.com/repos/pkomanek/manageiq/forks","keys_url":"https://api.github.com/repos/pkomanek/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pkomanek/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pkomanek/manageiq/teams","hooks_url":"https://api.github.com/repos/pkomanek/manageiq/hooks","issue_events_url":"https://api.github.com/repos/pkomanek/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/pkomanek/manageiq/events","assignees_url":"https://api.github.com/repos/pkomanek/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/pkomanek/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/pkomanek/manageiq/tags","blobs_url":"https://api.github.com/repos/pkomanek/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pkomanek/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pkomanek/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/pkomanek/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pkomanek/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/pkomanek/manageiq/languages","stargazers_url":"https://api.github.com/repos/pkomanek/manageiq/stargazers","contributors_url":"https://api.github.com/repos/pkomanek/manageiq/contributors","subscribers_url":"https://api.github.com/repos/pkomanek/manageiq/subscribers","subscription_url":"https://api.github.com/repos/pkomanek/manageiq/subscription","commits_url":"https://api.github.com/repos/pkomanek/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/pkomanek/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/pkomanek/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/pkomanek/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/pkomanek/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/pkomanek/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pkomanek/manageiq/merges","archive_url":"https://api.github.com/repos/pkomanek/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pkomanek/manageiq/downloads","issues_url":"https://api.github.com/repos/pkomanek/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/pkomanek/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/pkomanek/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/pkomanek/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pkomanek/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/pkomanek/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/pkomanek/manageiq/deployments","created_at":"2016-05-17T09:28:36Z","updated_at":"2016-05-17T09:28:57Z","pushed_at":"2016-11-17T15:08:35Z","git_url":"git://github.com/pkomanek/manageiq.git","ssh_url":"git@github.com:pkomanek/manageiq.git","clone_url":"https://github.com/pkomanek/manageiq.git","svn_url":"https://github.com/pkomanek/manageiq","homepage":"manageiq.org","size":170331,"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":"bb6562609a4233d6fa5d8d3b374f9bd0fa2a4500","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 Open-Source 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}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2016-11-17T01:31:00Z","pushed_at":"2016-11-17T15:08:36Z","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":224546,"stargazers_count":352,"watchers_count":352,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":380,"mirror_url":null,"open_issues_count":925,"forks":380,"open_issues":925,"watchers":352,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/12212"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/12212"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/12212"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/12212/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/12212/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/12212/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/fb842a24e8dc3406d817f399d745b5b8b60c75e6"}}}}
{"actor":{"display_login":"mkanoor"}}