{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/pulls/2","id":62074573,"html_url":"https://github.com/Graylog2/graylog-plugin-pipeline-processor/pull/2","diff_url":"https://github.com/Graylog2/graylog-plugin-pipeline-processor/pull/2.diff","patch_url":"https://github.com/Graylog2/graylog-plugin-pipeline-processor/pull/2.patch","issue_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/issues/2","number":2,"state":"open","locked":false,"title":"improved error handling for function calls","user":{"login":"kroepke","id":52014,"avatar_url":"https://avatars.githubusercontent.com/u/52014?v=3","gravatar_id":"","url":"https://api.github.com/users/kroepke","html_url":"https://github.com/kroepke","followers_url":"https://api.github.com/users/kroepke/followers","following_url":"https://api.github.com/users/kroepke/following{/other_user}","gists_url":"https://api.github.com/users/kroepke/gists{/gist_id}","starred_url":"https://api.github.com/users/kroepke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroepke/subscriptions","organizations_url":"https://api.github.com/users/kroepke/orgs","repos_url":"https://api.github.com/users/kroepke/repos","events_url":"https://api.github.com/users/kroepke/events{/privacy}","received_events_url":"https://api.github.com/users/kroepke/received_events","type":"User","site_admin":false},"body":" - Function::evaluate is now marked as Nullable\r\n - ParameterDescriptor::required is marked as Nullable\r\n - FunctionExpression catches all exceptions and adds them to the evaluation context\r\n - the pipeline interpreter adds eval errors to the message in a special field (gl2_processing_error)\r\n - all expressions properly handle null values and return null values where appropriate\r\n - all built-in functions properly handle null values for required parameters and return null where appropriate\r\n - other null accesses in functions will trigger an exception caught be the function expressions\r\n - added test case for simple null value check","created_at":"2016-03-08T14:01:07Z","updated_at":"2016-03-08T14:01:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/issues/2/comments","statuses_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/statuses/6da6882a769a1c545d3c320369ae9928eddf1154","head":{"label":"Graylog2:error-handling","ref":"error-handling","sha":"6da6882a769a1c545d3c320369ae9928eddf1154","user":{"login":"Graylog2","id":474892,"avatar_url":"https://avatars.githubusercontent.com/u/474892?v=3","gravatar_id":"","url":"https://api.github.com/users/Graylog2","html_url":"https://github.com/Graylog2","followers_url":"https://api.github.com/users/Graylog2/followers","following_url":"https://api.github.com/users/Graylog2/following{/other_user}","gists_url":"https://api.github.com/users/Graylog2/gists{/gist_id}","starred_url":"https://api.github.com/users/Graylog2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graylog2/subscriptions","organizations_url":"https://api.github.com/users/Graylog2/orgs","repos_url":"https://api.github.com/users/Graylog2/repos","events_url":"https://api.github.com/users/Graylog2/events{/privacy}","received_events_url":"https://api.github.com/users/Graylog2/received_events","type":"Organization","site_admin":false},"repo":{"id":50118546,"name":"graylog-plugin-pipeline-processor","full_name":"Graylog2/graylog-plugin-pipeline-processor","owner":{"login":"Graylog2","id":474892,"avatar_url":"https://avatars.githubusercontent.com/u/474892?v=3","gravatar_id":"","url":"https://api.github.com/users/Graylog2","html_url":"https://github.com/Graylog2","followers_url":"https://api.github.com/users/Graylog2/followers","following_url":"https://api.github.com/users/Graylog2/following{/other_user}","gists_url":"https://api.github.com/users/Graylog2/gists{/gist_id}","starred_url":"https://api.github.com/users/Graylog2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graylog2/subscriptions","organizations_url":"https://api.github.com/users/Graylog2/orgs","repos_url":"https://api.github.com/users/Graylog2/repos","events_url":"https://api.github.com/users/Graylog2/events{/privacy}","received_events_url":"https://api.github.com/users/Graylog2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Graylog2/graylog-plugin-pipeline-processor","description":"Graylog Pipeline Message Processor Plugins","fork":false,"url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor","forks_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/forks","keys_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/teams","hooks_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/hooks","issue_events_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/issues/events{/number}","events_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/events","assignees_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/assignees{/user}","branches_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/branches{/branch}","tags_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/tags","blobs_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/statuses/{sha}","languages_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/languages","stargazers_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/stargazers","contributors_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/contributors","subscribers_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/subscribers","subscription_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/subscription","commits_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/contents/{+path}","compare_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/merges","archive_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/downloads","issues_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/issues{/number}","pulls_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/pulls{/number}","milestones_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/milestones{/number}","notifications_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/labels{/name}","releases_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/releases{/id}","deployments_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/deployments","created_at":"2016-01-21T15:59:14Z","updated_at":"2016-03-04T18:02:48Z","pushed_at":"2016-03-08T13:59:48Z","git_url":"git://github.com/Graylog2/graylog-plugin-pipeline-processor.git","ssh_url":"git@github.com:Graylog2/graylog-plugin-pipeline-processor.git","clone_url":"https://github.com/Graylog2/graylog-plugin-pipeline-processor.git","svn_url":"https://github.com/Graylog2/graylog-plugin-pipeline-processor","homepage":null,"size":437,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Graylog2:master","ref":"master","sha":"4cbb4e0d8d938d97e414fe6cbbb78d9540b7244a","user":{"login":"Graylog2","id":474892,"avatar_url":"https://avatars.githubusercontent.com/u/474892?v=3","gravatar_id":"","url":"https://api.github.com/users/Graylog2","html_url":"https://github.com/Graylog2","followers_url":"https://api.github.com/users/Graylog2/followers","following_url":"https://api.github.com/users/Graylog2/following{/other_user}","gists_url":"https://api.github.com/users/Graylog2/gists{/gist_id}","starred_url":"https://api.github.com/users/Graylog2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graylog2/subscriptions","organizations_url":"https://api.github.com/users/Graylog2/orgs","repos_url":"https://api.github.com/users/Graylog2/repos","events_url":"https://api.github.com/users/Graylog2/events{/privacy}","received_events_url":"https://api.github.com/users/Graylog2/received_events","type":"Organization","site_admin":false},"repo":{"id":50118546,"name":"graylog-plugin-pipeline-processor","full_name":"Graylog2/graylog-plugin-pipeline-processor","owner":{"login":"Graylog2","id":474892,"avatar_url":"https://avatars.githubusercontent.com/u/474892?v=3","gravatar_id":"","url":"https://api.github.com/users/Graylog2","html_url":"https://github.com/Graylog2","followers_url":"https://api.github.com/users/Graylog2/followers","following_url":"https://api.github.com/users/Graylog2/following{/other_user}","gists_url":"https://api.github.com/users/Graylog2/gists{/gist_id}","starred_url":"https://api.github.com/users/Graylog2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graylog2/subscriptions","organizations_url":"https://api.github.com/users/Graylog2/orgs","repos_url":"https://api.github.com/users/Graylog2/repos","events_url":"https://api.github.com/users/Graylog2/events{/privacy}","received_events_url":"https://api.github.com/users/Graylog2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Graylog2/graylog-plugin-pipeline-processor","description":"Graylog Pipeline Message Processor Plugins","fork":false,"url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor","forks_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/forks","keys_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/teams","hooks_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/hooks","issue_events_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/issues/events{/number}","events_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/events","assignees_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/assignees{/user}","branches_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/branches{/branch}","tags_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/tags","blobs_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/statuses/{sha}","languages_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/languages","stargazers_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/stargazers","contributors_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/contributors","subscribers_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/subscribers","subscription_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/subscription","commits_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/contents/{+path}","compare_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/merges","archive_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/downloads","issues_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/issues{/number}","pulls_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/pulls{/number}","milestones_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/milestones{/number}","notifications_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/labels{/name}","releases_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/releases{/id}","deployments_url":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/deployments","created_at":"2016-01-21T15:59:14Z","updated_at":"2016-03-04T18:02:48Z","pushed_at":"2016-03-08T13:59:48Z","git_url":"git://github.com/Graylog2/graylog-plugin-pipeline-processor.git","ssh_url":"git@github.com:Graylog2/graylog-plugin-pipeline-processor.git","clone_url":"https://github.com/Graylog2/graylog-plugin-pipeline-processor.git","svn_url":"https://github.com/Graylog2/graylog-plugin-pipeline-processor","homepage":null,"size":437,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/pulls/2"},"html":{"href":"https://github.com/Graylog2/graylog-plugin-pipeline-processor/pull/2"},"issue":{"href":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/issues/2"},"comments":{"href":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Graylog2/graylog-plugin-pipeline-processor/statuses/6da6882a769a1c545d3c320369ae9928eddf1154"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":162,"deletions":11,"changed_files":20}}