{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/pulls/4","id":33171660,"html_url":"https://github.com/FlowForwarding/of_msg_lib/pull/4","diff_url":"https://github.com/FlowForwarding/of_msg_lib/pull/4.diff","patch_url":"https://github.com/FlowForwarding/of_msg_lib/pull/4.patch","issue_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/issues/4","number":4,"state":"open","locked":false,"title":"Implicitly add required fields when matching with a mask","user":{"login":"legoscia","id":82455,"avatar_url":"https://avatars.githubusercontent.com/u/82455?v=3","gravatar_id":"","url":"https://api.github.com/users/legoscia","html_url":"https://github.com/legoscia","followers_url":"https://api.github.com/users/legoscia/followers","following_url":"https://api.github.com/users/legoscia/following{/other_user}","gists_url":"https://api.github.com/users/legoscia/gists{/gist_id}","starred_url":"https://api.github.com/users/legoscia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legoscia/subscriptions","organizations_url":"https://api.github.com/users/legoscia/orgs","repos_url":"https://api.github.com/users/legoscia/repos","events_url":"https://api.github.com/users/legoscia/events{/privacy}","received_events_url":"https://api.github.com/users/legoscia/received_events","type":"User","site_admin":false},"body":"This was already done for matches not specifying a mask.  Let's be\r\nconsistent and do it in both cases.\r\n\r\nAdd test cases for implicitly added fields for both cases, with and\r\nwithout a mask.","created_at":"2015-04-13T15:01:37Z","updated_at":"2015-04-13T15:01:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/pulls/4/commits","review_comments_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/pulls/4/comments","review_comment_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/issues/4/comments","statuses_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/statuses/dd9229215be79ccd07965c017c0448e9545d0219","head":{"label":"FlowForwarding:add_prereqs_for_masked_matches","ref":"add_prereqs_for_masked_matches","sha":"dd9229215be79ccd07965c017c0448e9545d0219","user":{"login":"FlowForwarding","id":1731563,"avatar_url":"https://avatars.githubusercontent.com/u/1731563?v=3","gravatar_id":"","url":"https://api.github.com/users/FlowForwarding","html_url":"https://github.com/FlowForwarding","followers_url":"https://api.github.com/users/FlowForwarding/followers","following_url":"https://api.github.com/users/FlowForwarding/following{/other_user}","gists_url":"https://api.github.com/users/FlowForwarding/gists{/gist_id}","starred_url":"https://api.github.com/users/FlowForwarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlowForwarding/subscriptions","organizations_url":"https://api.github.com/users/FlowForwarding/orgs","repos_url":"https://api.github.com/users/FlowForwarding/repos","events_url":"https://api.github.com/users/FlowForwarding/events{/privacy}","received_events_url":"https://api.github.com/users/FlowForwarding/received_events","type":"Organization","site_admin":false},"repo":{"id":13778896,"name":"of_msg_lib","full_name":"FlowForwarding/of_msg_lib","owner":{"login":"FlowForwarding","id":1731563,"avatar_url":"https://avatars.githubusercontent.com/u/1731563?v=3","gravatar_id":"","url":"https://api.github.com/users/FlowForwarding","html_url":"https://github.com/FlowForwarding","followers_url":"https://api.github.com/users/FlowForwarding/followers","following_url":"https://api.github.com/users/FlowForwarding/following{/other_user}","gists_url":"https://api.github.com/users/FlowForwarding/gists{/gist_id}","starred_url":"https://api.github.com/users/FlowForwarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlowForwarding/subscriptions","organizations_url":"https://api.github.com/users/FlowForwarding/orgs","repos_url":"https://api.github.com/users/FlowForwarding/repos","events_url":"https://api.github.com/users/FlowForwarding/events{/privacy}","received_events_url":"https://api.github.com/users/FlowForwarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FlowForwarding/of_msg_lib","description":"OpenFlow Message Library","fork":false,"url":"https://api.github.com/repos/FlowForwarding/of_msg_lib","forks_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/forks","keys_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/teams","hooks_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/hooks","issue_events_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/issues/events{/number}","events_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/events","assignees_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/assignees{/user}","branches_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/branches{/branch}","tags_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/tags","blobs_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/statuses/{sha}","languages_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/languages","stargazers_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/stargazers","contributors_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/contributors","subscribers_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/subscribers","subscription_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/subscription","commits_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/contents/{+path}","compare_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/merges","archive_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/downloads","issues_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/issues{/number}","pulls_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/pulls{/number}","milestones_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/milestones{/number}","notifications_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/labels{/name}","releases_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/releases{/id}","created_at":"2013-10-22T16:22:48Z","updated_at":"2015-01-10T16:35:37Z","pushed_at":"2015-04-13T15:00:54Z","git_url":"git://github.com/FlowForwarding/of_msg_lib.git","ssh_url":"git@github.com:FlowForwarding/of_msg_lib.git","clone_url":"https://github.com/FlowForwarding/of_msg_lib.git","svn_url":"https://github.com/FlowForwarding/of_msg_lib","homepage":null,"size":374,"stargazers_count":2,"watchers_count":2,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"FlowForwarding:master","ref":"master","sha":"9faf3a2cb3c8e6f33dd17385b0aad75eae6d5c46","user":{"login":"FlowForwarding","id":1731563,"avatar_url":"https://avatars.githubusercontent.com/u/1731563?v=3","gravatar_id":"","url":"https://api.github.com/users/FlowForwarding","html_url":"https://github.com/FlowForwarding","followers_url":"https://api.github.com/users/FlowForwarding/followers","following_url":"https://api.github.com/users/FlowForwarding/following{/other_user}","gists_url":"https://api.github.com/users/FlowForwarding/gists{/gist_id}","starred_url":"https://api.github.com/users/FlowForwarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlowForwarding/subscriptions","organizations_url":"https://api.github.com/users/FlowForwarding/orgs","repos_url":"https://api.github.com/users/FlowForwarding/repos","events_url":"https://api.github.com/users/FlowForwarding/events{/privacy}","received_events_url":"https://api.github.com/users/FlowForwarding/received_events","type":"Organization","site_admin":false},"repo":{"id":13778896,"name":"of_msg_lib","full_name":"FlowForwarding/of_msg_lib","owner":{"login":"FlowForwarding","id":1731563,"avatar_url":"https://avatars.githubusercontent.com/u/1731563?v=3","gravatar_id":"","url":"https://api.github.com/users/FlowForwarding","html_url":"https://github.com/FlowForwarding","followers_url":"https://api.github.com/users/FlowForwarding/followers","following_url":"https://api.github.com/users/FlowForwarding/following{/other_user}","gists_url":"https://api.github.com/users/FlowForwarding/gists{/gist_id}","starred_url":"https://api.github.com/users/FlowForwarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlowForwarding/subscriptions","organizations_url":"https://api.github.com/users/FlowForwarding/orgs","repos_url":"https://api.github.com/users/FlowForwarding/repos","events_url":"https://api.github.com/users/FlowForwarding/events{/privacy}","received_events_url":"https://api.github.com/users/FlowForwarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FlowForwarding/of_msg_lib","description":"OpenFlow Message Library","fork":false,"url":"https://api.github.com/repos/FlowForwarding/of_msg_lib","forks_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/forks","keys_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/teams","hooks_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/hooks","issue_events_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/issues/events{/number}","events_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/events","assignees_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/assignees{/user}","branches_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/branches{/branch}","tags_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/tags","blobs_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/statuses/{sha}","languages_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/languages","stargazers_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/stargazers","contributors_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/contributors","subscribers_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/subscribers","subscription_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/subscription","commits_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/contents/{+path}","compare_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/merges","archive_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/downloads","issues_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/issues{/number}","pulls_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/pulls{/number}","milestones_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/milestones{/number}","notifications_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/labels{/name}","releases_url":"https://api.github.com/repos/FlowForwarding/of_msg_lib/releases{/id}","created_at":"2013-10-22T16:22:48Z","updated_at":"2015-01-10T16:35:37Z","pushed_at":"2015-04-13T15:00:54Z","git_url":"git://github.com/FlowForwarding/of_msg_lib.git","ssh_url":"git@github.com:FlowForwarding/of_msg_lib.git","clone_url":"https://github.com/FlowForwarding/of_msg_lib.git","svn_url":"https://github.com/FlowForwarding/of_msg_lib","homepage":null,"size":374,"stargazers_count":2,"watchers_count":2,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FlowForwarding/of_msg_lib/pulls/4"},"html":{"href":"https://github.com/FlowForwarding/of_msg_lib/pull/4"},"issue":{"href":"https://api.github.com/repos/FlowForwarding/of_msg_lib/issues/4"},"comments":{"href":"https://api.github.com/repos/FlowForwarding/of_msg_lib/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/FlowForwarding/of_msg_lib/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/FlowForwarding/of_msg_lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FlowForwarding/of_msg_lib/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/FlowForwarding/of_msg_lib/statuses/dd9229215be79ccd07965c017c0448e9545d0219"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":96,"deletions":2,"changed_files":4}}