{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/comments/152721386","pull_request_review_id":78624834,"id":152721386,"diff_hunk":"@@ -22,6 +22,10 @@ class ManageIQ::Providers::Redhat::InfraManager < ManageIQ::Providers::InfraMana\n \n   supports :provisioning\n   supports :refresh_new_target\n+  supports :vm_import do","path":"app/models/manageiq/providers/redhat/infra_manager.rb","position":4,"original_position":4,"commit_id":"59a7ff925549a227d271d230096aadb75d7ce7ce","original_commit_id":"59a7ff925549a227d271d230096aadb75d7ce7ce","user":{"login":"borod108","id":3274731,"avatar_url":"https://avatars0.githubusercontent.com/u/3274731?v=4","gravatar_id":"","url":"https://api.github.com/users/borod108","html_url":"https://github.com/borod108","followers_url":"https://api.github.com/users/borod108/followers","following_url":"https://api.github.com/users/borod108/following{/other_user}","gists_url":"https://api.github.com/users/borod108/gists{/gist_id}","starred_url":"https://api.github.com/users/borod108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borod108/subscriptions","organizations_url":"https://api.github.com/users/borod108/orgs","repos_url":"https://api.github.com/users/borod108/repos","events_url":"https://api.github.com/users/borod108/events{/privacy}","received_events_url":"https://api.github.com/users/borod108/received_events","type":"User","site_admin":false},"body":"As far  as  I know the proper way to use the :supports method is with unsupported_reason_add, please see an example here:\r\nhttps://github.com/ManageIQ/manageiq-providers-ovirt/blob/master/app/models/manageiq/providers/redhat/infra_manager/vm/operations/snapshot.rb#L5","created_at":"2017-11-23T04:06:14Z","updated_at":"2017-11-23T04:06:20Z","html_url":"https://github.com/ManageIQ/manageiq-providers-ovirt/pull/154#discussion_r152721386","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/154","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/comments/152721386"},"html":{"href":"https://github.com/ManageIQ/manageiq-providers-ovirt/pull/154#discussion_r152721386"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/154"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/154","id":154238624,"html_url":"https://github.com/ManageIQ/manageiq-providers-ovirt/pull/154","diff_url":"https://github.com/ManageIQ/manageiq-providers-ovirt/pull/154.diff","patch_url":"https://github.com/ManageIQ/manageiq-providers-ovirt/pull/154.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/issues/154","number":154,"state":"open","locked":false,"title":"Use supports_vm_import? instead of validate_import_vm","user":{"login":"smelamud","id":1369041,"avatar_url":"https://avatars3.githubusercontent.com/u/1369041?v=4","gravatar_id":"","url":"https://api.github.com/users/smelamud","html_url":"https://github.com/smelamud","followers_url":"https://api.github.com/users/smelamud/followers","following_url":"https://api.github.com/users/smelamud/following{/other_user}","gists_url":"https://api.github.com/users/smelamud/gists{/gist_id}","starred_url":"https://api.github.com/users/smelamud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smelamud/subscriptions","organizations_url":"https://api.github.com/users/smelamud/orgs","repos_url":"https://api.github.com/users/smelamud/repos","events_url":"https://api.github.com/users/smelamud/events{/privacy}","received_events_url":"https://api.github.com/users/smelamud/received_events","type":"User","site_admin":false},"body":"Depends-on: https://github.com/ManageIQ/manageiq/pull/16526","created_at":"2017-11-22T19:30:27Z","updated_at":"2017-11-23T04:06:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ee9b95c33f067d08021790ef669ffec61a02c6f","assignee":{"login":"borod108","id":3274731,"avatar_url":"https://avatars0.githubusercontent.com/u/3274731?v=4","gravatar_id":"","url":"https://api.github.com/users/borod108","html_url":"https://github.com/borod108","followers_url":"https://api.github.com/users/borod108/followers","following_url":"https://api.github.com/users/borod108/following{/other_user}","gists_url":"https://api.github.com/users/borod108/gists{/gist_id}","starred_url":"https://api.github.com/users/borod108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borod108/subscriptions","organizations_url":"https://api.github.com/users/borod108/orgs","repos_url":"https://api.github.com/users/borod108/repos","events_url":"https://api.github.com/users/borod108/events{/privacy}","received_events_url":"https://api.github.com/users/borod108/received_events","type":"User","site_admin":false},"assignees":[{"login":"borod108","id":3274731,"avatar_url":"https://avatars0.githubusercontent.com/u/3274731?v=4","gravatar_id":"","url":"https://api.github.com/users/borod108","html_url":"https://github.com/borod108","followers_url":"https://api.github.com/users/borod108/followers","following_url":"https://api.github.com/users/borod108/following{/other_user}","gists_url":"https://api.github.com/users/borod108/gists{/gist_id}","starred_url":"https://api.github.com/users/borod108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borod108/subscriptions","organizations_url":"https://api.github.com/users/borod108/orgs","repos_url":"https://api.github.com/users/borod108/repos","events_url":"https://api.github.com/users/borod108/events{/privacy}","received_events_url":"https://api.github.com/users/borod108/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/154/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/154/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/issues/154/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/statuses/59a7ff925549a227d271d230096aadb75d7ce7ce","head":{"label":"smelamud:supports-vm-import","ref":"supports-vm-import","sha":"59a7ff925549a227d271d230096aadb75d7ce7ce","user":{"login":"smelamud","id":1369041,"avatar_url":"https://avatars3.githubusercontent.com/u/1369041?v=4","gravatar_id":"","url":"https://api.github.com/users/smelamud","html_url":"https://github.com/smelamud","followers_url":"https://api.github.com/users/smelamud/followers","following_url":"https://api.github.com/users/smelamud/following{/other_user}","gists_url":"https://api.github.com/users/smelamud/gists{/gist_id}","starred_url":"https://api.github.com/users/smelamud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smelamud/subscriptions","organizations_url":"https://api.github.com/users/smelamud/orgs","repos_url":"https://api.github.com/users/smelamud/repos","events_url":"https://api.github.com/users/smelamud/events{/privacy}","received_events_url":"https://api.github.com/users/smelamud/received_events","type":"User","site_admin":false},"repo":{"id":97475628,"name":"manageiq-providers-ovirt","full_name":"smelamud/manageiq-providers-ovirt","owner":{"login":"smelamud","id":1369041,"avatar_url":"https://avatars3.githubusercontent.com/u/1369041?v=4","gravatar_id":"","url":"https://api.github.com/users/smelamud","html_url":"https://github.com/smelamud","followers_url":"https://api.github.com/users/smelamud/followers","following_url":"https://api.github.com/users/smelamud/following{/other_user}","gists_url":"https://api.github.com/users/smelamud/gists{/gist_id}","starred_url":"https://api.github.com/users/smelamud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smelamud/subscriptions","organizations_url":"https://api.github.com/users/smelamud/orgs","repos_url":"https://api.github.com/users/smelamud/repos","events_url":"https://api.github.com/users/smelamud/events{/privacy}","received_events_url":"https://api.github.com/users/smelamud/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smelamud/manageiq-providers-ovirt","description":"ManageIQ plugin for the oVirt provider","fork":true,"url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt","forks_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/forks","keys_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/teams","hooks_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/hooks","issue_events_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/issues/events{/number}","events_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/events","assignees_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/assignees{/user}","branches_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/branches{/branch}","tags_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/tags","blobs_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/git/refs{/sha}","trees_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/statuses/{sha}","languages_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/languages","stargazers_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/stargazers","contributors_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/contributors","subscribers_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/subscribers","subscription_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/subscription","commits_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/commits{/sha}","git_commits_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/git/commits{/sha}","comments_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/comments{/number}","issue_comment_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/issues/comments{/number}","contents_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/contents/{+path}","compare_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/merges","archive_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/downloads","issues_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/issues{/number}","pulls_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/pulls{/number}","milestones_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/milestones{/number}","notifications_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/labels{/name}","releases_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/releases{/id}","deployments_url":"https://api.github.com/repos/smelamud/manageiq-providers-ovirt/deployments","created_at":"2017-07-17T12:50:09Z","updated_at":"2017-07-17T12:50:11Z","pushed_at":"2017-11-22T19:29:49Z","git_url":"git://github.com/smelamud/manageiq-providers-ovirt.git","ssh_url":"git@github.com:smelamud/manageiq-providers-ovirt.git","clone_url":"https://github.com/smelamud/manageiq-providers-ovirt.git","svn_url":"https://github.com/smelamud/manageiq-providers-ovirt","homepage":null,"size":1211,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"24bc7f7f6822adb8d88ef9b5b2fd701472b47fcb","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","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":87439236,"name":"manageiq-providers-ovirt","full_name":"ManageIQ/manageiq-providers-ovirt","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","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-providers-ovirt","description":"ManageIQ plugin for the oVirt provider","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt","forks_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/deployments","created_at":"2017-04-06T14:33:28Z","updated_at":"2017-04-06T21:16:57Z","pushed_at":"2017-11-22T19:30:28Z","git_url":"git://github.com/ManageIQ/manageiq-providers-ovirt.git","ssh_url":"git@github.com:ManageIQ/manageiq-providers-ovirt.git","clone_url":"https://github.com/ManageIQ/manageiq-providers-ovirt.git","svn_url":"https://github.com/ManageIQ/manageiq-providers-ovirt","homepage":null,"size":1219,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":19,"forks":29,"open_issues":19,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/154"},"html":{"href":"https://github.com/ManageIQ/manageiq-providers-ovirt/pull/154"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/issues/154"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq-providers-ovirt/statuses/59a7ff925549a227d271d230096aadb75d7ce7ce"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"borod108"}}