{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9459","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9459/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9459/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9459/events","html_url":"https://github.com/ManageIQ/manageiq/pull/9459","id":162488780,"number":9459,"title":"Host aggregate model code","user":{"login":"sseago","id":1120000,"avatar_url":"https://avatars.githubusercontent.com/u/1120000?v=3","gravatar_id":"","url":"https://api.github.com/users/sseago","html_url":"https://github.com/sseago","followers_url":"https://api.github.com/users/sseago/followers","following_url":"https://api.github.com/users/sseago/following{/other_user}","gists_url":"https://api.github.com/users/sseago/gists{/gist_id}","starred_url":"https://api.github.com/users/sseago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sseago/subscriptions","organizations_url":"https://api.github.com/users/sseago/orgs","repos_url":"https://api.github.com/users/sseago/repos","events_url":"https://api.github.com/users/sseago/events{/privacy}","received_events_url":"https://api.github.com/users/sseago/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/providers/openstack/cloud","name":"providers/openstack/cloud","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/sql%20migration","name":"sql migration","color":"6A92BC"}],"state":"open","locked":false,"assignee":{"login":"tzumainn","id":1280178,"avatar_url":"https://avatars.githubusercontent.com/u/1280178?v=3","gravatar_id":"","url":"https://api.github.com/users/tzumainn","html_url":"https://github.com/tzumainn","followers_url":"https://api.github.com/users/tzumainn/followers","following_url":"https://api.github.com/users/tzumainn/following{/other_user}","gists_url":"https://api.github.com/users/tzumainn/gists{/gist_id}","starred_url":"https://api.github.com/users/tzumainn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzumainn/subscriptions","organizations_url":"https://api.github.com/users/tzumainn/orgs","repos_url":"https://api.github.com/users/tzumainn/repos","events_url":"https://api.github.com/users/tzumainn/events{/privacy}","received_events_url":"https://api.github.com/users/tzumainn/received_events","type":"User","site_admin":false},"assignees":[{"login":"tzumainn","id":1280178,"avatar_url":"https://avatars.githubusercontent.com/u/1280178?v=3","gravatar_id":"","url":"https://api.github.com/users/tzumainn","html_url":"https://github.com/tzumainn","followers_url":"https://api.github.com/users/tzumainn/followers","following_url":"https://api.github.com/users/tzumainn/following{/other_user}","gists_url":"https://api.github.com/users/tzumainn/gists{/gist_id}","starred_url":"https://api.github.com/users/tzumainn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzumainn/subscriptions","organizations_url":"https://api.github.com/users/tzumainn/orgs","repos_url":"https://api.github.com/users/tzumainn/repos","events_url":"https://api.github.com/users/tzumainn/events{/privacy}","received_events_url":"https://api.github.com/users/tzumainn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2016-06-27T16:05:42Z","updated_at":"2016-08-11T17:17:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/9459","html_url":"https://github.com/ManageIQ/manageiq/pull/9459","diff_url":"https://github.com/ManageIQ/manageiq/pull/9459.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/9459.patch"},"body":"This includes the basic model code for Host Aggregates.\r\nBasic tests are included, and exposing methods for automation.\r\n\r\nNot yet included: ui, controller code, refresh code, or anything\r\nlinking to OpenStack via fog.\r\n\r\nAlso, there's nothing done with rollups or other metrics. I'm not\r\nsure what's needed here and whether I'll need to add the vms association\r\nto make any of that happen.\r\n\r\nAlso note that there are some associations commented out in the HostAggregate\r\nmodel. I wanted to make sure there was no need for any of them (taken\r\nfrom availability zone as my initial model for this) before nuking them\r\nfor good. In particular, the vms and events stuff may actually be needed,\r\nin which case I'd need to rework the model and migrations to include it"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/239228090","html_url":"https://github.com/ManageIQ/manageiq/pull/9459#issuecomment-239228090","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/9459","id":239228090,"user":{"login":"tzumainn","id":1280178,"avatar_url":"https://avatars.githubusercontent.com/u/1280178?v=3","gravatar_id":"","url":"https://api.github.com/users/tzumainn","html_url":"https://github.com/tzumainn","followers_url":"https://api.github.com/users/tzumainn/followers","following_url":"https://api.github.com/users/tzumainn/following{/other_user}","gists_url":"https://api.github.com/users/tzumainn/gists{/gist_id}","starred_url":"https://api.github.com/users/tzumainn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzumainn/subscriptions","organizations_url":"https://api.github.com/users/tzumainn/orgs","repos_url":"https://api.github.com/users/tzumainn/repos","events_url":"https://api.github.com/users/tzumainn/events{/privacy}","received_events_url":"https://api.github.com/users/tzumainn/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T17:17:04Z","updated_at":"2016-08-11T17:17:04Z","body":":+1: The modeling and refresh code looks solid to me; unsure about the metrics rollup"}}
{"actor":{"display_login":"tzumainn"}}