{"action":"opened","number":226,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman_maintain/pulls/226","id":223899643,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzODk5NjQz","html_url":"https://github.com/theforeman/foreman_maintain/pull/226","diff_url":"https://github.com/theforeman/foreman_maintain/pull/226.diff","patch_url":"https://github.com/theforeman/foreman_maintain/pull/226.patch","issue_url":"https://api.github.com/repos/theforeman/foreman_maintain/issues/226","number":226,"state":"open","locked":false,"title":"Fixes #25032 - Setup hammer on system with defaults set","user":{"login":"mbacovsky","id":1648174,"node_id":"MDQ6VXNlcjE2NDgxNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1648174?v=4","gravatar_id":"","url":"https://api.github.com/users/mbacovsky","html_url":"https://github.com/mbacovsky","followers_url":"https://api.github.com/users/mbacovsky/followers","following_url":"https://api.github.com/users/mbacovsky/following{/other_user}","gists_url":"https://api.github.com/users/mbacovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/mbacovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbacovsky/subscriptions","organizations_url":"https://api.github.com/users/mbacovsky/orgs","repos_url":"https://api.github.com/users/mbacovsky/repos","events_url":"https://api.github.com/users/mbacovsky/events{/privacy}","received_events_url":"https://api.github.com/users/mbacovsky/received_events","type":"User","site_admin":false},"body":"When organization is set in hammer defaults foreman-maintain\r\nis not able to setup hammer properly. The original cause is\r\nAPI controller fails for architecture list with org argument set.\r\nAs a workaround in foreman-maintain we use different API endpoint\r\nto confirm hammer auth is properly set.","created_at":"2018-10-18T10:14:47Z","updated_at":"2018-10-18T10:14:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman_maintain/pulls/226/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman_maintain/pulls/226/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman_maintain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman_maintain/issues/226/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman_maintain/statuses/23528575be428650743c0ecf0de9c90ab35d8df7","head":{"label":"mbacovsky:25032_setup_hammer","ref":"25032_setup_hammer","sha":"23528575be428650743c0ecf0de9c90ab35d8df7","user":{"login":"mbacovsky","id":1648174,"node_id":"MDQ6VXNlcjE2NDgxNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1648174?v=4","gravatar_id":"","url":"https://api.github.com/users/mbacovsky","html_url":"https://github.com/mbacovsky","followers_url":"https://api.github.com/users/mbacovsky/followers","following_url":"https://api.github.com/users/mbacovsky/following{/other_user}","gists_url":"https://api.github.com/users/mbacovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/mbacovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbacovsky/subscriptions","organizations_url":"https://api.github.com/users/mbacovsky/orgs","repos_url":"https://api.github.com/users/mbacovsky/repos","events_url":"https://api.github.com/users/mbacovsky/events{/privacy}","received_events_url":"https://api.github.com/users/mbacovsky/received_events","type":"User","site_admin":false},"repo":{"id":92776707,"node_id":"MDEwOlJlcG9zaXRvcnk5Mjc3NjcwNw==","name":"foreman_maintain","full_name":"mbacovsky/foreman_maintain","private":false,"owner":{"login":"mbacovsky","id":1648174,"node_id":"MDQ6VXNlcjE2NDgxNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1648174?v=4","gravatar_id":"","url":"https://api.github.com/users/mbacovsky","html_url":"https://github.com/mbacovsky","followers_url":"https://api.github.com/users/mbacovsky/followers","following_url":"https://api.github.com/users/mbacovsky/following{/other_user}","gists_url":"https://api.github.com/users/mbacovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/mbacovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbacovsky/subscriptions","organizations_url":"https://api.github.com/users/mbacovsky/orgs","repos_url":"https://api.github.com/users/mbacovsky/repos","events_url":"https://api.github.com/users/mbacovsky/events{/privacy}","received_events_url":"https://api.github.com/users/mbacovsky/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mbacovsky/foreman_maintain","description":"The Foreman/Satellite maintenance tool","fork":true,"url":"https://api.github.com/repos/mbacovsky/foreman_maintain","forks_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/forks","keys_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/teams","hooks_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/hooks","issue_events_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/issues/events{/number}","events_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/events","assignees_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/assignees{/user}","branches_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/branches{/branch}","tags_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/tags","blobs_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/statuses/{sha}","languages_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/languages","stargazers_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/stargazers","contributors_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/contributors","subscribers_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/subscribers","subscription_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/subscription","commits_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/contents/{+path}","compare_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/merges","archive_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/downloads","issues_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/issues{/number}","pulls_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/pulls{/number}","milestones_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/milestones{/number}","notifications_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/labels{/name}","releases_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/releases{/id}","deployments_url":"https://api.github.com/repos/mbacovsky/foreman_maintain/deployments","created_at":"2017-05-29T21:30:02Z","updated_at":"2018-09-05T11:28:01Z","pushed_at":"2018-10-18T10:13:59Z","git_url":"git://github.com/mbacovsky/foreman_maintain.git","ssh_url":"git@github.com:mbacovsky/foreman_maintain.git","clone_url":"https://github.com/mbacovsky/foreman_maintain.git","svn_url":"https://github.com/mbacovsky/foreman_maintain","homepage":null,"size":657,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"theforeman:master","ref":"master","sha":"3784e77d24526c02dd21777326d964eb7c14d04e","user":{"login":"theforeman","id":1439844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Mzk4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":82340828,"node_id":"MDEwOlJlcG9zaXRvcnk4MjM0MDgyOA==","name":"foreman_maintain","full_name":"theforeman/foreman_maintain","private":false,"owner":{"login":"theforeman","id":1439844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Mzk4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/theforeman/foreman_maintain","description":"The Foreman/Satellite maintenance tool","fork":false,"url":"https://api.github.com/repos/theforeman/foreman_maintain","forks_url":"https://api.github.com/repos/theforeman/foreman_maintain/forks","keys_url":"https://api.github.com/repos/theforeman/foreman_maintain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman_maintain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman_maintain/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman_maintain/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman_maintain/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman_maintain/events","assignees_url":"https://api.github.com/repos/theforeman/foreman_maintain/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman_maintain/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman_maintain/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman_maintain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman_maintain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman_maintain/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman_maintain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman_maintain/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman_maintain/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman_maintain/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman_maintain/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman_maintain/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman_maintain/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman_maintain/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman_maintain/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman_maintain/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman_maintain/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman_maintain/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman_maintain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman_maintain/merges","archive_url":"https://api.github.com/repos/theforeman/foreman_maintain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman_maintain/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman_maintain/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman_maintain/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman_maintain/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman_maintain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman_maintain/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman_maintain/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/foreman_maintain/deployments","created_at":"2017-02-17T21:46:15Z","updated_at":"2018-10-18T08:53:55Z","pushed_at":"2018-10-02T11:54:04Z","git_url":"git://github.com/theforeman/foreman_maintain.git","ssh_url":"git@github.com:theforeman/foreman_maintain.git","clone_url":"https://github.com/theforeman/foreman_maintain.git","svn_url":"https://github.com/theforeman/foreman_maintain","homepage":"http://projects.theforeman.org/projects/foreman-maintain/issues","size":633,"stargazers_count":34,"watchers_count":34,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":14,"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":28,"open_issues":14,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman_maintain/pulls/226"},"html":{"href":"https://github.com/theforeman/foreman_maintain/pull/226"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman_maintain/issues/226"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman_maintain/issues/226/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman_maintain/pulls/226/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman_maintain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman_maintain/pulls/226/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman_maintain/statuses/23528575be428650743c0ecf0de9c90ab35d8df7"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"mbacovsky"}}