{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11271","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11271/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11271/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11271/events","html_url":"https://github.com/ManageIQ/manageiq/pull/11271","id":177149849,"number":11271,"title":"Convert belongsto_tree to use TreeBuilder","user":{"login":"ZitaNemeckova","id":9210860,"avatar_url":"https://avatars.githubusercontent.com/u/9210860?v=3","gravatar_id":"","url":"https://api.github.com/users/ZitaNemeckova","html_url":"https://github.com/ZitaNemeckova","followers_url":"https://api.github.com/users/ZitaNemeckova/followers","following_url":"https://api.github.com/users/ZitaNemeckova/following{/other_user}","gists_url":"https://api.github.com/users/ZitaNemeckova/gists{/gist_id}","starred_url":"https://api.github.com/users/ZitaNemeckova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZitaNemeckova/subscriptions","organizations_url":"https://api.github.com/users/ZitaNemeckova/orgs","repos_url":"https://api.github.com/users/ZitaNemeckova/repos","events_url":"https://api.github.com/users/ZitaNemeckova/events{/privacy}","received_events_url":"https://api.github.com/users/ZitaNemeckova/received_events","type":"User","site_admin":false},"labels":[{"id":115013911,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/technical%20debt","name":"technical debt","color":"eb6420","default":false},{"id":182909575,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/ui","name":"ui","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"martinpovolny","id":51095,"avatar_url":"https://avatars.githubusercontent.com/u/51095?v=3","gravatar_id":"","url":"https://api.github.com/users/martinpovolny","html_url":"https://github.com/martinpovolny","followers_url":"https://api.github.com/users/martinpovolny/followers","following_url":"https://api.github.com/users/martinpovolny/following{/other_user}","gists_url":"https://api.github.com/users/martinpovolny/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpovolny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpovolny/subscriptions","organizations_url":"https://api.github.com/users/martinpovolny/orgs","repos_url":"https://api.github.com/users/martinpovolny/repos","events_url":"https://api.github.com/users/martinpovolny/events{/privacy}","received_events_url":"https://api.github.com/users/martinpovolny/received_events","type":"User","site_admin":false},"assignees":[{"login":"martinpovolny","id":51095,"avatar_url":"https://avatars.githubusercontent.com/u/51095?v=3","gravatar_id":"","url":"https://api.github.com/users/martinpovolny","html_url":"https://github.com/martinpovolny","followers_url":"https://api.github.com/users/martinpovolny/followers","following_url":"https://api.github.com/users/martinpovolny/following{/other_user}","gists_url":"https://api.github.com/users/martinpovolny/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpovolny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpovolny/subscriptions","organizations_url":"https://api.github.com/users/martinpovolny/orgs","repos_url":"https://api.github.com/users/martinpovolny/repos","events_url":"https://api.github.com/users/martinpovolny/events{/privacy}","received_events_url":"https://api.github.com/users/martinpovolny/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-09-15T11:14:44Z","updated_at":"2016-12-09T13:52:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11271","html_url":"https://github.com/ManageIQ/manageiq/pull/11271","diff_url":"https://github.com/ManageIQ/manageiq/pull/11271.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/11271.patch"},"body":"Convert `belongsto_tree` to use TreeBuilder.\r\n\r\nRead only:\r\nConfiguration -> Access Control -> Choose a group -> Hosts/Nodes & Clusters/ Deployment Roles\r\nConfiguration -> Access Control -> Choose a group -> VMs & Templates \r\nEdit:\r\nConfiguration -> Access Control -> Choose a group -> Configuration -> Edit this Group\r\n\r\nBefore/After: Should be same\r\n\r\n@miq-bot add_label technical debt, ui, wip\r\n\r\nTODO:\r\n- [x] Save/ Reset\r\n- [x] Selected\r\n- [x] Edit/ Read only\r\n- [x] tree in `alert_profiles`\r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/266018455","html_url":"https://github.com/ManageIQ/manageiq/pull/11271#issuecomment-266018455","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11271","id":266018455,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars.githubusercontent.com/u/7806257?v=3","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T13:52:18Z","updated_at":"2016-12-09T13:52:18Z","body":"<rubocop />Checked commits https://github.com/ZitaNemeckova/manageiq/compare/285904981685d26629a5cda39ec934a70c1e80bc~...b89e3ba2c7e5b7369e73fceadcdb334865fd3bf7 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1\n16 files checked, 2 offenses detected\n\n**app/presenters/tree_node_builder_belongs_to_vat.rb**\n- [ ] :grey_exclamation: - [Line 13](https://github.com/ZitaNemeckova/manageiq/blob/b89e3ba2c7e5b7369e73fceadcdb334865fd3bf7/app/presenters/tree_node_builder_belongs_to_vat.rb#L13), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for generic_node is too high. [21.47/20]\n\n**spec/presenters/tree_builder_belongs_to_hac_spec.rb**\n- [ ] :grey_exclamation: - [Line 84](https://github.com/ZitaNemeckova/manageiq/blob/b89e3ba2c7e5b7369e73fceadcdb334865fd3bf7/spec/presenters/tree_builder_belongs_to_hac_spec.rb#L84), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [140/120]\n"}}
{"actor":{"display_login":"miq-bot"}}