{"action":"closed","number":572,"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/nailgun/pulls/572","id":234339223,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MzM5MjIz","html_url":"https://github.com/SatelliteQE/nailgun/pull/572","diff_url":"https://github.com/SatelliteQE/nailgun/pull/572.diff","patch_url":"https://github.com/SatelliteQE/nailgun/pull/572.patch","issue_url":"https://api.github.com/repos/SatelliteQE/nailgun/issues/572","number":572,"state":"closed","locked":false,"title":"Added 6.5 workaround for Host Collection create","user":{"login":"abalakh","id":11719030,"node_id":"MDQ6VXNlcjExNzE5MDMw","avatar_url":"https://avatars0.githubusercontent.com/u/11719030?v=4","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"body":"Test results:\r\n```python\r\nIn [1]: hc = entities.HostCollection(organization=3, host=[2]).create()\r\n2018-11-28 18:18:43 - nailgun.client - DEBUG - Making HTTP POST request to https://example.com/katello/api/v2/host_collections with options {'auth': ('admin', 'some_password'), 'verify': False, 'headers': {'content-type': 'application/json'}}, no params and data {\"name\": \"ytdGyDgHTrIc\", \"host_ids\": [2], \"organization_id\": 3}.\r\n2018-11-28 18:18:44 - nailgun.client - DEBUG - Received HTTP 200 response:   {\"name\":\"ytdGyDgHTrIc\",\"organization_id\":3,\"max_hosts\":null,\"description\":null,\"total_hosts\":1,\"unlimited_hosts\":true,\"created_at\":\"2018-11-28 16:18:44 UTC\",\"updated_at\":\"2018-11-28 16:18:44 UTC\",\"id\":10,\"permissions\":{\"deletable\":true,\"editable\":true}}\r\n\r\n2018-11-28 18:18:44 - nailgun.client - DEBUG - Making HTTP GET request to https://example.com/katello/api/v2/host_collections/10 with options {'auth': ('admin', 'some_password'), 'verify': False, 'headers': {'content-type': 'application/json'}}, no params and no data.\r\n2018-11-28 18:18:44 - nailgun.client - DEBUG - Received HTTP 200 response:   {\"host_ids\":[2],\"name\":\"ytdGyDgHTrIc\",\"organization_id\":3,\"max_hosts\":null,\"description\":null,\"total_hosts\":1,\"unlimited_hosts\":true,\"created_at\":\"2018-11-28 16:18:44 UTC\",\"updated_at\":\"2018-11-28 16:18:44 UTC\",\"id\":10,\"permissions\":{\"deletable\":true,\"editable\":true}}\r\n\r\n\r\nIn [2]: hc.host\r\nOut[2]: [nailgun.entities.Host(id=2)]\r\n```","created_at":"2018-11-28T16:20:35Z","updated_at":"2018-11-28T16:57:57Z","closed_at":"2018-11-28T16:57:57Z","merged_at":"2018-11-28T16:57:57Z","merge_commit_sha":"ac7c9cbdd00b60d500fe79a9017a92de9db89ff2","assignee":{"login":"abalakh","id":11719030,"node_id":"MDQ6VXNlcjExNzE5MDMw","avatar_url":"https://avatars0.githubusercontent.com/u/11719030?v=4","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"assignees":[{"login":"abalakh","id":11719030,"node_id":"MDQ6VXNlcjExNzE5MDMw","avatar_url":"https://avatars0.githubusercontent.com/u/11719030?v=4","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1104018100,"node_id":"MDU6TGFiZWwxMTA0MDE4MTAw","url":"https://api.github.com/repos/SatelliteQE/nailgun/labels/6.5","name":"6.5","color":"d6804a","default":false},{"id":427746613,"node_id":"MDU6TGFiZWw0Mjc3NDY2MTM=","url":"https://api.github.com/repos/SatelliteQE/nailgun/labels/review","name":"review","color":"00ff00","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/SatelliteQE/nailgun/pulls/572/commits","review_comments_url":"https://api.github.com/repos/SatelliteQE/nailgun/pulls/572/comments","review_comment_url":"https://api.github.com/repos/SatelliteQE/nailgun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SatelliteQE/nailgun/issues/572/comments","statuses_url":"https://api.github.com/repos/SatelliteQE/nailgun/statuses/e601b6cb2dbbc04e867f50a16e04ac55a41ade92","head":{"label":"abalakh:fix_hc","ref":"fix_hc","sha":"e601b6cb2dbbc04e867f50a16e04ac55a41ade92","user":{"login":"abalakh","id":11719030,"node_id":"MDQ6VXNlcjExNzE5MDMw","avatar_url":"https://avatars0.githubusercontent.com/u/11719030?v=4","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"repo":{"id":34666903,"node_id":"MDEwOlJlcG9zaXRvcnkzNDY2NjkwMw==","name":"nailgun","full_name":"abalakh/nailgun","private":false,"owner":{"login":"abalakh","id":11719030,"node_id":"MDQ6VXNlcjExNzE5MDMw","avatar_url":"https://avatars0.githubusercontent.com/u/11719030?v=4","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"html_url":"https://github.com/abalakh/nailgun","description":"Why use a hammer when you can use a nailgun.","fork":true,"url":"https://api.github.com/repos/abalakh/nailgun","forks_url":"https://api.github.com/repos/abalakh/nailgun/forks","keys_url":"https://api.github.com/repos/abalakh/nailgun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abalakh/nailgun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abalakh/nailgun/teams","hooks_url":"https://api.github.com/repos/abalakh/nailgun/hooks","issue_events_url":"https://api.github.com/repos/abalakh/nailgun/issues/events{/number}","events_url":"https://api.github.com/repos/abalakh/nailgun/events","assignees_url":"https://api.github.com/repos/abalakh/nailgun/assignees{/user}","branches_url":"https://api.github.com/repos/abalakh/nailgun/branches{/branch}","tags_url":"https://api.github.com/repos/abalakh/nailgun/tags","blobs_url":"https://api.github.com/repos/abalakh/nailgun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abalakh/nailgun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abalakh/nailgun/git/refs{/sha}","trees_url":"https://api.github.com/repos/abalakh/nailgun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abalakh/nailgun/statuses/{sha}","languages_url":"https://api.github.com/repos/abalakh/nailgun/languages","stargazers_url":"https://api.github.com/repos/abalakh/nailgun/stargazers","contributors_url":"https://api.github.com/repos/abalakh/nailgun/contributors","subscribers_url":"https://api.github.com/repos/abalakh/nailgun/subscribers","subscription_url":"https://api.github.com/repos/abalakh/nailgun/subscription","commits_url":"https://api.github.com/repos/abalakh/nailgun/commits{/sha}","git_commits_url":"https://api.github.com/repos/abalakh/nailgun/git/commits{/sha}","comments_url":"https://api.github.com/repos/abalakh/nailgun/comments{/number}","issue_comment_url":"https://api.github.com/repos/abalakh/nailgun/issues/comments{/number}","contents_url":"https://api.github.com/repos/abalakh/nailgun/contents/{+path}","compare_url":"https://api.github.com/repos/abalakh/nailgun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abalakh/nailgun/merges","archive_url":"https://api.github.com/repos/abalakh/nailgun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abalakh/nailgun/downloads","issues_url":"https://api.github.com/repos/abalakh/nailgun/issues{/number}","pulls_url":"https://api.github.com/repos/abalakh/nailgun/pulls{/number}","milestones_url":"https://api.github.com/repos/abalakh/nailgun/milestones{/number}","notifications_url":"https://api.github.com/repos/abalakh/nailgun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abalakh/nailgun/labels{/name}","releases_url":"https://api.github.com/repos/abalakh/nailgun/releases{/id}","deployments_url":"https://api.github.com/repos/abalakh/nailgun/deployments","created_at":"2015-04-27T13:00:52Z","updated_at":"2015-04-27T13:00:52Z","pushed_at":"2018-11-28T16:33:29Z","git_url":"git://github.com/abalakh/nailgun.git","ssh_url":"git@github.com:abalakh/nailgun.git","clone_url":"https://github.com/abalakh/nailgun.git","svn_url":"https://github.com/abalakh/nailgun","homepage":null,"size":2188,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SatelliteQE:master","ref":"master","sha":"521e419c2b7c3dcc48820258c89d54426f0342c8","user":{"login":"SatelliteQE","id":8754276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3NTQyNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/8754276?v=4","gravatar_id":"","url":"https://api.github.com/users/SatelliteQE","html_url":"https://github.com/SatelliteQE","followers_url":"https://api.github.com/users/SatelliteQE/followers","following_url":"https://api.github.com/users/SatelliteQE/following{/other_user}","gists_url":"https://api.github.com/users/SatelliteQE/gists{/gist_id}","starred_url":"https://api.github.com/users/SatelliteQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatelliteQE/subscriptions","organizations_url":"https://api.github.com/users/SatelliteQE/orgs","repos_url":"https://api.github.com/users/SatelliteQE/repos","events_url":"https://api.github.com/users/SatelliteQE/events{/privacy}","received_events_url":"https://api.github.com/users/SatelliteQE/received_events","type":"Organization","site_admin":false},"repo":{"id":27888295,"node_id":"MDEwOlJlcG9zaXRvcnkyNzg4ODI5NQ==","name":"nailgun","full_name":"SatelliteQE/nailgun","private":false,"owner":{"login":"SatelliteQE","id":8754276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3NTQyNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/8754276?v=4","gravatar_id":"","url":"https://api.github.com/users/SatelliteQE","html_url":"https://github.com/SatelliteQE","followers_url":"https://api.github.com/users/SatelliteQE/followers","following_url":"https://api.github.com/users/SatelliteQE/following{/other_user}","gists_url":"https://api.github.com/users/SatelliteQE/gists{/gist_id}","starred_url":"https://api.github.com/users/SatelliteQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatelliteQE/subscriptions","organizations_url":"https://api.github.com/users/SatelliteQE/orgs","repos_url":"https://api.github.com/users/SatelliteQE/repos","events_url":"https://api.github.com/users/SatelliteQE/events{/privacy}","received_events_url":"https://api.github.com/users/SatelliteQE/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SatelliteQE/nailgun","description":"Why use a hammer when you can use a nailgun.","fork":false,"url":"https://api.github.com/repos/SatelliteQE/nailgun","forks_url":"https://api.github.com/repos/SatelliteQE/nailgun/forks","keys_url":"https://api.github.com/repos/SatelliteQE/nailgun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SatelliteQE/nailgun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SatelliteQE/nailgun/teams","hooks_url":"https://api.github.com/repos/SatelliteQE/nailgun/hooks","issue_events_url":"https://api.github.com/repos/SatelliteQE/nailgun/issues/events{/number}","events_url":"https://api.github.com/repos/SatelliteQE/nailgun/events","assignees_url":"https://api.github.com/repos/SatelliteQE/nailgun/assignees{/user}","branches_url":"https://api.github.com/repos/SatelliteQE/nailgun/branches{/branch}","tags_url":"https://api.github.com/repos/SatelliteQE/nailgun/tags","blobs_url":"https://api.github.com/repos/SatelliteQE/nailgun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SatelliteQE/nailgun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SatelliteQE/nailgun/git/refs{/sha}","trees_url":"https://api.github.com/repos/SatelliteQE/nailgun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SatelliteQE/nailgun/statuses/{sha}","languages_url":"https://api.github.com/repos/SatelliteQE/nailgun/languages","stargazers_url":"https://api.github.com/repos/SatelliteQE/nailgun/stargazers","contributors_url":"https://api.github.com/repos/SatelliteQE/nailgun/contributors","subscribers_url":"https://api.github.com/repos/SatelliteQE/nailgun/subscribers","subscription_url":"https://api.github.com/repos/SatelliteQE/nailgun/subscription","commits_url":"https://api.github.com/repos/SatelliteQE/nailgun/commits{/sha}","git_commits_url":"https://api.github.com/repos/SatelliteQE/nailgun/git/commits{/sha}","comments_url":"https://api.github.com/repos/SatelliteQE/nailgun/comments{/number}","issue_comment_url":"https://api.github.com/repos/SatelliteQE/nailgun/issues/comments{/number}","contents_url":"https://api.github.com/repos/SatelliteQE/nailgun/contents/{+path}","compare_url":"https://api.github.com/repos/SatelliteQE/nailgun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SatelliteQE/nailgun/merges","archive_url":"https://api.github.com/repos/SatelliteQE/nailgun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SatelliteQE/nailgun/downloads","issues_url":"https://api.github.com/repos/SatelliteQE/nailgun/issues{/number}","pulls_url":"https://api.github.com/repos/SatelliteQE/nailgun/pulls{/number}","milestones_url":"https://api.github.com/repos/SatelliteQE/nailgun/milestones{/number}","notifications_url":"https://api.github.com/repos/SatelliteQE/nailgun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SatelliteQE/nailgun/labels{/name}","releases_url":"https://api.github.com/repos/SatelliteQE/nailgun/releases{/id}","deployments_url":"https://api.github.com/repos/SatelliteQE/nailgun/deployments","created_at":"2014-12-11T19:39:59Z","updated_at":"2018-11-26T10:52:27Z","pushed_at":"2018-11-28T16:57:57Z","git_url":"git://github.com/SatelliteQE/nailgun.git","ssh_url":"git@github.com:SatelliteQE/nailgun.git","clone_url":"https://github.com/SatelliteQE/nailgun.git","svn_url":"https://github.com/SatelliteQE/nailgun","homepage":null,"size":2562,"stargazers_count":36,"watchers_count":36,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":63,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":47,"open_issues":63,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/nailgun/pulls/572"},"html":{"href":"https://github.com/SatelliteQE/nailgun/pull/572"},"issue":{"href":"https://api.github.com/repos/SatelliteQE/nailgun/issues/572"},"comments":{"href":"https://api.github.com/repos/SatelliteQE/nailgun/issues/572/comments"},"review_comments":{"href":"https://api.github.com/repos/SatelliteQE/nailgun/pulls/572/comments"},"review_comment":{"href":"https://api.github.com/repos/SatelliteQE/nailgun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SatelliteQE/nailgun/pulls/572/commits"},"statuses":{"href":"https://api.github.com/repos/SatelliteQE/nailgun/statuses/e601b6cb2dbbc04e867f50a16e04ac55a41ade92"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"JacobCallahan","id":6618303,"node_id":"MDQ6VXNlcjY2MTgzMDM=","avatar_url":"https://avatars0.githubusercontent.com/u/6618303?v=4","gravatar_id":"","url":"https://api.github.com/users/JacobCallahan","html_url":"https://github.com/JacobCallahan","followers_url":"https://api.github.com/users/JacobCallahan/followers","following_url":"https://api.github.com/users/JacobCallahan/following{/other_user}","gists_url":"https://api.github.com/users/JacobCallahan/gists{/gist_id}","starred_url":"https://api.github.com/users/JacobCallahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacobCallahan/subscriptions","organizations_url":"https://api.github.com/users/JacobCallahan/orgs","repos_url":"https://api.github.com/users/JacobCallahan/repos","events_url":"https://api.github.com/users/JacobCallahan/events{/privacy}","received_events_url":"https://api.github.com/users/JacobCallahan/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":14,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"JacobCallahan"}}