{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/15154","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/15154/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/15154/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/15154/events","html_url":"https://github.com/ManageIQ/manageiq/pull/15154","id":229781990,"number":15154,"title":"LogManagement: convert put_or_update to put_unless_exists","user":{"login":"kbrock","id":1930,"avatar_url":"https://avatars1.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":[{"id":607458173,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/core/queue","name":"core/queue","color":"5319e7","default":false},{"id":110594929,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/refactoring","name":"refactoring","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"Fryguy","id":52120,"avatar_url":"https://avatars0.githubusercontent.com/u/52120?v=3","gravatar_id":"","url":"https://api.github.com/users/Fryguy","html_url":"https://github.com/Fryguy","followers_url":"https://api.github.com/users/Fryguy/followers","following_url":"https://api.github.com/users/Fryguy/following{/other_user}","gists_url":"https://api.github.com/users/Fryguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Fryguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fryguy/subscriptions","organizations_url":"https://api.github.com/users/Fryguy/orgs","repos_url":"https://api.github.com/users/Fryguy/repos","events_url":"https://api.github.com/users/Fryguy/events{/privacy}","received_events_url":"https://api.github.com/users/Fryguy/received_events","type":"User","site_admin":false},"assignees":[{"login":"Fryguy","id":52120,"avatar_url":"https://avatars0.githubusercontent.com/u/52120?v=3","gravatar_id":"","url":"https://api.github.com/users/Fryguy","html_url":"https://github.com/Fryguy","followers_url":"https://api.github.com/users/Fryguy/followers","following_url":"https://api.github.com/users/Fryguy/following{/other_user}","gists_url":"https://api.github.com/users/Fryguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Fryguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fryguy/subscriptions","organizations_url":"https://api.github.com/users/Fryguy/orgs","repos_url":"https://api.github.com/users/Fryguy/repos","events_url":"https://api.github.com/users/Fryguy/events{/privacy}","received_events_url":"https://api.github.com/users/Fryguy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-05-18T19:37:14Z","updated_at":"2017-06-13T14:00:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/15154","html_url":"https://github.com/ManageIQ/manageiq/pull/15154","diff_url":"https://github.com/ManageIQ/manageiq/pull/15154.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/15154.patch"},"body":"LogManagement is probably going away.\r\nBut we are converting over to `put_unless_exists` to simplify\r\n\r\nFollow up to https://github.com/ManageIQ/manageiq/pull/15152"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/308125337","html_url":"https://github.com/ManageIQ/manageiq/pull/15154#issuecomment-308125337","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/15154","id":308125337,"user":{"login":"kbrock","id":1930,"avatar_url":"https://avatars1.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},"created_at":"2017-06-13T14:00:38Z","updated_at":"2017-06-13T14:00:38Z","body":"`_post_my_logs` is called from .\r\n\r\n`options` passed into `_post_my_logs` from [log_file.rb:257#_request_logs](https://github.com/ManageIQ/manageiq/blob/master/app/models/log_file.rb#L257) in call from [log_file:82#logs_from_server](https://github.com/ManageIQ/manageiq/blob/master/app/models/log_file.rb#L82)\r\n\r\nMost of the fields for the `put_or_update` have a constant value.\r\n"}}
{"actor":{"display_login":"kbrock"}}