{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/68002777","id":68002777,"diff_hunk":"@@ -1,3 +1,5 @@\n+require 'hawkular/hawkular_client_utils'","path":"app/models/manageiq/providers/hawkular/middleware_manager.rb","position":1,"original_position":1,"commit_id":"2b529444f2545db9338ffc82b7a8f6009aaf4d83","original_commit_id":"2b529444f2545db9338ffc82b7a8f6009aaf4d83","user":{"login":"durandom","id":161888,"avatar_url":"https://avatars.githubusercontent.com/u/161888?v=3","gravatar_id":"","url":"https://api.github.com/users/durandom","html_url":"https://github.com/durandom","followers_url":"https://api.github.com/users/durandom/followers","following_url":"https://api.github.com/users/durandom/following{/other_user}","gists_url":"https://api.github.com/users/durandom/gists{/gist_id}","starred_url":"https://api.github.com/users/durandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durandom/subscriptions","organizations_url":"https://api.github.com/users/durandom/orgs","repos_url":"https://api.github.com/users/durandom/repos","events_url":"https://api.github.com/users/durandom/events{/privacy}","received_events_url":"https://api.github.com/users/durandom/received_events","type":"User","site_admin":false},"body":"why do you require this? I dont see any new methods that could from from there in the patch for this file.","created_at":"2016-06-22T07:00:51Z","updated_at":"2016-06-22T07:00:51Z","html_url":"https://github.com/ManageIQ/manageiq/pull/9296#discussion_r68002777","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/9296","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/68002777"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/9296#discussion_r68002777"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/9296"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/9296","id":74468543,"html_url":"https://github.com/ManageIQ/manageiq/pull/9296","diff_url":"https://github.com/ManageIQ/manageiq/pull/9296.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/9296.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9296","number":9296,"state":"open","locked":false,"title":"[WIP] Linking of Middleware with VMs","user":{"login":"jpkrohling","id":13387,"avatar_url":"https://avatars.githubusercontent.com/u/13387?v=3","gravatar_id":"","url":"https://api.github.com/users/jpkrohling","html_url":"https://github.com/jpkrohling","followers_url":"https://api.github.com/users/jpkrohling/followers","following_url":"https://api.github.com/users/jpkrohling/following{/other_user}","gists_url":"https://api.github.com/users/jpkrohling/gists{/gist_id}","starred_url":"https://api.github.com/users/jpkrohling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpkrohling/subscriptions","organizations_url":"https://api.github.com/users/jpkrohling/orgs","repos_url":"https://api.github.com/users/jpkrohling/repos","events_url":"https://api.github.com/users/jpkrohling/events{/privacy}","received_events_url":"https://api.github.com/users/jpkrohling/received_events","type":"User","site_admin":false},"body":"Purpose or Intent\r\n-----------------\r\nThis PR introduces the `lives_on` to Middleware. Hawkular exposes the `/etc/machine-id` on its `feeds` and we use this value to lookup for an existing managed VM on other providers. If a VM with a matching Machine ID is found, `lives_on` is populated with data from this VM. \r\n\r\nThis allows for a later UI navigation between Cloud <-> Hypervisor <-> VM <-> Middleware.\r\n\r\nSteps for Testing/QA\r\n--------------------\r\nSet RHEV-M with one Hypervisor and one VM\r\nAdd this RHEV-M to MiQ\r\nInstall Hawkular Services into the VM\r\nAdd this Hawkular instance to MiQ\r\nCheck that the `lives_on` for the Hawkular record is populated with data from the VM on the Hypervisor ","created_at":"2016-06-20T16:03:20Z","updated_at":"2016-06-22T07:00:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1dbdbb727fb14a3fa4a7460e1c709301fe37ad7e","assignee":{"login":"blomquisg","id":14183,"avatar_url":"https://avatars.githubusercontent.com/u/14183?v=3","gravatar_id":"","url":"https://api.github.com/users/blomquisg","html_url":"https://github.com/blomquisg","followers_url":"https://api.github.com/users/blomquisg/followers","following_url":"https://api.github.com/users/blomquisg/following{/other_user}","gists_url":"https://api.github.com/users/blomquisg/gists{/gist_id}","starred_url":"https://api.github.com/users/blomquisg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blomquisg/subscriptions","organizations_url":"https://api.github.com/users/blomquisg/orgs","repos_url":"https://api.github.com/users/blomquisg/repos","events_url":"https://api.github.com/users/blomquisg/events{/privacy}","received_events_url":"https://api.github.com/users/blomquisg/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/9296/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/9296/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9296/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/2b529444f2545db9338ffc82b7a8f6009aaf4d83","head":{"label":"jpkrohling:JPK-MachineID","ref":"JPK-MachineID","sha":"2b529444f2545db9338ffc82b7a8f6009aaf4d83","user":{"login":"jpkrohling","id":13387,"avatar_url":"https://avatars.githubusercontent.com/u/13387?v=3","gravatar_id":"","url":"https://api.github.com/users/jpkrohling","html_url":"https://github.com/jpkrohling","followers_url":"https://api.github.com/users/jpkrohling/followers","following_url":"https://api.github.com/users/jpkrohling/following{/other_user}","gists_url":"https://api.github.com/users/jpkrohling/gists{/gist_id}","starred_url":"https://api.github.com/users/jpkrohling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpkrohling/subscriptions","organizations_url":"https://api.github.com/users/jpkrohling/orgs","repos_url":"https://api.github.com/users/jpkrohling/repos","events_url":"https://api.github.com/users/jpkrohling/events{/privacy}","received_events_url":"https://api.github.com/users/jpkrohling/received_events","type":"User","site_admin":false},"repo":{"id":51355201,"name":"manageiq","full_name":"jpkrohling/manageiq","owner":{"login":"jpkrohling","id":13387,"avatar_url":"https://avatars.githubusercontent.com/u/13387?v=3","gravatar_id":"","url":"https://api.github.com/users/jpkrohling","html_url":"https://github.com/jpkrohling","followers_url":"https://api.github.com/users/jpkrohling/followers","following_url":"https://api.github.com/users/jpkrohling/following{/other_user}","gists_url":"https://api.github.com/users/jpkrohling/gists{/gist_id}","starred_url":"https://api.github.com/users/jpkrohling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpkrohling/subscriptions","organizations_url":"https://api.github.com/users/jpkrohling/orgs","repos_url":"https://api.github.com/users/jpkrohling/repos","events_url":"https://api.github.com/users/jpkrohling/events{/privacy}","received_events_url":"https://api.github.com/users/jpkrohling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpkrohling/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/jpkrohling/manageiq","forks_url":"https://api.github.com/repos/jpkrohling/manageiq/forks","keys_url":"https://api.github.com/repos/jpkrohling/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpkrohling/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpkrohling/manageiq/teams","hooks_url":"https://api.github.com/repos/jpkrohling/manageiq/hooks","issue_events_url":"https://api.github.com/repos/jpkrohling/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/jpkrohling/manageiq/events","assignees_url":"https://api.github.com/repos/jpkrohling/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/jpkrohling/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/jpkrohling/manageiq/tags","blobs_url":"https://api.github.com/repos/jpkrohling/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpkrohling/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpkrohling/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpkrohling/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpkrohling/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/jpkrohling/manageiq/languages","stargazers_url":"https://api.github.com/repos/jpkrohling/manageiq/stargazers","contributors_url":"https://api.github.com/repos/jpkrohling/manageiq/contributors","subscribers_url":"https://api.github.com/repos/jpkrohling/manageiq/subscribers","subscription_url":"https://api.github.com/repos/jpkrohling/manageiq/subscription","commits_url":"https://api.github.com/repos/jpkrohling/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpkrohling/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpkrohling/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpkrohling/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpkrohling/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/jpkrohling/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpkrohling/manageiq/merges","archive_url":"https://api.github.com/repos/jpkrohling/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpkrohling/manageiq/downloads","issues_url":"https://api.github.com/repos/jpkrohling/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/jpkrohling/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/jpkrohling/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/jpkrohling/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpkrohling/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/jpkrohling/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/jpkrohling/manageiq/deployments","created_at":"2016-02-09T08:37:57Z","updated_at":"2016-02-09T08:38:14Z","pushed_at":"2016-06-22T06:44:40Z","git_url":"git://github.com/jpkrohling/manageiq.git","ssh_url":"git@github.com:jpkrohling/manageiq.git","clone_url":"https://github.com/jpkrohling/manageiq.git","svn_url":"https://github.com/jpkrohling/manageiq","homepage":"manageiq.org","size":130773,"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":"ad1033372356725b93aa533e3b1bd1ccead32b74","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}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2016-06-22T04:30:29Z","pushed_at":"2016-06-22T06:47:50Z","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":171955,"stargazers_count":285,"watchers_count":285,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":311,"mirror_url":null,"open_issues_count":696,"forks":311,"open_issues":696,"watchers":285,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/9296"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/9296"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/9296"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/9296/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/9296/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/9296/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/2b529444f2545db9338ffc82b7a8f6009aaf4d83"}}}}
{"actor":{"display_login":"durandom"}}