{"action":"opened","number":1506,"pull_request":{"url":"https://api.github.com/repos/grpc/grpc-java/pulls/1506","id":61442543,"html_url":"https://github.com/grpc/grpc-java/pull/1506","diff_url":"https://github.com/grpc/grpc-java/pull/1506.diff","patch_url":"https://github.com/grpc/grpc-java/pull/1506.patch","issue_url":"https://api.github.com/repos/grpc/grpc-java/issues/1506","number":1506,"state":"open","locked":false,"title":"Server Call Attributes PoC","user":{"login":"lukaszx0","id":11562,"avatar_url":"https://avatars.githubusercontent.com/u/11562?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaszx0","html_url":"https://github.com/lukaszx0","followers_url":"https://api.github.com/users/lukaszx0/followers","following_url":"https://api.github.com/users/lukaszx0/following{/other_user}","gists_url":"https://api.github.com/users/lukaszx0/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaszx0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaszx0/subscriptions","organizations_url":"https://api.github.com/users/lukaszx0/orgs","repos_url":"https://api.github.com/users/lukaszx0/repos","events_url":"https://api.github.com/users/lukaszx0/events{/privacy}","received_events_url":"https://api.github.com/users/lukaszx0/received_events","type":"User","site_admin":false},"body":"I took a stab at adding attributes to `ServerCall` today. We need this in our framework to enforce ACL which are based on TLS info.\r\n\r\nIt's a rough PoC without tests, basically showing what API I come up with. I know that this is something that @zhangkun83 has been working on and thinking about something similar in terms of design.\r\n\r\nI'm happy to work on this feature if there we'll be agreement on API design. Let me know what you guys think!\r\n\r\ncc @ejona86 @jhump @ericzundel","created_at":"2016-03-02T18:14:20Z","updated_at":"2016-03-02T18:14:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/grpc/grpc-java/pulls/1506/commits","review_comments_url":"https://api.github.com/repos/grpc/grpc-java/pulls/1506/comments","review_comment_url":"https://api.github.com/repos/grpc/grpc-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grpc/grpc-java/issues/1506/comments","statuses_url":"https://api.github.com/repos/grpc/grpc-java/statuses/43d4b4e83637d367e02bdfaaf97db7c7070e04da","head":{"label":"lukaszx0:server-call-attrs","ref":"server-call-attrs","sha":"43d4b4e83637d367e02bdfaaf97db7c7070e04da","user":{"login":"lukaszx0","id":11562,"avatar_url":"https://avatars.githubusercontent.com/u/11562?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaszx0","html_url":"https://github.com/lukaszx0","followers_url":"https://api.github.com/users/lukaszx0/followers","following_url":"https://api.github.com/users/lukaszx0/following{/other_user}","gists_url":"https://api.github.com/users/lukaszx0/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaszx0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaszx0/subscriptions","organizations_url":"https://api.github.com/users/lukaszx0/orgs","repos_url":"https://api.github.com/users/lukaszx0/repos","events_url":"https://api.github.com/users/lukaszx0/events{/privacy}","received_events_url":"https://api.github.com/users/lukaszx0/received_events","type":"User","site_admin":false},"repo":{"id":51521701,"name":"grpc-java","full_name":"lukaszx0/grpc-java","owner":{"login":"lukaszx0","id":11562,"avatar_url":"https://avatars.githubusercontent.com/u/11562?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaszx0","html_url":"https://github.com/lukaszx0","followers_url":"https://api.github.com/users/lukaszx0/followers","following_url":"https://api.github.com/users/lukaszx0/following{/other_user}","gists_url":"https://api.github.com/users/lukaszx0/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaszx0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaszx0/subscriptions","organizations_url":"https://api.github.com/users/lukaszx0/orgs","repos_url":"https://api.github.com/users/lukaszx0/repos","events_url":"https://api.github.com/users/lukaszx0/events{/privacy}","received_events_url":"https://api.github.com/users/lukaszx0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukaszx0/grpc-java","description":"The Java gRPC implementation. HTTP/2 based RPC","fork":true,"url":"https://api.github.com/repos/lukaszx0/grpc-java","forks_url":"https://api.github.com/repos/lukaszx0/grpc-java/forks","keys_url":"https://api.github.com/repos/lukaszx0/grpc-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukaszx0/grpc-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukaszx0/grpc-java/teams","hooks_url":"https://api.github.com/repos/lukaszx0/grpc-java/hooks","issue_events_url":"https://api.github.com/repos/lukaszx0/grpc-java/issues/events{/number}","events_url":"https://api.github.com/repos/lukaszx0/grpc-java/events","assignees_url":"https://api.github.com/repos/lukaszx0/grpc-java/assignees{/user}","branches_url":"https://api.github.com/repos/lukaszx0/grpc-java/branches{/branch}","tags_url":"https://api.github.com/repos/lukaszx0/grpc-java/tags","blobs_url":"https://api.github.com/repos/lukaszx0/grpc-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukaszx0/grpc-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukaszx0/grpc-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukaszx0/grpc-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukaszx0/grpc-java/statuses/{sha}","languages_url":"https://api.github.com/repos/lukaszx0/grpc-java/languages","stargazers_url":"https://api.github.com/repos/lukaszx0/grpc-java/stargazers","contributors_url":"https://api.github.com/repos/lukaszx0/grpc-java/contributors","subscribers_url":"https://api.github.com/repos/lukaszx0/grpc-java/subscribers","subscription_url":"https://api.github.com/repos/lukaszx0/grpc-java/subscription","commits_url":"https://api.github.com/repos/lukaszx0/grpc-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukaszx0/grpc-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukaszx0/grpc-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukaszx0/grpc-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukaszx0/grpc-java/contents/{+path}","compare_url":"https://api.github.com/repos/lukaszx0/grpc-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukaszx0/grpc-java/merges","archive_url":"https://api.github.com/repos/lukaszx0/grpc-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukaszx0/grpc-java/downloads","issues_url":"https://api.github.com/repos/lukaszx0/grpc-java/issues{/number}","pulls_url":"https://api.github.com/repos/lukaszx0/grpc-java/pulls{/number}","milestones_url":"https://api.github.com/repos/lukaszx0/grpc-java/milestones{/number}","notifications_url":"https://api.github.com/repos/lukaszx0/grpc-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukaszx0/grpc-java/labels{/name}","releases_url":"https://api.github.com/repos/lukaszx0/grpc-java/releases{/id}","deployments_url":"https://api.github.com/repos/lukaszx0/grpc-java/deployments","created_at":"2016-02-11T14:56:45Z","updated_at":"2016-02-11T14:56:46Z","pushed_at":"2016-03-02T18:07:58Z","git_url":"git://github.com/lukaszx0/grpc-java.git","ssh_url":"git@github.com:lukaszx0/grpc-java.git","clone_url":"https://github.com/lukaszx0/grpc-java.git","svn_url":"https://github.com/lukaszx0/grpc-java","homepage":"http://grpc.io","size":6124,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"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":"grpc:master","ref":"master","sha":"8e1fba7c906fa935abdde1eac5d29e606cce66cf","user":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"repo":{"id":27729926,"name":"grpc-java","full_name":"grpc/grpc-java","owner":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grpc/grpc-java","description":"The Java gRPC implementation. HTTP/2 based RPC","fork":false,"url":"https://api.github.com/repos/grpc/grpc-java","forks_url":"https://api.github.com/repos/grpc/grpc-java/forks","keys_url":"https://api.github.com/repos/grpc/grpc-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grpc/grpc-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grpc/grpc-java/teams","hooks_url":"https://api.github.com/repos/grpc/grpc-java/hooks","issue_events_url":"https://api.github.com/repos/grpc/grpc-java/issues/events{/number}","events_url":"https://api.github.com/repos/grpc/grpc-java/events","assignees_url":"https://api.github.com/repos/grpc/grpc-java/assignees{/user}","branches_url":"https://api.github.com/repos/grpc/grpc-java/branches{/branch}","tags_url":"https://api.github.com/repos/grpc/grpc-java/tags","blobs_url":"https://api.github.com/repos/grpc/grpc-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grpc/grpc-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grpc/grpc-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/grpc/grpc-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grpc/grpc-java/statuses/{sha}","languages_url":"https://api.github.com/repos/grpc/grpc-java/languages","stargazers_url":"https://api.github.com/repos/grpc/grpc-java/stargazers","contributors_url":"https://api.github.com/repos/grpc/grpc-java/contributors","subscribers_url":"https://api.github.com/repos/grpc/grpc-java/subscribers","subscription_url":"https://api.github.com/repos/grpc/grpc-java/subscription","commits_url":"https://api.github.com/repos/grpc/grpc-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/grpc/grpc-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/grpc/grpc-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/grpc/grpc-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/grpc/grpc-java/contents/{+path}","compare_url":"https://api.github.com/repos/grpc/grpc-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grpc/grpc-java/merges","archive_url":"https://api.github.com/repos/grpc/grpc-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grpc/grpc-java/downloads","issues_url":"https://api.github.com/repos/grpc/grpc-java/issues{/number}","pulls_url":"https://api.github.com/repos/grpc/grpc-java/pulls{/number}","milestones_url":"https://api.github.com/repos/grpc/grpc-java/milestones{/number}","notifications_url":"https://api.github.com/repos/grpc/grpc-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grpc/grpc-java/labels{/name}","releases_url":"https://api.github.com/repos/grpc/grpc-java/releases{/id}","deployments_url":"https://api.github.com/repos/grpc/grpc-java/deployments","created_at":"2014-12-08T19:00:00Z","updated_at":"2016-03-02T13:39:57Z","pushed_at":"2016-03-02T18:10:48Z","git_url":"git://github.com/grpc/grpc-java.git","ssh_url":"git@github.com:grpc/grpc-java.git","clone_url":"https://github.com/grpc/grpc-java.git","svn_url":"https://github.com/grpc/grpc-java","homepage":"http://grpc.io","size":21148,"stargazers_count":1171,"watchers_count":1171,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":302,"mirror_url":null,"open_issues_count":132,"forks":302,"open_issues":132,"watchers":1171,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/1506"},"html":{"href":"https://github.com/grpc/grpc-java/pull/1506"},"issue":{"href":"https://api.github.com/repos/grpc/grpc-java/issues/1506"},"comments":{"href":"https://api.github.com/repos/grpc/grpc-java/issues/1506/comments"},"review_comments":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/1506/comments"},"review_comment":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/1506/commits"},"statuses":{"href":"https://api.github.com/repos/grpc/grpc-java/statuses/43d4b4e83637d367e02bdfaaf97db7c7070e04da"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":77,"deletions":0,"changed_files":9}}