{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7816","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7816/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7816/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7816/events","html_url":"https://github.com/ManageIQ/manageiq/pull/7816","id":146891609,"number":7816,"title":"Ovirt targeted refresh","user":{"login":"pkliczewski","id":1384786,"avatar_url":"https://avatars.githubusercontent.com/u/1384786?v=3","gravatar_id":"","url":"https://api.github.com/users/pkliczewski","html_url":"https://github.com/pkliczewski","followers_url":"https://api.github.com/users/pkliczewski/followers","following_url":"https://api.github.com/users/pkliczewski/following{/other_user}","gists_url":"https://api.github.com/users/pkliczewski/gists{/gist_id}","starred_url":"https://api.github.com/users/pkliczewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkliczewski/subscriptions","organizations_url":"https://api.github.com/users/pkliczewski/orgs","repos_url":"https://api.github.com/users/pkliczewski/repos","events_url":"https://api.github.com/users/pkliczewski/events{/privacy}","received_events_url":"https://api.github.com/users/pkliczewski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/gem%20changes","name":"gem changes","color":"6A92BC"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-08T10:49:32Z","updated_at":"2016-04-15T18:02:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/7816","html_url":"https://github.com/ManageIQ/manageiq/pull/7816","diff_url":"https://github.com/ManageIQ/manageiq/pull/7816.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/7816.patch"},"body":"Instead of calling full refresh every time we want to target specific objects when performing refresh of ovirt inventory. This change is dependent on [1]. During refresh we call filter_data and trim set of methods which are used to call ovirt. There are 3 levels of targets:\r\n1. ExtManagementSystem - we use old code to perform full refresh\r\n2. Host - we target specific host without refreshing any other items\r\n3. VmOrTemplate - we target specific vm and we fetch required dependencies such as cluster and data center.\r\n\r\nThis pull request is waiting on [2] so we could remove duplicates from the code. For now let's progress with the review of the changes.\r\n\r\n\r\n[1] https://github.com/ManageIQ/ovirt/pull/50\r\n[2] https://github.com/ManageIQ/manageiq/pull/7487"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/210566598","html_url":"https://github.com/ManageIQ/manageiq/pull/7816#issuecomment-210566598","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7816","id":210566598,"user":{"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},"created_at":"2016-04-15T18:02:10Z","updated_at":"2016-04-15T18:02:10Z","body":":+1: just waiting on https://github.com/ManageIQ/ovirt/pull/50 to be released in the ovirt gem.\r\n\r\n/cc @bdunne, @Fryguy "}}