{"action":"opened","number":4337,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/4337","id":47559719,"html_url":"https://github.com/puppetlabs/puppet/pull/4337","diff_url":"https://github.com/puppetlabs/puppet/pull/4337.diff","patch_url":"https://github.com/puppetlabs/puppet/pull/4337.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4337","number":4337,"state":"open","locked":false,"title":"Feature/autorelation defined types","user":{"login":"asasfu","id":11634602,"avatar_url":"https://avatars.githubusercontent.com/u/11634602?v=3","gravatar_id":"","url":"https://api.github.com/users/asasfu","html_url":"https://github.com/asasfu","followers_url":"https://api.github.com/users/asasfu/followers","following_url":"https://api.github.com/users/asasfu/following{/other_user}","gists_url":"https://api.github.com/users/asasfu/gists{/gist_id}","starred_url":"https://api.github.com/users/asasfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asasfu/subscriptions","organizations_url":"https://api.github.com/users/asasfu/orgs","repos_url":"https://api.github.com/users/asasfu/repos","events_url":"https://api.github.com/users/asasfu/events{/privacy}","received_events_url":"https://api.github.com/users/asasfu/received_events","type":"User","site_admin":false},"body":"This would add support for defined types to be used in autorelation methods inside of custom types.  I have tested it but maybe an rspec test should be created for this? ","created_at":"2015-10-13T16:57:20Z","updated_at":"2015-10-13T16:57:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d27c064dc3d459e01db86f56aa5ecce1bc84a00","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/4337/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/4337/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4337/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppet/statuses/efc5886cfa904f900587c46e7f88cdcd56089de9","head":{"label":"asasfu:feature/autorelation_defined_types","ref":"feature/autorelation_defined_types","sha":"efc5886cfa904f900587c46e7f88cdcd56089de9","user":{"login":"asasfu","id":11634602,"avatar_url":"https://avatars.githubusercontent.com/u/11634602?v=3","gravatar_id":"","url":"https://api.github.com/users/asasfu","html_url":"https://github.com/asasfu","followers_url":"https://api.github.com/users/asasfu/followers","following_url":"https://api.github.com/users/asasfu/following{/other_user}","gists_url":"https://api.github.com/users/asasfu/gists{/gist_id}","starred_url":"https://api.github.com/users/asasfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asasfu/subscriptions","organizations_url":"https://api.github.com/users/asasfu/orgs","repos_url":"https://api.github.com/users/asasfu/repos","events_url":"https://api.github.com/users/asasfu/events{/privacy}","received_events_url":"https://api.github.com/users/asasfu/received_events","type":"User","site_admin":false},"repo":{"id":43866878,"name":"puppet","full_name":"asasfu/puppet","owner":{"login":"asasfu","id":11634602,"avatar_url":"https://avatars.githubusercontent.com/u/11634602?v=3","gravatar_id":"","url":"https://api.github.com/users/asasfu","html_url":"https://github.com/asasfu","followers_url":"https://api.github.com/users/asasfu/followers","following_url":"https://api.github.com/users/asasfu/following{/other_user}","gists_url":"https://api.github.com/users/asasfu/gists{/gist_id}","starred_url":"https://api.github.com/users/asasfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asasfu/subscriptions","organizations_url":"https://api.github.com/users/asasfu/orgs","repos_url":"https://api.github.com/users/asasfu/repos","events_url":"https://api.github.com/users/asasfu/events{/privacy}","received_events_url":"https://api.github.com/users/asasfu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asasfu/puppet","description":"Server automation framework and application","fork":true,"url":"https://api.github.com/repos/asasfu/puppet","forks_url":"https://api.github.com/repos/asasfu/puppet/forks","keys_url":"https://api.github.com/repos/asasfu/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asasfu/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asasfu/puppet/teams","hooks_url":"https://api.github.com/repos/asasfu/puppet/hooks","issue_events_url":"https://api.github.com/repos/asasfu/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/asasfu/puppet/events","assignees_url":"https://api.github.com/repos/asasfu/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/asasfu/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/asasfu/puppet/tags","blobs_url":"https://api.github.com/repos/asasfu/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asasfu/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asasfu/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/asasfu/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asasfu/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/asasfu/puppet/languages","stargazers_url":"https://api.github.com/repos/asasfu/puppet/stargazers","contributors_url":"https://api.github.com/repos/asasfu/puppet/contributors","subscribers_url":"https://api.github.com/repos/asasfu/puppet/subscribers","subscription_url":"https://api.github.com/repos/asasfu/puppet/subscription","commits_url":"https://api.github.com/repos/asasfu/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/asasfu/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/asasfu/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/asasfu/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/asasfu/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/asasfu/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asasfu/puppet/merges","archive_url":"https://api.github.com/repos/asasfu/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asasfu/puppet/downloads","issues_url":"https://api.github.com/repos/asasfu/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/asasfu/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/asasfu/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/asasfu/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asasfu/puppet/labels{/name}","releases_url":"https://api.github.com/repos/asasfu/puppet/releases{/id}","created_at":"2015-10-08T06:20:28Z","updated_at":"2015-10-08T06:20:43Z","pushed_at":"2015-10-13T16:35:50Z","git_url":"git://github.com/asasfu/puppet.git","ssh_url":"git@github.com:asasfu/puppet.git","clone_url":"https://github.com/asasfu/puppet.git","svn_url":"https://github.com/asasfu/puppet","homepage":"https://puppetlabs.com/puppet/what-is-puppet","size":119934,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"64a0cded8f51c917f3b406366247d96a46632c3b","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":910744,"name":"puppet","full_name":"puppetlabs/puppet","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppet","description":"Server automation framework and application","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppet","forks_url":"https://api.github.com/repos/puppetlabs/puppet/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppet/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppet/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppet/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppet/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppet/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppet/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppet/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppet/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppet/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppet/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppet/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppet/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppet/releases{/id}","created_at":"2010-09-14T19:26:44Z","updated_at":"2015-10-13T16:05:40Z","pushed_at":"2015-10-13T16:57:20Z","git_url":"git://github.com/puppetlabs/puppet.git","ssh_url":"git@github.com:puppetlabs/puppet.git","clone_url":"https://github.com/puppetlabs/puppet.git","svn_url":"https://github.com/puppetlabs/puppet","homepage":"https://puppetlabs.com/puppet/what-is-puppet","size":119934,"stargazers_count":3585,"watchers_count":3585,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1495,"mirror_url":null,"open_issues_count":40,"forks":1495,"open_issues":40,"watchers":3585,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/4337"},"html":{"href":"https://github.com/puppetlabs/puppet/pull/4337"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/4337"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/4337/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/4337/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/4337/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppet/statuses/efc5886cfa904f900587c46e7f88cdcd56089de9"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":16,"deletions":2,"changed_files":2}}