{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/109179881","pull_request_review_id":30268396,"id":109179881,"diff_hunk":"@@ -1,14 +1,20 @@\n module EmsRefresh::SaveInventory\n   def save_ems_inventory(ems, hashes, target = nil)\n+    log_header = \"EMS: [#{ems.name}], id: [#{ems.id}]\"\n+\n     if hashes.kind_of?(Array)\n+      _log.debug \"#{log_header} Saving inventory using ManagerRefresh having received an object of array kind.\"","path":"app/models/ems_refresh/save_inventory.rb","position":6,"original_position":6,"commit_id":"c7b6bacc5f0252b11fb4390b122c12d15733d5fd","original_commit_id":"c7b6bacc5f0252b11fb4390b122c12d15733d5fd","user":{"login":"israel-hdez","id":23639005,"avatar_url":"https://avatars0.githubusercontent.com/u/23639005?v=3","gravatar_id":"","url":"https://api.github.com/users/israel-hdez","html_url":"https://github.com/israel-hdez","followers_url":"https://api.github.com/users/israel-hdez/followers","following_url":"https://api.github.com/users/israel-hdez/following{/other_user}","gists_url":"https://api.github.com/users/israel-hdez/gists{/gist_id}","starred_url":"https://api.github.com/users/israel-hdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/israel-hdez/subscriptions","organizations_url":"https://api.github.com/users/israel-hdez/orgs","repos_url":"https://api.github.com/users/israel-hdez/repos","events_url":"https://api.github.com/users/israel-hdez/events{/privacy}","received_events_url":"https://api.github.com/users/israel-hdez/received_events","type":"User","site_admin":false},"body":"Removing them!","created_at":"2017-03-31T15:00:50Z","updated_at":"2017-03-31T15:00:50Z","html_url":"https://github.com/ManageIQ/manageiq/pull/14523#discussion_r109179881","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/14523","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/109179881"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/14523#discussion_r109179881"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/14523"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/14523","id":112771009,"html_url":"https://github.com/ManageIQ/manageiq/pull/14523","diff_url":"https://github.com/ManageIQ/manageiq/pull/14523.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/14523.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14523","number":14523,"state":"open","locked":false,"title":"Modify Hawkular provider to use targeted inventory refresh","user":{"login":"israel-hdez","id":23639005,"avatar_url":"https://avatars0.githubusercontent.com/u/23639005?v=3","gravatar_id":"","url":"https://api.github.com/users/israel-hdez","html_url":"https://github.com/israel-hdez","followers_url":"https://api.github.com/users/israel-hdez/followers","following_url":"https://api.github.com/users/israel-hdez/following{/other_user}","gists_url":"https://api.github.com/users/israel-hdez/gists{/gist_id}","starred_url":"https://api.github.com/users/israel-hdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/israel-hdez/subscriptions","organizations_url":"https://api.github.com/users/israel-hdez/orgs","repos_url":"https://api.github.com/users/israel-hdez/repos","events_url":"https://api.github.com/users/israel-hdez/events{/privacy}","received_events_url":"https://api.github.com/users/israel-hdez/received_events","type":"User","site_admin":false},"body":"Hawkular provider was using its custom methods and processes to save Hawkular inventory. These changes will now use targeted ivnentory.\r\n\r\n\r\n","created_at":"2017-03-27T15:22:18Z","updated_at":"2017-03-31T15:00:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bac11e464cfc1cba070ce006770c10d99db57d3","assignee":{"login":"cfcosta","id":14752,"avatar_url":"https://avatars1.githubusercontent.com/u/14752?v=3","gravatar_id":"","url":"https://api.github.com/users/cfcosta","html_url":"https://github.com/cfcosta","followers_url":"https://api.github.com/users/cfcosta/followers","following_url":"https://api.github.com/users/cfcosta/following{/other_user}","gists_url":"https://api.github.com/users/cfcosta/gists{/gist_id}","starred_url":"https://api.github.com/users/cfcosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfcosta/subscriptions","organizations_url":"https://api.github.com/users/cfcosta/orgs","repos_url":"https://api.github.com/users/cfcosta/repos","events_url":"https://api.github.com/users/cfcosta/events{/privacy}","received_events_url":"https://api.github.com/users/cfcosta/received_events","type":"User","site_admin":false},"assignees":[{"login":"cfcosta","id":14752,"avatar_url":"https://avatars1.githubusercontent.com/u/14752?v=3","gravatar_id":"","url":"https://api.github.com/users/cfcosta","html_url":"https://github.com/cfcosta","followers_url":"https://api.github.com/users/cfcosta/followers","following_url":"https://api.github.com/users/cfcosta/following{/other_user}","gists_url":"https://api.github.com/users/cfcosta/gists{/gist_id}","starred_url":"https://api.github.com/users/cfcosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfcosta/subscriptions","organizations_url":"https://api.github.com/users/cfcosta/orgs","repos_url":"https://api.github.com/users/cfcosta/repos","events_url":"https://api.github.com/users/cfcosta/events{/privacy}","received_events_url":"https://api.github.com/users/cfcosta/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/14523/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/14523/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14523/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/c7b6bacc5f0252b11fb4390b122c12d15733d5fd","head":{"label":"israel-hdez:middleware_use_common_inventory_refresh","ref":"middleware_use_common_inventory_refresh","sha":"c7b6bacc5f0252b11fb4390b122c12d15733d5fd","user":{"login":"israel-hdez","id":23639005,"avatar_url":"https://avatars0.githubusercontent.com/u/23639005?v=3","gravatar_id":"","url":"https://api.github.com/users/israel-hdez","html_url":"https://github.com/israel-hdez","followers_url":"https://api.github.com/users/israel-hdez/followers","following_url":"https://api.github.com/users/israel-hdez/following{/other_user}","gists_url":"https://api.github.com/users/israel-hdez/gists{/gist_id}","starred_url":"https://api.github.com/users/israel-hdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/israel-hdez/subscriptions","organizations_url":"https://api.github.com/users/israel-hdez/orgs","repos_url":"https://api.github.com/users/israel-hdez/repos","events_url":"https://api.github.com/users/israel-hdez/events{/privacy}","received_events_url":"https://api.github.com/users/israel-hdez/received_events","type":"User","site_admin":false},"repo":{"id":74387520,"name":"manageiq","full_name":"israel-hdez/manageiq","owner":{"login":"israel-hdez","id":23639005,"avatar_url":"https://avatars0.githubusercontent.com/u/23639005?v=3","gravatar_id":"","url":"https://api.github.com/users/israel-hdez","html_url":"https://github.com/israel-hdez","followers_url":"https://api.github.com/users/israel-hdez/followers","following_url":"https://api.github.com/users/israel-hdez/following{/other_user}","gists_url":"https://api.github.com/users/israel-hdez/gists{/gist_id}","starred_url":"https://api.github.com/users/israel-hdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/israel-hdez/subscriptions","organizations_url":"https://api.github.com/users/israel-hdez/orgs","repos_url":"https://api.github.com/users/israel-hdez/repos","events_url":"https://api.github.com/users/israel-hdez/events{/privacy}","received_events_url":"https://api.github.com/users/israel-hdez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/israel-hdez/manageiq","description":"ManageIQ Open-Source Management Platform","fork":true,"url":"https://api.github.com/repos/israel-hdez/manageiq","forks_url":"https://api.github.com/repos/israel-hdez/manageiq/forks","keys_url":"https://api.github.com/repos/israel-hdez/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/israel-hdez/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/israel-hdez/manageiq/teams","hooks_url":"https://api.github.com/repos/israel-hdez/manageiq/hooks","issue_events_url":"https://api.github.com/repos/israel-hdez/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/israel-hdez/manageiq/events","assignees_url":"https://api.github.com/repos/israel-hdez/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/israel-hdez/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/israel-hdez/manageiq/tags","blobs_url":"https://api.github.com/repos/israel-hdez/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/israel-hdez/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/israel-hdez/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/israel-hdez/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/israel-hdez/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/israel-hdez/manageiq/languages","stargazers_url":"https://api.github.com/repos/israel-hdez/manageiq/stargazers","contributors_url":"https://api.github.com/repos/israel-hdez/manageiq/contributors","subscribers_url":"https://api.github.com/repos/israel-hdez/manageiq/subscribers","subscription_url":"https://api.github.com/repos/israel-hdez/manageiq/subscription","commits_url":"https://api.github.com/repos/israel-hdez/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/israel-hdez/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/israel-hdez/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/israel-hdez/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/israel-hdez/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/israel-hdez/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/israel-hdez/manageiq/merges","archive_url":"https://api.github.com/repos/israel-hdez/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/israel-hdez/manageiq/downloads","issues_url":"https://api.github.com/repos/israel-hdez/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/israel-hdez/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/israel-hdez/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/israel-hdez/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/israel-hdez/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/israel-hdez/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/israel-hdez/manageiq/deployments","created_at":"2016-11-21T17:21:12Z","updated_at":"2016-11-21T17:21:29Z","pushed_at":"2017-03-30T20:34:51Z","git_url":"git://github.com/israel-hdez/manageiq.git","ssh_url":"git@github.com:israel-hdez/manageiq.git","clone_url":"https://github.com/israel-hdez/manageiq.git","svn_url":"https://github.com/israel-hdez/manageiq","homepage":"manageiq.org","size":181813,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"5e9e1c74b65003560351a1b1ab28513da8c2941c","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars3.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://avatars3.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":"2017-03-29T14:16:31Z","pushed_at":"2017-03-31T14:28:42Z","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":191227,"stargazers_count":426,"watchers_count":426,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":452,"mirror_url":null,"open_issues_count":881,"forks":452,"open_issues":881,"watchers":426,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/14523"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/14523"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/14523"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/14523/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/14523/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/14523/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/c7b6bacc5f0252b11fb4390b122c12d15733d5fd"}}}}
{"actor":{"display_login":"israel-hdez"}}