{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2075","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2075/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2075/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2075/events","html_url":"https://github.com/ManageIQ/manageiq/pull/2075","id":60483020,"number":2075,"title":"[WIP] Use TreeBuilder for Infra and Cloud.","user":{"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},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/ui","name":"ui","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/WIP","name":"WIP","color":"eeeeee"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-10T11:07:08Z","updated_at":"2015-05-15T06:53:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2075","html_url":"https://github.com/ManageIQ/manageiq/pull/2075","diff_url":"https://github.com/ManageIQ/manageiq/pull/2075.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/2075.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/102289816","html_url":"https://github.com/ManageIQ/manageiq/pull/2075#issuecomment-102289816","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2075","id":102289816,"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":"2015-05-15T06:53:39Z","updated_at":"2015-05-15T06:53:39Z","body":"<rubocop />Checked commits https://github.com/martinpovolny/manageiq/commit/8a4bf49d052413a0d096ce47cb9dd4011853c24c .. https://github.com/martinpovolny/manageiq/commit/baf5030f7058c8f8612bb28a1e88ff1385c83a27 with rubocop 0.27.1\n19 files checked, 29 offenses detected\n\n**vmdb/app/controllers/application_controller/explorer.rb**\n- [ ] :large_orange_diamond: - [Line 468](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/application_controller/explorer.rb#L468), Col 7 - [Style/LeadingCommentSpace](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/LeadingCommentSpace) - Missing space after #.\n- [ ] :large_orange_diamond: - [Line 470](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/application_controller/explorer.rb#L470), Col 7 - [Style/LeadingCommentSpace](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/LeadingCommentSpace) - Missing space after #.\n- [ ] :large_orange_diamond: - [Line 472](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/application_controller/explorer.rb#L472), Col 7 - [Style/LeadingCommentSpace](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/LeadingCommentSpace) - Missing space after #.\n- [ ] :large_orange_diamond: - [Line 479](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/application_controller/explorer.rb#L479), Col 7 - [Style/LeadingCommentSpace](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/LeadingCommentSpace) - Missing space after #.\n- [ ] :large_orange_diamond: - [Line 539](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/application_controller/explorer.rb#L539), Col 7 - [Style/LeadingCommentSpace](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/LeadingCommentSpace) - Missing space after #.\n- [ ] :large_orange_diamond: - [Line 544](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/application_controller/explorer.rb#L544), Col 7 - [Style/LeadingCommentSpace](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/LeadingCommentSpace) - Missing space after #.\n- [ ] :small_blue_diamond: - [Line 541](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/application_controller/explorer.rb#L541), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [121/120]\n\n**vmdb/app/controllers/mixins/vm_show_mixin.rb**\n- [ ] :large_orange_diamond: - [Line 30](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/mixins/vm_show_mixin.rb#L30), Col 5 - [Style/LeadingCommentSpace](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/LeadingCommentSpace) - Missing space after #.\n- [ ] :large_orange_diamond: - [Line 32](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/mixins/vm_show_mixin.rb#L32), Col 5 - [Style/LeadingCommentSpace](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/LeadingCommentSpace) - Missing space after #.\n\n**vmdb/app/controllers/vm_common.rb**\n- [ ] :large_orange_diamond: - [Line 1414](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/vm_common.rb#L1414), Col 12 - [Style/CommentAnnotation](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/CommentAnnotation) - Annotation keywords should be all upper case, followed by a colon and a space, then a note describing the problem.\n- [ ] :large_orange_diamond: - [Line 1584](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/vm_common.rb#L1584), Col 11 - [Style/MultilineOperationIndentation](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/MultilineOperationIndentation) - Align the operands of a condition in an `if` statement spanning multiple lines.\n- [ ] :large_orange_diamond: - [Line 1585](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/vm_common.rb#L1585), Col 11 - [Style/MultilineOperationIndentation](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/MultilineOperationIndentation) - Align the operands of a condition in an `if` statement spanning multiple lines.\n- [ ] :small_blue_diamond: - [Line 1585](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/controllers/vm_common.rb#L1585), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [129/120]\n\n**vmdb/app/presenters/tree_builder.rb**\n- [ ] :small_blue_diamond: - [Line 6](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder.rb#L6), Col 3 - [Metrics/CyclomaticComplexity](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/CyclomaticComplexity) - Cyclomatic complexity for class_for_type is too high. [9/6]\n- [ ] :small_blue_diamond: - [Line 51](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder.rb#L51), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [124/120]\n- [ ] :small_blue_diamond: - [Line 52](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder.rb#L52), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [127/120]\n- [ ] :small_blue_diamond: - [Line 53](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder.rb#L53), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [122/120]\n- [ ] :small_blue_diamond: - [Line 65](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder.rb#L65), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [121/120]\n- [ ] :small_blue_diamond: - [Line 67](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder.rb#L67), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [122/120]\n- [ ] :small_blue_diamond: - [Line 68](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder.rb#L68), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [128/120]\n- [ ] :small_blue_diamond: - [Line 69](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder.rb#L69), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [131/120]\n\n**vmdb/app/presenters/tree_builder_common.rb**\n- [ ] :small_blue_diamond: - [Line 2](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder_common.rb#L2), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for x_get_tree_ems_kids is too high. [16.09/15]\n\n**vmdb/app/presenters/tree_builder_vandt.rb**\n- [ ] :large_orange_diamond: - [Line 35](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder_vandt.rb#L35), Col 21 - [Style/MultilineOperationIndentation](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/MultilineOperationIndentation) - Align the operands of an expression in an assignment spanning multiple lines.\n- [ ] :large_orange_diamond: - [Line 38](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder_vandt.rb#L38), Col 21 - [Style/MultilineOperationIndentation](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/MultilineOperationIndentation) - Align the operands of an expression in an assignment spanning multiple lines.\n- [ ] :small_blue_diamond: - [Line 14](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder_vandt.rb#L14), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [126/120]\n- [ ] :small_blue_diamond: - [Line 15](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder_vandt.rb#L15), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [125/120]\n\n**vmdb/app/presenters/tree_builder_vms_filter.rb**\n- [ ] :small_blue_diamond: - [Line 21](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder_vms_filter.rb#L21), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [134/120]\n- [ ] :small_blue_diamond: - [Line 22](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder_vms_filter.rb#L22), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [133/120]\n- [ ] :small_blue_diamond: - [Line 30](https://github.com/martinpovolny/manageiq/blob/baf5030f7058c8f8612bb28a1e88ff1385c83a27/vmdb/app/presenters/tree_builder_vms_filter.rb#L30), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [157/120]\n"}}