{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3808","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3808/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3808/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3808/events","html_url":"https://github.com/ManageIQ/manageiq/pull/3808","id":100356241,"number":3808,"title":"Added model support to determine if Smartstate Analysis is supported.","user":{"login":"h-kataria","id":3450808,"avatar_url":"https://avatars.githubusercontent.com/u/3450808?v=3","gravatar_id":"","url":"https://api.github.com/users/h-kataria","html_url":"https://github.com/h-kataria","followers_url":"https://api.github.com/users/h-kataria/followers","following_url":"https://api.github.com/users/h-kataria/following{/other_user}","gists_url":"https://api.github.com/users/h-kataria/gists{/gist_id}","starred_url":"https://api.github.com/users/h-kataria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-kataria/subscriptions","organizations_url":"https://api.github.com/users/h-kataria/orgs","repos_url":"https://api.github.com/users/h-kataria/repos","events_url":"https://api.github.com/users/h-kataria/events{/privacy}","received_events_url":"https://api.github.com/users/h-kataria/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-11T16:45:55Z","updated_at":"2015-08-11T17:09:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3808","html_url":"https://github.com/ManageIQ/manageiq/pull/3808","diff_url":"https://github.com/ManageIQ/manageiq/pull/3808.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/3808.patch"},"body":"Added model support to determine if Smartstate Analysis button is supported for VM/Instances, added a check in toolbar code to display a hover message when button is disabled and not supported for certain types of VM/Instance.\r\n\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1240337\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1245717\r\n\r\n@dclarizio please review\r\n\r\nbefore screenshot of an Amazon Instance:\r\n![smartstate_analysis_button_before_fix](https://cloud.githubusercontent.com/assets/3450808/9203734/d2aa3c8a-4026-11e5-89c7-85640f8b995b.png)\r\n\r\nafter screenshot of an Amazon Instance:\r\n![smartstate_analysis_button_after_fix](https://cloud.githubusercontent.com/assets/3450808/9203736/da519c76-4026-11e5-9186-400c08bf700d.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/129972252","html_url":"https://github.com/ManageIQ/manageiq/pull/3808#issuecomment-129972252","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3808","id":129972252,"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-08-11T17:09:24Z","updated_at":"2015-08-11T17:09:24Z","body":"<rubocop />Checked commit https://github.com/h-kataria/manageiq/commit/cac87c4815806cff5b123b9797bde3a790634fa1 with rubocop 0.32.1 and haml-lint 0.13.0\n7 files checked, 1 offense detected\n\n**app/helpers/application_helper/toolbar_builder.rb**\n- [ ] :small_blue_diamond: - [Line 1170](https://github.com/h-kataria/manageiq/blob/cac87c4815806cff5b123b9797bde3a790634fa1/app/helpers/application_helper/toolbar_builder.rb#L1170), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.32.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [126/120]\n"}}