{"action":"closed","number":82,"pull_request":{"url":"https://api.github.com/repos/infobloxopen/themis/pulls/82","id":147330238,"html_url":"https://github.com/infobloxopen/themis/pull/82","diff_url":"https://github.com/infobloxopen/themis/pull/82.diff","patch_url":"https://github.com/infobloxopen/themis/pull/82.patch","issue_url":"https://api.github.com/repos/infobloxopen/themis/issues/82","number":82,"state":"closed","locked":false,"title":"Implement JSON AST parser","user":{"login":"mstaneuka","id":19997514,"avatar_url":"https://avatars0.githubusercontent.com/u/19997514?v=4","gravatar_id":"","url":"https://api.github.com/users/mstaneuka","html_url":"https://github.com/mstaneuka","followers_url":"https://api.github.com/users/mstaneuka/followers","following_url":"https://api.github.com/users/mstaneuka/following{/other_user}","gists_url":"https://api.github.com/users/mstaneuka/gists{/gist_id}","starred_url":"https://api.github.com/users/mstaneuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstaneuka/subscriptions","organizations_url":"https://api.github.com/users/mstaneuka/orgs","repos_url":"https://api.github.com/users/mstaneuka/repos","events_url":"https://api.github.com/users/mstaneuka/events{/privacy}","received_events_url":"https://api.github.com/users/mstaneuka/received_events","type":"User","site_admin":false},"body":"This is initial PR for JSON AST parser. It works, reduce memory more than 5 times and format configurable from PDP server (-pfmt option). \r\n\r\nThere are several points that need to be improved.\r\n1) Whereas policies and rules parsed as they come from the stream, some objects that assumed to be small are parsed as whole (algorithm, rule, obligation, condition etc).\r\n2) Error messages format for jast looks not good: jcon helpers are used to process stream and it leads to incompatibility between jcon.boundError and ast.boundError (they have private bind methods)\r\n3) jcon/helpers should be moved to separate package.\r\n\r\nI'll proceed with these improvements.","created_at":"2017-10-18T15:16:43Z","updated_at":"2017-10-26T15:24:32Z","closed_at":"2017-10-26T15:24:32Z","merged_at":"2017-10-26T15:24:32Z","merge_commit_sha":"cb805242789735dbead4b4bdcbdcff72db9ac760","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/infobloxopen/themis/pulls/82/commits","review_comments_url":"https://api.github.com/repos/infobloxopen/themis/pulls/82/comments","review_comment_url":"https://api.github.com/repos/infobloxopen/themis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/infobloxopen/themis/issues/82/comments","statuses_url":"https://api.github.com/repos/infobloxopen/themis/statuses/15643265be533ce729d145212b924797b6d0b593","head":{"label":"mstaneuka:y2j","ref":"y2j","sha":"15643265be533ce729d145212b924797b6d0b593","user":{"login":"mstaneuka","id":19997514,"avatar_url":"https://avatars0.githubusercontent.com/u/19997514?v=4","gravatar_id":"","url":"https://api.github.com/users/mstaneuka","html_url":"https://github.com/mstaneuka","followers_url":"https://api.github.com/users/mstaneuka/followers","following_url":"https://api.github.com/users/mstaneuka/following{/other_user}","gists_url":"https://api.github.com/users/mstaneuka/gists{/gist_id}","starred_url":"https://api.github.com/users/mstaneuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstaneuka/subscriptions","organizations_url":"https://api.github.com/users/mstaneuka/orgs","repos_url":"https://api.github.com/users/mstaneuka/repos","events_url":"https://api.github.com/users/mstaneuka/events{/privacy}","received_events_url":"https://api.github.com/users/mstaneuka/received_events","type":"User","site_admin":false},"repo":{"id":93393403,"name":"themis","full_name":"mstaneuka/themis","owner":{"login":"mstaneuka","id":19997514,"avatar_url":"https://avatars0.githubusercontent.com/u/19997514?v=4","gravatar_id":"","url":"https://api.github.com/users/mstaneuka","html_url":"https://github.com/mstaneuka","followers_url":"https://api.github.com/users/mstaneuka/followers","following_url":"https://api.github.com/users/mstaneuka/following{/other_user}","gists_url":"https://api.github.com/users/mstaneuka/gists{/gist_id}","starred_url":"https://api.github.com/users/mstaneuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstaneuka/subscriptions","organizations_url":"https://api.github.com/users/mstaneuka/orgs","repos_url":"https://api.github.com/users/mstaneuka/repos","events_url":"https://api.github.com/users/mstaneuka/events{/privacy}","received_events_url":"https://api.github.com/users/mstaneuka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mstaneuka/themis","description":null,"fork":true,"url":"https://api.github.com/repos/mstaneuka/themis","forks_url":"https://api.github.com/repos/mstaneuka/themis/forks","keys_url":"https://api.github.com/repos/mstaneuka/themis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mstaneuka/themis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mstaneuka/themis/teams","hooks_url":"https://api.github.com/repos/mstaneuka/themis/hooks","issue_events_url":"https://api.github.com/repos/mstaneuka/themis/issues/events{/number}","events_url":"https://api.github.com/repos/mstaneuka/themis/events","assignees_url":"https://api.github.com/repos/mstaneuka/themis/assignees{/user}","branches_url":"https://api.github.com/repos/mstaneuka/themis/branches{/branch}","tags_url":"https://api.github.com/repos/mstaneuka/themis/tags","blobs_url":"https://api.github.com/repos/mstaneuka/themis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mstaneuka/themis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mstaneuka/themis/git/refs{/sha}","trees_url":"https://api.github.com/repos/mstaneuka/themis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mstaneuka/themis/statuses/{sha}","languages_url":"https://api.github.com/repos/mstaneuka/themis/languages","stargazers_url":"https://api.github.com/repos/mstaneuka/themis/stargazers","contributors_url":"https://api.github.com/repos/mstaneuka/themis/contributors","subscribers_url":"https://api.github.com/repos/mstaneuka/themis/subscribers","subscription_url":"https://api.github.com/repos/mstaneuka/themis/subscription","commits_url":"https://api.github.com/repos/mstaneuka/themis/commits{/sha}","git_commits_url":"https://api.github.com/repos/mstaneuka/themis/git/commits{/sha}","comments_url":"https://api.github.com/repos/mstaneuka/themis/comments{/number}","issue_comment_url":"https://api.github.com/repos/mstaneuka/themis/issues/comments{/number}","contents_url":"https://api.github.com/repos/mstaneuka/themis/contents/{+path}","compare_url":"https://api.github.com/repos/mstaneuka/themis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mstaneuka/themis/merges","archive_url":"https://api.github.com/repos/mstaneuka/themis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mstaneuka/themis/downloads","issues_url":"https://api.github.com/repos/mstaneuka/themis/issues{/number}","pulls_url":"https://api.github.com/repos/mstaneuka/themis/pulls{/number}","milestones_url":"https://api.github.com/repos/mstaneuka/themis/milestones{/number}","notifications_url":"https://api.github.com/repos/mstaneuka/themis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mstaneuka/themis/labels{/name}","releases_url":"https://api.github.com/repos/mstaneuka/themis/releases{/id}","deployments_url":"https://api.github.com/repos/mstaneuka/themis/deployments","created_at":"2017-06-05T10:38:38Z","updated_at":"2017-06-05T10:38:40Z","pushed_at":"2017-10-25T12:07:39Z","git_url":"git://github.com/mstaneuka/themis.git","ssh_url":"git@github.com:mstaneuka/themis.git","clone_url":"https://github.com/mstaneuka/themis.git","svn_url":"https://github.com/mstaneuka/themis","homepage":null,"size":32153,"stargazers_count":0,"watchers_count":0,"language":"Go","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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"infobloxopen:master","ref":"master","sha":"d73a45cb820d575d667112fcce053d4876eae8ec","user":{"login":"infobloxopen","id":8064882,"avatar_url":"https://avatars0.githubusercontent.com/u/8064882?v=4","gravatar_id":"","url":"https://api.github.com/users/infobloxopen","html_url":"https://github.com/infobloxopen","followers_url":"https://api.github.com/users/infobloxopen/followers","following_url":"https://api.github.com/users/infobloxopen/following{/other_user}","gists_url":"https://api.github.com/users/infobloxopen/gists{/gist_id}","starred_url":"https://api.github.com/users/infobloxopen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infobloxopen/subscriptions","organizations_url":"https://api.github.com/users/infobloxopen/orgs","repos_url":"https://api.github.com/users/infobloxopen/repos","events_url":"https://api.github.com/users/infobloxopen/events{/privacy}","received_events_url":"https://api.github.com/users/infobloxopen/received_events","type":"Organization","site_admin":false},"repo":{"id":81562052,"name":"themis","full_name":"infobloxopen/themis","owner":{"login":"infobloxopen","id":8064882,"avatar_url":"https://avatars0.githubusercontent.com/u/8064882?v=4","gravatar_id":"","url":"https://api.github.com/users/infobloxopen","html_url":"https://github.com/infobloxopen","followers_url":"https://api.github.com/users/infobloxopen/followers","following_url":"https://api.github.com/users/infobloxopen/following{/other_user}","gists_url":"https://api.github.com/users/infobloxopen/gists{/gist_id}","starred_url":"https://api.github.com/users/infobloxopen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infobloxopen/subscriptions","organizations_url":"https://api.github.com/users/infobloxopen/orgs","repos_url":"https://api.github.com/users/infobloxopen/repos","events_url":"https://api.github.com/users/infobloxopen/events{/privacy}","received_events_url":"https://api.github.com/users/infobloxopen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infobloxopen/themis","description":"Themis is a general-purpose policy engine inspired (but not beholden to) the XACML architecture.","fork":false,"url":"https://api.github.com/repos/infobloxopen/themis","forks_url":"https://api.github.com/repos/infobloxopen/themis/forks","keys_url":"https://api.github.com/repos/infobloxopen/themis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infobloxopen/themis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infobloxopen/themis/teams","hooks_url":"https://api.github.com/repos/infobloxopen/themis/hooks","issue_events_url":"https://api.github.com/repos/infobloxopen/themis/issues/events{/number}","events_url":"https://api.github.com/repos/infobloxopen/themis/events","assignees_url":"https://api.github.com/repos/infobloxopen/themis/assignees{/user}","branches_url":"https://api.github.com/repos/infobloxopen/themis/branches{/branch}","tags_url":"https://api.github.com/repos/infobloxopen/themis/tags","blobs_url":"https://api.github.com/repos/infobloxopen/themis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infobloxopen/themis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infobloxopen/themis/git/refs{/sha}","trees_url":"https://api.github.com/repos/infobloxopen/themis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infobloxopen/themis/statuses/{sha}","languages_url":"https://api.github.com/repos/infobloxopen/themis/languages","stargazers_url":"https://api.github.com/repos/infobloxopen/themis/stargazers","contributors_url":"https://api.github.com/repos/infobloxopen/themis/contributors","subscribers_url":"https://api.github.com/repos/infobloxopen/themis/subscribers","subscription_url":"https://api.github.com/repos/infobloxopen/themis/subscription","commits_url":"https://api.github.com/repos/infobloxopen/themis/commits{/sha}","git_commits_url":"https://api.github.com/repos/infobloxopen/themis/git/commits{/sha}","comments_url":"https://api.github.com/repos/infobloxopen/themis/comments{/number}","issue_comment_url":"https://api.github.com/repos/infobloxopen/themis/issues/comments{/number}","contents_url":"https://api.github.com/repos/infobloxopen/themis/contents/{+path}","compare_url":"https://api.github.com/repos/infobloxopen/themis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infobloxopen/themis/merges","archive_url":"https://api.github.com/repos/infobloxopen/themis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infobloxopen/themis/downloads","issues_url":"https://api.github.com/repos/infobloxopen/themis/issues{/number}","pulls_url":"https://api.github.com/repos/infobloxopen/themis/pulls{/number}","milestones_url":"https://api.github.com/repos/infobloxopen/themis/milestones{/number}","notifications_url":"https://api.github.com/repos/infobloxopen/themis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infobloxopen/themis/labels{/name}","releases_url":"https://api.github.com/repos/infobloxopen/themis/releases{/id}","deployments_url":"https://api.github.com/repos/infobloxopen/themis/deployments","created_at":"2017-02-10T12:12:09Z","updated_at":"2017-10-02T13:15:03Z","pushed_at":"2017-10-26T15:24:32Z","git_url":"git://github.com/infobloxopen/themis.git","ssh_url":"git@github.com:infobloxopen/themis.git","clone_url":"https://github.com/infobloxopen/themis.git","svn_url":"https://github.com/infobloxopen/themis","homepage":"","size":32115,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":14,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/infobloxopen/themis/pulls/82"},"html":{"href":"https://github.com/infobloxopen/themis/pull/82"},"issue":{"href":"https://api.github.com/repos/infobloxopen/themis/issues/82"},"comments":{"href":"https://api.github.com/repos/infobloxopen/themis/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/infobloxopen/themis/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/infobloxopen/themis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/infobloxopen/themis/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/infobloxopen/themis/statuses/15643265be533ce729d145212b924797b6d0b593"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"vasili-v","id":3368552,"avatar_url":"https://avatars2.githubusercontent.com/u/3368552?v=4","gravatar_id":"","url":"https://api.github.com/users/vasili-v","html_url":"https://github.com/vasili-v","followers_url":"https://api.github.com/users/vasili-v/followers","following_url":"https://api.github.com/users/vasili-v/following{/other_user}","gists_url":"https://api.github.com/users/vasili-v/gists{/gist_id}","starred_url":"https://api.github.com/users/vasili-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasili-v/subscriptions","organizations_url":"https://api.github.com/users/vasili-v/orgs","repos_url":"https://api.github.com/users/vasili-v/repos","events_url":"https://api.github.com/users/vasili-v/events{/privacy}","received_events_url":"https://api.github.com/users/vasili-v/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"maintainer_can_modify":false,"commits":8,"additions":4638,"deletions":829,"changed_files":50}}
{"actor":{"display_login":"vasili-v"}}