{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4328","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4328/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4328/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4328/events","html_url":"https://github.com/ManageIQ/manageiq/pull/4328","id":106076010,"number":4328,"title":"Event switchboard.","user":{"login":"lfu","id":2593270,"avatar_url":"https://avatars.githubusercontent.com/u/2593270?v=3","gravatar_id":"","url":"https://api.github.com/users/lfu","html_url":"https://github.com/lfu","followers_url":"https://api.github.com/users/lfu/followers","following_url":"https://api.github.com/users/lfu/following{/other_user}","gists_url":"https://api.github.com/users/lfu/gists{/gist_id}","starred_url":"https://api.github.com/users/lfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfu/subscriptions","organizations_url":"https://api.github.com/users/lfu/orgs","repos_url":"https://api.github.com/users/lfu/repos","events_url":"https://api.github.com/users/lfu/events{/privacy}","received_events_url":"https://api.github.com/users/lfu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/control","name":"control","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-11T19:18:59Z","updated_at":"2015-10-02T23:45:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/4328","html_url":"https://github.com/ManageIQ/manageiq/pull/4328","diff_url":"https://github.com/ManageIQ/manageiq/pull/4328.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/4328.patch"},"body":"Handle all events via automate.\r\n\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1252485"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/145184364","html_url":"https://github.com/ManageIQ/manageiq/pull/4328#issuecomment-145184364","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4328","id":145184364,"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-10-02T23:45:09Z","updated_at":"2015-10-02T23:45:09Z","body":"<rubocop />Checked commits https://github.com/lfu/manageiq/compare/d4b06edc789d67f524bc141b6f0c9dc7a1dac1fd~...4445f8be19e0489f5e4508b18f7bfaf704d9420f with ruby 1.9.3, rubocop 0.34.2, and haml-lint 0.13.0\n35 files checked, 84 offenses detected\n\n**app/models/ems_event/automate.rb**\n- [ ] :small_blue_diamond: - [Line 15](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/ems_event/automate.rb#L15), Col 5 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for policy is too high. [21.47/15]\n\n**app/models/host.rb**\n- [ ] :large_orange_diamond: - [Line 357](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/host.rb#L357), Col 85 - [Style/TrailingWhitespace](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/TrailingWhitespace) - Trailing whitespace detected.\n- [ ] :large_orange_diamond: - [Line 360](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/host.rb#L360), Col 59 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 361](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/host.rb#L361), Col 62 - [Style/BracesAroundHashParameters](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/BracesAroundHashParameters) - Redundant curly braces around a hash parameter.\n- [ ] :large_orange_diamond: - [Line 371](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/host.rb#L371), Col 15 - [Style/SpaceAroundOperators](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceAroundOperators) - Operator `?` should be surrounded with a single space.\n- [ ] :large_orange_diamond: - [Line 371](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/host.rb#L371), Col 16 - [Style/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :large_orange_diamond: - [Line 371](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/host.rb#L371), Col 64 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :small_blue_diamond: - [Line 360](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/host.rb#L360), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [172/120]\n\n**app/models/miq_event.rb**\n- [ ] :large_orange_diamond: - [Line 19](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L19), Col 53 - [Style/SpaceAroundEqualsInParameterDefault](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceAroundEqualsInParameterDefault) - Surrounding space missing in default value assignment.\n- [ ] :large_orange_diamond: - [Line 19](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L19), Col 65 - [Style/SpaceAroundEqualsInParameterDefault](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceAroundEqualsInParameterDefault) - Surrounding space missing in default value assignment.\n- [ ] :large_orange_diamond: - [Line 45](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L45), Col 28 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 60](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L60), Col 40 - [Style/SpaceInsideHashLiteralBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideHashLiteralBraces) - Space inside { detected.\n- [ ] :large_orange_diamond: - [Line 60](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L60), Col 53 - [Style/SpaceInsideHashLiteralBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideHashLiteralBraces) - Space inside { detected.\n- [ ] :large_orange_diamond: - [Line 60](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L60), Col 72 - [Style/SpaceInsideHashLiteralBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideHashLiteralBraces) - Space inside } detected.\n- [ ] :large_orange_diamond: - [Line 60](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L60), Col 74 - [Style/SpaceInsideHashLiteralBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideHashLiteralBraces) - Space inside } detected.\n- [ ] :large_orange_diamond: - [Line 75](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L75), Col 39 - [Style/SpaceAroundEqualsInParameterDefault](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceAroundEqualsInParameterDefault) - Surrounding space missing in default value assignment.\n- [ ] :large_orange_diamond: - [Line 77](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L77), Col 7 - [Style/IndentHash](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/IndentHash) - Use 2 spaces for indentation in a hash, relative to the first position after the preceding left parenthesis.\n- [ ] :large_orange_diamond: - [Line 82](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L82), Col 5 - [Style/IndentHash](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/IndentHash) - Indent the right brace the same as the first position after the preceding left parenthesis.\n- [ ] :small_blue_diamond: - [Line 19](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L19), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for raise_evm_event is too high. [16.82/15]\n- [ ] :small_blue_diamond: - [Line 44](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_event.rb#L44), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for process_evm_event is too high. [41.3/15]\n\n**app/models/miq_request.rb**\n- [ ] :red_circle: **Warn** - [Line 158](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_request.rb#L158), Col 7 - [Lint/UselessAssignment](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Lint/UselessAssignment) - Useless assignment to variable - `message`.\n- [ ] :large_orange_diamond: - [Line 131](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_request.rb#L131), Col 3 - [Style/IndentationWidth](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/IndentationWidth) - Use 2 (not 4) spaces for indentation.\n- [ ] :large_orange_diamond: - [Line 137](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_request.rb#L137), Col 8 - [Style/SpaceInsideHashLiteralBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideHashLiteralBraces) - Space inside { detected.\n- [ ] :large_orange_diamond: - [Line 152](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/miq_request.rb#L152), Col 5 - [Style/RedundantBegin](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantBegin) - Redundant `begin` block detected.\n\n**app/models/vm_or_template.rb**\n- [ ] :large_orange_diamond: - [Line 332](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L332), Col 88 - [Style/TrailingWhitespace](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/TrailingWhitespace) - Trailing whitespace detected.\n- [ ] :large_orange_diamond: - [Line 335](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L335), Col 59 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 346](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L346), Col 15 - [Style/SpaceAroundOperators](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceAroundOperators) - Operator `?` should be surrounded with a single space.\n- [ ] :large_orange_diamond: - [Line 346](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L346), Col 16 - [Style/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :large_orange_diamond: - [Line 346](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L346), Col 64 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 350](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L350), Col 11 - [Style/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :large_orange_diamond: - [Line 350](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L350), Col 75 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 351](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L351), Col 47 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 351](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L351), Col 65 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 354](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L354), Col 38 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 354](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L354), Col 72 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 355](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L355), Col 38 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 355](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L355), Col 72 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :small_blue_diamond: - [Line 335](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L335), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [172/120]\n- [ ] :small_blue_diamond: - [Line 349](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L349), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for enforce_policy is too high. [19.92/15]\n- [ ] :small_blue_diamond: - [Line 349](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_or_template.rb#L349), Col 3 - [Metrics/CyclomaticComplexity](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/CyclomaticComplexity) - Cyclomatic complexity for enforce_policy is too high. [7/6]\n\n**app/models/vm_scan.rb**\n- [ ] :large_orange_diamond: - [Line 27](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L27), Col 31 - [Style/AlignHash](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/AlignHash) - Align the elements of a hash literal if they span more than one line.\n- [ ] :large_orange_diamond: - [Line 44](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L44), Col 61 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 46](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L46), Col 87 - [Style/BracesAroundHashParameters](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/BracesAroundHashParameters) - Redundant curly braces around a hash parameter.\n- [ ] :large_orange_diamond: - [Line 70](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L70), Col 28 - [Style/SpaceInsideBlockBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideBlockBraces) - Space between { and | missing.\n- [ ] :large_orange_diamond: - [Line 70](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L70), Col 83 - [Style/SpaceInsideBlockBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideBlockBraces) - Space missing inside }.\n- [ ] :large_orange_diamond: - [Line 71](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L71), Col 9 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 81](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L81), Col 30 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 82](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L82), Col 7 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :small_blue_diamond: - [Line 38](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L38), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for call_check_policy is too high. [17.49/15]\n- [ ] :small_blue_diamond: - [Line 44](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L44), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [143/120]\n- [ ] :small_blue_diamond: - [Line 57](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L57), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for check_policy_complete is too high. [19/15]\n- [ ] :small_blue_diamond: - [Line 57](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L57), Col 3 - [Metrics/CyclomaticComplexity](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/CyclomaticComplexity) - Cyclomatic complexity for check_policy_complete is too high. [7/6]\n- [ ] :small_blue_diamond: - [Line 77](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L77), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for call_snapshot_create is too high. [112/15]\n- [ ] :small_blue_diamond: - [Line 77](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L77), Col 3 - [Metrics/CyclomaticComplexity](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/CyclomaticComplexity) - Cyclomatic complexity for call_snapshot_create is too high. [16/6]\n- [ ] :small_blue_diamond: - [Line 77](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L77), Col 3 - [Metrics/MethodLength](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/MethodLength) - Method has too many lines. [83/25]\n- [ ] :small_blue_diamond: - [Line 77](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/app/models/vm_scan.rb#L77), Col 3 - [Metrics/PerceivedComplexity](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/PerceivedComplexity) - Perceived complexity for call_snapshot_create is too high. [20/7]\n\n**lib/miq_automation_engine/engine/miq_ae_event.rb**\n- [ ] :large_orange_diamond: - [Line 25](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L25), Col 37 - [Style/BracesAroundHashParameters](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/BracesAroundHashParameters) - Redundant curly braces around a hash parameter.\n- [ ] :large_orange_diamond: - [Line 45](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L45), Col 54 - [Style/SpaceAroundEqualsInParameterDefault](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceAroundEqualsInParameterDefault) - Surrounding space missing in default value assignment.\n- [ ] :large_orange_diamond: - [Line 45](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L45), Col 66 - [Style/SpaceAroundEqualsInParameterDefault](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceAroundEqualsInParameterDefault) - Surrounding space missing in default value assignment.\n- [ ] :large_orange_diamond: - [Line 55](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L55), Col 57 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 57](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L57), Col 23 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 62](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L62), Col 58 - [Style/SpaceAroundEqualsInParameterDefault](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceAroundEqualsInParameterDefault) - Surrounding space missing in default value assignment.\n- [ ] :large_orange_diamond: - [Line 62](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L62), Col 70 - [Style/SpaceAroundEqualsInParameterDefault](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceAroundEqualsInParameterDefault) - Surrounding space missing in default value assignment.\n- [ ] :large_orange_diamond: - [Line 65](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L65), Col 23 - [Style/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :large_orange_diamond: - [Line 72](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L72), Col 25 - [Style/RedundantSelf](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantSelf) - Redundant `self` detected.\n- [ ] :large_orange_diamond: - [Line 74](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L74), Col 5 - [Style/RedundantReturn](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/RedundantReturn) - Redundant `return` detected.\n- [ ] :small_blue_diamond: - [Line 45](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/lib/miq_automation_engine/engine/miq_ae_event.rb#L45), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for raise_evm_event is too high. [16.09/15]\n\n**spec/lib/ems_event_helper_spec.rb**\n- [ ] :large_orange_diamond: - [Line 123](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/lib/ems_event_helper_spec.rb#L123), Col 18 - [Style/SpaceInsideBrackets](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideBrackets) - Space inside square brackets detected.\n- [ ] :large_orange_diamond: - [Line 123](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/lib/ems_event_helper_spec.rb#L123), Col 20 - [Style/SpaceInsideHashLiteralBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideHashLiteralBraces) - Space inside { detected.\n- [ ] :large_orange_diamond: - [Line 123](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/lib/ems_event_helper_spec.rb#L123), Col 33 - [Style/WordArray](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/WordArray) - Use `%w` or `%W` for array of words.\n- [ ] :large_orange_diamond: - [Line 123](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/lib/ems_event_helper_spec.rb#L123), Col 55 - [Style/SpaceInsideHashLiteralBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideHashLiteralBraces) - Space inside } detected.\n- [ ] :large_orange_diamond: - [Line 123](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/lib/ems_event_helper_spec.rb#L123), Col 57 - [Style/SpaceInsideBrackets](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideBrackets) - Space inside square brackets detected.\n\n**spec/models/host_spec.rb**\n- [ ] :small_blue_diamond: - [Line 139](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/host_spec.rb#L139), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [125/120]\n\n**spec/models/miq_event_spec.rb**\n- [ ] :large_orange_diamond: - [Line 78](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/miq_event_spec.rb#L78), Col 73 - [Style/BracesAroundHashParameters](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/BracesAroundHashParameters) - Redundant curly braces around a hash parameter.\n- [ ] :large_orange_diamond: - [Line 78](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/miq_event_spec.rb#L78), Col 95 - [Style/SpaceInsideHashLiteralBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideHashLiteralBraces) - Space inside } detected.\n- [ ] :large_orange_diamond: - [Line 78](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/miq_event_spec.rb#L78), Col 97 - [Style/SpaceInsideParens](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideParens) - Space inside parentheses detected.\n- [ ] :large_orange_diamond: - [Line 79](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/miq_event_spec.rb#L79), Col 73 - [Style/BracesAroundHashParameters](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/BracesAroundHashParameters) - Redundant curly braces around a hash parameter.\n- [ ] :large_orange_diamond: - [Line 79](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/miq_event_spec.rb#L79), Col 95 - [Style/SpaceInsideHashLiteralBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideHashLiteralBraces) - Space inside } detected.\n- [ ] :large_orange_diamond: - [Line 79](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/miq_event_spec.rb#L79), Col 97 - [Style/SpaceInsideParens](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideParens) - Space inside parentheses detected.\n- [ ] :large_orange_diamond: - [Line 80](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/miq_event_spec.rb#L80), Col 82 - [Style/BracesAroundHashParameters](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/BracesAroundHashParameters) - Redundant curly braces around a hash parameter.\n- [ ] :large_orange_diamond: - [Line 80](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/miq_event_spec.rb#L80), Col 104 - [Style/SpaceInsideHashLiteralBraces](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideHashLiteralBraces) - Space inside } detected.\n- [ ] :large_orange_diamond: - [Line 80](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/miq_event_spec.rb#L80), Col 106 - [Style/SpaceInsideParens](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/SpaceInsideParens) - Space inside parentheses detected.\n\n**spec/models/miq_request_spec.rb**\n- [ ] :small_blue_diamond: - [Line 89](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/miq_request_spec.rb#L89), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [125/120]\n\n**spec/models/vm_spec.rb**\n- [ ] :small_blue_diamond: - [Line 174](https://github.com/lfu/manageiq/blob/4445f8be19e0489f5e4508b18f7bfaf704d9420f/spec/models/vm_spec.rb#L174), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [123/120]\n"}}