{"action":"opened","issue":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/6067","repository_url":"https://api.github.com/repos/SatelliteQE/robottelo","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/6067/labels{/name}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/6067/comments","events_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/6067/events","html_url":"https://github.com/SatelliteQE/robottelo/issues/6067","id":332369617,"node_id":"MDU6SXNzdWUzMzIzNjk2MTc=","number":6067,"title":"foreman_hooks end to end test","user":{"login":"pondrejk","id":8287578,"node_id":"MDQ6VXNlcjgyODc1Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8287578?v=4","gravatar_id":"","url":"https://api.github.com/users/pondrejk","html_url":"https://github.com/pondrejk","followers_url":"https://api.github.com/users/pondrejk/followers","following_url":"https://api.github.com/users/pondrejk/following{/other_user}","gists_url":"https://api.github.com/users/pondrejk/gists{/gist_id}","starred_url":"https://api.github.com/users/pondrejk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pondrejk/subscriptions","organizations_url":"https://api.github.com/users/pondrejk/orgs","repos_url":"https://api.github.com/users/pondrejk/repos","events_url":"https://api.github.com/users/pondrejk/events{/privacy}","received_events_url":"https://api.github.com/users/pondrejk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-14T11:54:30Z","updated_at":"2018-06-14T11:54:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Some coverage of the foreman_hooks plugin is requested, from an email thread:\r\n\r\nTypical workflow would be:\r\n\r\n    Install and enable the plugin\r\n    Deploy all possible hooks, all copies (or symlinks) of a simple\r\n    script which simply records the hook JSON into a log file\r\n    Run all tests\r\n    Verify the log file contains expected fired hooks (test for hook presence)\r\n    Compare JSON with expected JSON (only for the most important hook:\r\n    Create Host, Destroy Host)\r\n\r\nThis is quite reasonable e2e test, you need a small script and a test\r\ncase that will grep a log file. Other implementations are possible,\r\nthe sky is the limit."}}
{"actor":{"display_login":"pondrejk"}}