{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4370","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4370/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4370/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4370/events","html_url":"https://github.com/ManageIQ/manageiq/pull/4370","id":106677028,"number":4370,"title":"pass requester_group when creating requests","user":{"login":"kbrock","id":1930,"avatar_url":"https://avatars.githubusercontent.com/u/1930?v=3","gravatar_id":"","url":"https://api.github.com/users/kbrock","html_url":"https://github.com/kbrock","followers_url":"https://api.github.com/users/kbrock/followers","following_url":"https://api.github.com/users/kbrock/following{/other_user}","gists_url":"https://api.github.com/users/kbrock/gists{/gist_id}","starred_url":"https://api.github.com/users/kbrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbrock/subscriptions","organizations_url":"https://api.github.com/users/kbrock/orgs","repos_url":"https://api.github.com/users/kbrock/repos","events_url":"https://api.github.com/users/kbrock/events{/privacy}","received_events_url":"https://api.github.com/users/kbrock/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/provisioning","name":"provisioning","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-16T01:09:38Z","updated_at":"2015-09-24T13:41:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/4370","html_url":"https://github.com/ManageIQ/manageiq/pull/4370","diff_url":"https://github.com/ManageIQ/manageiq/pull/4370.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/4370.patch"},"body":"This gets the requester's group into a request\r\n\r\nThen it can be accessible to automate request flow.\r\n\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1187777\r\n\r\n/cc @gmcculloug just need a test to verify the workflow"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/142930859","html_url":"https://github.com/ManageIQ/manageiq/pull/4370#issuecomment-142930859","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4370","id":142930859,"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-09-24T13:41:30Z","updated_at":"2015-09-24T13:41:30Z","body":"<rubocop />Checked commits https://github.com/kbrock/manageiq/compare/d3d044a76ced43eb030359d068b1066df0cb3262~...271830b92467ac2707a6eafafb7ebeeba84fa805 with ruby 1.9.3, rubocop 0.34.2, and haml-lint 0.13.0\n14 files checked, 9 offenses detected\n\n**app/models/miq_request_workflow.rb**\n- [ ] :large_orange_diamond: - [Line 780](https://github.com/kbrock/manageiq/blob/271830b92467ac2707a6eafafb7ebeeba84fa805/app/models/miq_request_workflow.rb#L780), Col 7 - [Style/AccessorMethodName](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/AccessorMethodName) - Do not prefix writer method names with `set_`.\n- [ ] :small_blue_diamond: - [Line 71](https://github.com/kbrock/manageiq/blob/271830b92467ac2707a6eafafb7ebeeba84fa805/app/models/miq_request_workflow.rb#L71), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for create_request is too high. [23.43/15]\n- [ ] :small_blue_diamond: - [Line 71](https://github.com/kbrock/manageiq/blob/271830b92467ac2707a6eafafb7ebeeba84fa805/app/models/miq_request_workflow.rb#L71), Col 21 - [Metrics/ParameterLists](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/ParameterLists) - Avoid parameter lists longer than 5 parameters.\n- [ ] :small_blue_diamond: - [Line 103](https://github.com/kbrock/manageiq/blob/271830b92467ac2707a6eafafb7ebeeba84fa805/app/models/miq_request_workflow.rb#L103), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for update_request is too high. [20.42/15]\n- [ ] :small_blue_diamond: - [Line 103](https://github.com/kbrock/manageiq/blob/271830b92467ac2707a6eafafb7ebeeba84fa805/app/models/miq_request_workflow.rb#L103), Col 21 - [Metrics/ParameterLists](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/ParameterLists) - Avoid parameter lists longer than 5 parameters.\n- [ ] :small_blue_diamond: - [Line 780](https://github.com/kbrock/manageiq/blob/271830b92467ac2707a6eafafb7ebeeba84fa805/app/models/miq_request_workflow.rb#L780), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for set_request_values is too high. [19.52/15]\n- [ ] :small_blue_diamond: - [Line 782](https://github.com/kbrock/manageiq/blob/271830b92467ac2707a6eafafb7ebeeba84fa805/app/models/miq_request_workflow.rb#L782), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [145/120]\n\n**spec/factories/miq_request_workflow.rb**\n- [ ] :small_blue_diamond: - [Line 14](https://github.com/kbrock/manageiq/blob/271830b92467ac2707a6eafafb7ebeeba84fa805/spec/factories/miq_request_workflow.rb#L14), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [132/120]\n\n**spec/models/miq_provision_vmware_workflow_spec.rb**\n- [ ] :large_orange_diamond: - [Line 6](https://github.com/kbrock/manageiq/blob/271830b92467ac2707a6eafafb7ebeeba84fa805/spec/models/miq_provision_vmware_workflow_spec.rb#L6), Col 14 - [Style/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/ExtraSpacing) - Unnecessary spacing detected.\n"}}